9 #ifndef UI_SUPPORTED_PROTOCOLS_DIALOG_H 10 #define UI_SUPPORTED_PROTOCOLS_DIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QLineEdit> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QTreeView> 24 #include <QtWidgets/QVBoxLayout> 31 QVBoxLayout *verticalLayout;
32 QTreeView *supportedProtocolsTreeView;
33 QHBoxLayout *horizontalLayout;
35 QLineEdit *searchLineEdit;
36 QSpacerItem *horizontalSpacer;
38 QDialogButtonBox *buttonBox;
42 if (SupportedProtocolsDialog->objectName().isEmpty())
43 SupportedProtocolsDialog->setObjectName(QStringLiteral(
"SupportedProtocolsDialog"));
44 SupportedProtocolsDialog->resize(640, 540);
45 verticalLayout =
new QVBoxLayout(SupportedProtocolsDialog);
46 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
47 supportedProtocolsTreeView =
new QTreeView(SupportedProtocolsDialog);
48 supportedProtocolsTreeView->setObjectName(QStringLiteral(
"supportedProtocolsTreeView"));
50 verticalLayout->addWidget(supportedProtocolsTreeView);
52 horizontalLayout =
new QHBoxLayout();
53 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
54 searchLabel =
new QLabel(SupportedProtocolsDialog);
55 searchLabel->setObjectName(QStringLiteral(
"searchLabel"));
57 horizontalLayout->addWidget(searchLabel);
59 searchLineEdit =
new QLineEdit(SupportedProtocolsDialog);
60 searchLineEdit->setObjectName(QStringLiteral(
"searchLineEdit"));
62 horizontalLayout->addWidget(searchLineEdit);
64 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
66 horizontalLayout->addItem(horizontalSpacer);
69 verticalLayout->addLayout(horizontalLayout);
71 hintLabel =
new QLabel(SupportedProtocolsDialog);
72 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
73 hintLabel->setWordWrap(
true);
75 verticalLayout->addWidget(hintLabel);
77 buttonBox =
new QDialogButtonBox(SupportedProtocolsDialog);
78 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
79 buttonBox->setOrientation(Qt::Horizontal);
80 buttonBox->setStandardButtons(QDialogButtonBox::Close);
82 verticalLayout->addWidget(buttonBox);
85 retranslateUi(SupportedProtocolsDialog);
86 QObject::connect(buttonBox, SIGNAL(accepted()), SupportedProtocolsDialog, SLOT(accept()));
87 QObject::connect(buttonBox, SIGNAL(rejected()), SupportedProtocolsDialog, SLOT(reject()));
89 QMetaObject::connectSlotsByName(SupportedProtocolsDialog);
92 void retranslateUi(QDialog *SupportedProtocolsDialog)
94 SupportedProtocolsDialog->setWindowTitle(QApplication::translate(
"SupportedProtocolsDialog",
"Dialog", 0));
96 searchLabel->setToolTip(QApplication::translate(
"SupportedProtocolsDialog",
"<html><head/><body><p>Search the list of field names.</p></body></html>", 0));
97 #endif // QT_NO_TOOLTIP 98 searchLabel->setText(QApplication::translate(
"SupportedProtocolsDialog",
"Search:", 0));
99 hintLabel->setText(QApplication::translate(
"SupportedProtocolsDialog",
"<small><i>Gathering protocol information\342\200\246</i></small>", 0));
110 #endif // UI_SUPPORTED_PROTOCOLS_DIALOG_H Definition: ui_supported_protocols_dialog.h:105
Definition: ui_about_dialog.h:291
Definition: supported_protocols_dialog.h:20
Definition: ui_supported_protocols_dialog.h:28