QTfrontend/ui/page/pageoptions.cpp
changeset 15247 647157250713
parent 15160 4c13bc464c61
child 15283 c4fd2813b127
child 15438 e7c059ac6e54
equal deleted inserted replaced
15246:4aa19b21707d 15247:647157250713
   280 
   280 
   281             lblWinScreenRes = new QLabel(groupGame);
   281             lblWinScreenRes = new QLabel(groupGame);
   282             lblWinScreenRes->setText(QLabel::tr("Windowed Resolution"));
   282             lblWinScreenRes->setText(QLabel::tr("Windowed Resolution"));
   283             groupGame->layout()->addWidget(lblWinScreenRes, 2, 0);
   283             groupGame->layout()->addWidget(lblWinScreenRes, 2, 0);
   284 
   284 
   285             winResContainer = new QWidget();
   285             QHBoxLayout * winResLayout = new QHBoxLayout();
   286             QHBoxLayout * winResLayout = new QHBoxLayout(winResContainer);
       
   287             winResLayout->setSpacing(0);
   286             winResLayout->setSpacing(0);
   288             groupGame->layout()->addWidget(winResContainer, 2, 1);
   287             groupGame->layout()->addLayout(winResLayout, 2, 1, 1, 3);
   289 
   288 
   290             QLabel *winLabelX = new QLabel(groupGame);
   289             winLabelX = new QLabel(groupGame);
   291             //: Multiplication sign, to be used between two numbers. Note the “x” is only a dummy character, we recommend to use “×” if your language permits it
   290             //: Multiplication sign, to be used between two numbers. Note the “x” is only a dummy character, we recommend to use “×” if your language permits it
   292             winLabelX->setText(tr("x"));
   291             winLabelX->setText(tr("x"));
   293             winLabelX->setFixedWidth(40);
   292             winLabelX->setFixedWidth(40);
   294             winLabelX->setAlignment(Qt::AlignCenter);
   293             winLabelX->setAlignment(Qt::AlignCenter);
   295 
   294 
   974     Q_UNUSED(state);
   973     Q_UNUSED(state);
   975 
   974 
   976     lblFullScreenRes->setVisible(state);
   975     lblFullScreenRes->setVisible(state);
   977     CBResolution->setVisible(state);
   976     CBResolution->setVisible(state);
   978     lblWinScreenRes->setVisible(!state);
   977     lblWinScreenRes->setVisible(!state);
   979     winResContainer->setVisible(!state);
   978     windowWidthEdit->setVisible(!state);
       
   979     windowHeightEdit->setVisible(!state);
       
   980     winLabelX->setVisible(!state);
   980 
   981 
   981     int index = this->CBStereoMode->currentIndex();
   982     int index = this->CBStereoMode->currentIndex();
   982     if (index != 7 && index != 8 && index != 9)
   983     if (index != 7 && index != 8 && index != 9)
   983         previousFullscreenValue = this->CBFullscreen->isChecked();
   984         previousFullscreenValue = this->CBFullscreen->isChecked();
   984 }
   985 }