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 } |