QTfrontend/ui/page/pagenetserver.cpp
changeset 8747 878aa4c92424
parent 8609 3f6c08223aa1
child 8748 fbd7f0b21e12
equal deleted inserted replaced
8746:55539c550c33 8747:878aa4c92424
    58     labelPort = new QLabel(gb);
    58     labelPort = new QLabel(gb);
    59     labelPort->setText(QLabel::tr("Server port:"));
    59     labelPort->setText(QLabel::tr("Server port:"));
    60     gbLayout->addWidget(labelPort, 1, 0);
    60     gbLayout->addWidget(labelPort, 1, 0);
    61 
    61 
    62     sbPort = new QSpinBox(gb);
    62     sbPort = new QSpinBox(gb);
    63     sbPort->setMinimum(0);
    63     sbPort->setMinimum(1024);
    64     sbPort->setMaximum(65535);
    64     sbPort->setMaximum(65535);
    65     gbLayout->addWidget(sbPort, 1, 1);
    65     gbLayout->addWidget(sbPort, 1, 1);
    66 
    66 
    67     BtnDefault = new QPushButton(gb);
    67     BtnDefault = new QPushButton(gb);
    68     BtnDefault->setText(QPushButton::tr("default"));
    68     BtnDefault->setText(QPushButton::tr("default"));