39 BtnNetSvrStart->setFont(*font14); |
39 BtnNetSvrStart->setFont(*font14); |
40 BtnNetSvrStart->setText(QPushButton::tr("Start server")); |
40 BtnNetSvrStart->setText(QPushButton::tr("Start server")); |
41 BtnNetSvrStart->setVisible(haveServer); |
41 BtnNetSvrStart->setVisible(haveServer); |
42 pageLayout->addWidget(BtnNetSvrStart, 4, 2); |
42 pageLayout->addWidget(BtnNetSvrStart, 4, 2); |
43 |
43 |
|
44 |
44 BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true); |
45 BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true); |
|
46 connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack())); |
|
47 |
45 |
48 |
46 ConnGroupBox = new QGroupBox(this); |
49 ConnGroupBox = new QGroupBox(this); |
47 ConnGroupBox->setTitle(QGroupBox::tr("Net game")); |
50 ConnGroupBox->setTitle(QGroupBox::tr("Net game")); |
48 pageLayout->addWidget(ConnGroupBox, 2, 0, 1, 3); |
51 pageLayout->addWidget(ConnGroupBox, 2, 0, 1, 3); |
49 GBClayout = new QGridLayout(ConnGroupBox); |
52 GBClayout = new QGridLayout(ConnGroupBox); |