Refactor dialog package.

This commit is contained in:
Krad
2022-06-13 11:21:44 +08:00
parent 9a233251dc
commit 69a506ff94
27 changed files with 870 additions and 828 deletions

View File

@@ -18,7 +18,7 @@ GetRouteDialog::GetRouteDialog(QWidget* parent, Qt::WindowFlags f)
, mLabelError(new QLabel(this))
{
setWindowModality(Qt::WindowModal);
QFormLayout* formLayout = new QFormLayout(formWidget);
QFormLayout* formLayout = new QFormLayout(mFormWidget);
formLayout->addRow(QString(tr("Destination")), mDestination);
formLayout->addRow(QString(tr("Netmask")), mNetmask);
formLayout->addRow(QString(tr("Gateway")), mGateway);