9 #ifndef UI_PACKET_COMMENT_DIALOG_H 10 #define UI_PACKET_COMMENT_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/QHeaderView> 19 #include <QtWidgets/QPlainTextEdit> 20 #include <QtWidgets/QVBoxLayout> 27 QVBoxLayout *verticalLayout;
28 QPlainTextEdit *commentTextEdit;
29 QDialogButtonBox *buttonBox;
33 if (PacketCommentDialog->objectName().isEmpty())
34 PacketCommentDialog->setObjectName(QStringLiteral(
"PacketCommentDialog"));
35 PacketCommentDialog->resize(400, 300);
36 PacketCommentDialog->setModal(
true);
37 verticalLayout =
new QVBoxLayout(PacketCommentDialog);
38 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
39 commentTextEdit =
new QPlainTextEdit(PacketCommentDialog);
40 commentTextEdit->setObjectName(QStringLiteral(
"commentTextEdit"));
42 verticalLayout->addWidget(commentTextEdit);
44 buttonBox =
new QDialogButtonBox(PacketCommentDialog);
45 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
46 buttonBox->setOrientation(Qt::Horizontal);
47 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);
49 verticalLayout->addWidget(buttonBox);
52 retranslateUi(PacketCommentDialog);
53 QObject::connect(buttonBox, SIGNAL(accepted()), PacketCommentDialog, SLOT(accept()));
54 QObject::connect(buttonBox, SIGNAL(rejected()), PacketCommentDialog, SLOT(reject()));
56 QMetaObject::connectSlotsByName(PacketCommentDialog);
59 void retranslateUi(QDialog *PacketCommentDialog)
61 Q_UNUSED(PacketCommentDialog);
72 #endif // UI_PACKET_COMMENT_DIALOG_H Definition: ui_about_dialog.h:291