QTfrontend/pages.cpp
changeset 587 74db4115064a
parent 586 ecb6347dfeca
child 588 b2e61fc49e5d
equal deleted inserted replaced
586:ecb6347dfeca 587:74db4115064a
   555 	BtnBack->setText(QPushButton::tr("Back"));
   555 	BtnBack->setText(QPushButton::tr("Back"));
   556 	pageLayout->addWidget(BtnBack, 3, 1);
   556 	pageLayout->addWidget(BtnBack, 3, 1);
   557 
   557 
   558 }
   558 }
   559 
   559 
       
   560 PageTraining::PageTraining(QWidget* parent) : QWidget(parent)
       
   561 {
       
   562 	QFont * font14 = new QFont("MS Shell Dlg", 14);
       
   563 	QGridLayout * pageLayout = new QGridLayout(this);
       
   564 	pageLayout->setMargin(25);
       
   565 	pageLayout->setColumnStretch(0, 1);
       
   566 	pageLayout->setColumnStretch(1, 2);
       
   567 	pageLayout->setColumnStretch(2, 1);
       
   568 
       
   569 	BtnStartTrain = new QPushButton(this);
       
   570 	BtnStartTrain->setFont(*font14);
       
   571 	BtnStartTrain->setText(QPushButton::tr("Go!"));
       
   572 	pageLayout->addWidget(BtnStartTrain, 1, 2);
       
   573 
       
   574 	BtnBack = new QPushButton(this);
       
   575 	BtnBack->setFont(*font14);
       
   576 	BtnBack->setText(QPushButton::tr("Back"));
       
   577 	pageLayout->addWidget(BtnBack, 1, 0);
       
   578 
       
   579 }
       
   580