QTfrontend/ui/page/pageoptions.cpp
changeset 6574 ec059b55aa72
parent 6525 6c97379c584b
child 6575 b92d7c144038
equal deleted inserted replaced
6573:632fa142c2cf 6574:ec059b55aa72
   273             CBFrontendFullscreen = new QCheckBox(AGGroupBox);
   273             CBFrontendFullscreen = new QCheckBox(AGGroupBox);
   274             CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen"));
   274             CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen"));
   275             GBAlayout->addWidget(CBFrontendFullscreen);
   275             GBAlayout->addWidget(CBFrontendFullscreen);
   276 
   276 
   277             CBFrontendEffects = new QCheckBox(AGGroupBox);
   277             CBFrontendEffects = new QCheckBox(AGGroupBox);
   278             CBFrontendEffects->setText(QCheckBox::tr("Frontend effects") + " *");
   278             CBFrontendEffects->setText(QCheckBox::tr("Frontend effects"));
   279             GBAlayout->addWidget(CBFrontendEffects);
   279             GBAlayout->addWidget(CBFrontendEffects);
   280 
   280 
   281             CBEnableFrontendSound = new QCheckBox(AGGroupBox);
   281             CBEnableFrontendSound = new QCheckBox(AGGroupBox);
   282             CBEnableFrontendSound->setText(QCheckBox::tr("Enable frontend sounds"));
   282             CBEnableFrontendSound->setText(QCheckBox::tr("Enable frontend sounds"));
   283             GBAlayout->addWidget(CBEnableFrontendSound);
   283             GBAlayout->addWidget(CBEnableFrontendSound);
   389             hr->setFrameStyle(QFrame::HLine);
   389             hr->setFrameStyle(QFrame::HLine);
   390             hr->setLineWidth(3);
   390             hr->setLineWidth(3);
   391             hr->setFixedHeight(10);
   391             hr->setFixedHeight(10);
   392             GBAlayout->addWidget(hr);
   392             GBAlayout->addWidget(hr);
   393 
   393 
   394             QLabel *restartNote = new QLabel(this);
       
   395             restartNote->setText(QString("* ") + QLabel::tr("Restart game to apply"));
       
   396             restartNote->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
       
   397             GBAlayout->addWidget(restartNote);
       
   398 
       
   399             gbTBLayout->addWidget(AGGroupBox, 0, 1, 3, 1);
   394             gbTBLayout->addWidget(AGGroupBox, 0, 1, 3, 1);
   400         }
   395         }
   401 
   396 
   402     previousQuality = this->SLQuality->value();
   397     previousQuality = this->SLQuality->value();
   403     previousResolutionIndex = this->CBResolution->currentIndex();
   398     previousResolutionIndex = this->CBResolution->currentIndex();