QTfrontend/ui/page/pageoptions.cpp
changeset 6525 6c97379c584b
parent 6218 999215ca87d7
child 6574 ec059b55aa72
equal deleted inserted replaced
6524:416fdfb666da 6525:6c97379c584b
   406     return pageLayout;
   406     return pageLayout;
   407 }
   407 }
   408 
   408 
   409 QLayout * PageOptions::footerLayoutDefinition()
   409 QLayout * PageOptions::footerLayoutDefinition()
   410 {
   410 {
   411     QHBoxLayout * bottomLayout = new QHBoxLayout();
   411     return NULL;
   412     btnSave = addButton(":/res/Save.png", bottomLayout, 0, true);
       
   413     btnSave->setStyleSheet("QPushButton{margin: 24px 0 0 0;}");
       
   414     bottomLayout->setAlignment(btnSave, Qt::AlignRight | Qt::AlignBottom);
       
   415     return bottomLayout;
       
   416 }
   412 }
   417 
   413 
   418 void PageOptions::connectSignals()
   414 void PageOptions::connectSignals()
   419 {
   415 {
   420     connect(CBResolution, SIGNAL(currentIndexChanged(int)), this, SLOT(setResolution(int)));
   416     connect(CBResolution, SIGNAL(currentIndexChanged(int)), this, SLOT(setResolution(int)));