QTfrontend/pages.cpp
changeset 617 127510b442ca
parent 612 333d095319de
child 632 5e09ae25729f
equal deleted inserted replaced
616:00928b3cf505 617:127510b442ca
   408 {
   408 {
   409 	QFont * font14 = new QFont("MS Shell Dlg", 14);
   409 	QFont * font14 = new QFont("MS Shell Dlg", 14);
   410 	QGridLayout * pageLayout = new QGridLayout(this);
   410 	QGridLayout * pageLayout = new QGridLayout(this);
   411 	pageLayout->setColumnStretch(0, 1);
   411 	pageLayout->setColumnStretch(0, 1);
   412 	pageLayout->setColumnStretch(1, 1);
   412 	pageLayout->setColumnStretch(1, 1);
       
   413 	pageLayout->setColumnStretch(2, 1);
   413 
   414 
   414 	BtnNetSvrStart = new QPushButton(this);
   415 	BtnNetSvrStart = new QPushButton(this);
   415 	BtnNetSvrStart->setFont(*font14);
   416 	BtnNetSvrStart->setFont(*font14);
   416 	BtnNetSvrStart->setText(QPushButton::tr("Start server"));
   417 	BtnNetSvrStart->setText(QPushButton::tr("Start server"));
   417 	pageLayout->addWidget(BtnNetSvrStart, 0, 1);
   418 	pageLayout->addWidget(BtnNetSvrStart, 3, 2);
   418 
   419 
   419 	NNGroupBox = new QGroupBox(this);
   420 	NNGroupBox = new QGroupBox(this);
   420 	NNGroupBox->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
   421 	NNGroupBox->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
   421 	NNGroupBox->setTitle(QGroupBox::tr("Net options"));
   422 	NNGroupBox->setTitle(QGroupBox::tr("Net options"));
   422 	pageLayout->addWidget(NNGroupBox, 0, 0);
   423 	pageLayout->addWidget(NNGroupBox, 0, 0);