QTfrontend/pagenet.cpp
changeset 6009 14f6fc9869f2
parent 5204 e1a5f4d5d86a
child 6042 8b5345758f62
equal deleted inserted replaced
6008:215f0c9719e3 6009:14f6fc9869f2
    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);