QTfrontend/pageoptions.cpp
changeset 6009 14f6fc9869f2
parent 5878 404ca990793a
child 6024 d38da7c19e43
equal deleted inserted replaced
6008:215f0c9719e3 6009:14f6fc9869f2
   399         }
   399         }
   400 
   400 
   401     BtnSaveOptions = addButton(":/res/Save.png", pageLayout, 2, 2, true);
   401     BtnSaveOptions = addButton(":/res/Save.png", pageLayout, 2, 2, true);
   402     BtnSaveOptions->setStyleSheet("QPushButton{margin: 12px 0px 12px 0px;}");
   402     BtnSaveOptions->setStyleSheet("QPushButton{margin: 12px 0px 12px 0px;}");
   403 
   403 
       
   404 
   404     BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true);
   405     BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true);
   405     BtnBack->setFixedHeight(BtnSaveOptions->height());
   406     BtnBack->setFixedHeight(BtnSaveOptions->height());
   406     BtnBack->setFixedWidth(BtnBack->width()+2);
   407     BtnBack->setFixedWidth(BtnBack->width()+2);
   407     BtnBack->setStyleSheet("QPushButton{margin: 22px 0 9px 2px;}");
   408     BtnBack->setStyleSheet("QPushButton{margin: 22px 0 9px 2px;}");
       
   409     connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack()));
   408 
   410 
   409     previousQuality = this->SLQuality->value();
   411     previousQuality = this->SLQuality->value();
   410     previousResolutionIndex = this->CBResolution->currentIndex();
   412     previousResolutionIndex = this->CBResolution->currentIndex();
   411     previousFullscreenValue = this->CBFullscreen->isChecked();
   413     previousFullscreenValue = this->CBFullscreen->isChecked();
   412 }
   414 }