QTfrontend/ui/dialog/input_ip.cpp
changeset 7795 ba32d3f9e567
parent 6952 7f70f37bbf08
child 8609 3f6c08223aa1
equal deleted inserted replaced
7794:ab7b94c03bc9 7795:ba32d3f9e567
    58     layout->addWidget(pbCancel, 3, 2);
    58     layout->addWidget(pbCancel, 3, 2);
    59 
    59 
    60     connect(pbOK, SIGNAL(clicked()), this, SLOT(accept()));
    60     connect(pbOK, SIGNAL(clicked()), this, SLOT(accept()));
    61     connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject()));
    61     connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject()));
    62     connect(pbDefault, SIGNAL(clicked()), this, SLOT(setDefaultPort()));
    62     connect(pbDefault, SIGNAL(clicked()), this, SLOT(setDefaultPort()));
       
    63 
       
    64     this->setWindowModality(Qt::WindowModal);
    63 }
    65 }
    64 
    66 
    65 void HWHostPortDialog::setDefaultPort()
    67 void HWHostPortDialog::setDefaultPort()
    66 {
    68 {
    67     sbPort->setValue(46631);
    69     sbPort->setValue(46631);