9 #ifndef UI_SHOW_PACKET_BYTES_DIALOG_H 10 #define UI_SHOW_PACKET_BYTES_DIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QComboBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QDialogButtonBox> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QPushButton> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QSpinBox> 25 #include <QtWidgets/QVBoxLayout> 26 #include "show_packet_bytes_dialog.h" 27 #include "widgets/find_line_edit.h" 34 QVBoxLayout *verticalLayout;
37 QHBoxLayout *horizontalLayout_1;
39 QComboBox *cbDecodeAs;
42 QSpacerItem *horizontalSpacer;
47 QHBoxLayout *horizontalLayout_2;
51 QDialogButtonBox *buttonBox;
55 if (ShowPacketBytesDialog->objectName().isEmpty())
56 ShowPacketBytesDialog->setObjectName(QStringLiteral(
"ShowPacketBytesDialog"));
57 ShowPacketBytesDialog->resize(710, 620);
58 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
59 sizePolicy.setHorizontalStretch(0);
60 sizePolicy.setVerticalStretch(0);
61 sizePolicy.setHeightForWidth(ShowPacketBytesDialog->sizePolicy().hasHeightForWidth());
62 ShowPacketBytesDialog->setSizePolicy(sizePolicy);
63 ShowPacketBytesDialog->setSizeGripEnabled(
true);
64 verticalLayout =
new QVBoxLayout(ShowPacketBytesDialog);
65 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
67 tePacketBytes->setObjectName(QStringLiteral(
"tePacketBytes"));
68 tePacketBytes->setReadOnly(
true);
70 verticalLayout->addWidget(tePacketBytes);
72 hintLabel =
new QLabel(ShowPacketBytesDialog);
73 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
74 hintLabel->setWordWrap(
true);
76 verticalLayout->addWidget(hintLabel);
78 horizontalLayout_1 =
new QHBoxLayout();
79 horizontalLayout_1->setObjectName(QStringLiteral(
"horizontalLayout_1"));
80 lDecodeAs =
new QLabel(ShowPacketBytesDialog);
81 lDecodeAs->setObjectName(QStringLiteral(
"lDecodeAs"));
83 horizontalLayout_1->addWidget(lDecodeAs);
85 cbDecodeAs =
new QComboBox(ShowPacketBytesDialog);
86 cbDecodeAs->setObjectName(QStringLiteral(
"cbDecodeAs"));
88 horizontalLayout_1->addWidget(cbDecodeAs);
90 lShowAs =
new QLabel(ShowPacketBytesDialog);
91 lShowAs->setObjectName(QStringLiteral(
"lShowAs"));
93 horizontalLayout_1->addWidget(lShowAs);
95 cbShowAs =
new QComboBox(ShowPacketBytesDialog);
96 cbShowAs->setObjectName(QStringLiteral(
"cbShowAs"));
98 horizontalLayout_1->addWidget(cbShowAs);
100 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
102 horizontalLayout_1->addItem(horizontalSpacer);
104 lStart =
new QLabel(ShowPacketBytesDialog);
105 lStart->setObjectName(QStringLiteral(
"lStart"));
107 horizontalLayout_1->addWidget(lStart);
109 sbStart =
new QSpinBox(ShowPacketBytesDialog);
110 sbStart->setObjectName(QStringLiteral(
"sbStart"));
112 horizontalLayout_1->addWidget(sbStart);
114 lEnd =
new QLabel(ShowPacketBytesDialog);
115 lEnd->setObjectName(QStringLiteral(
"lEnd"));
117 horizontalLayout_1->addWidget(lEnd);
119 sbEnd =
new QSpinBox(ShowPacketBytesDialog);
120 sbEnd->setObjectName(QStringLiteral(
"sbEnd"));
122 horizontalLayout_1->addWidget(sbEnd);
124 horizontalLayout_1->setStretch(4, 1);
126 verticalLayout->addLayout(horizontalLayout_1);
128 horizontalLayout_2 =
new QHBoxLayout();
129 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
130 lFind =
new QLabel(ShowPacketBytesDialog);
131 lFind->setObjectName(QStringLiteral(
"lFind"));
133 horizontalLayout_2->addWidget(lFind);
136 leFind->setObjectName(QStringLiteral(
"leFind"));
138 horizontalLayout_2->addWidget(leFind);
140 bFind =
new QPushButton(ShowPacketBytesDialog);
141 bFind->setObjectName(QStringLiteral(
"bFind"));
143 horizontalLayout_2->addWidget(bFind);
145 horizontalLayout_2->setStretch(1, 1);
147 verticalLayout->addLayout(horizontalLayout_2);
149 buttonBox =
new QDialogButtonBox(ShowPacketBytesDialog);
150 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
151 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help);
153 verticalLayout->addWidget(buttonBox);
156 retranslateUi(ShowPacketBytesDialog);
158 cbShowAs->setCurrentIndex(-1);
161 QMetaObject::connectSlotsByName(ShowPacketBytesDialog);
164 void retranslateUi(QDialog *ShowPacketBytesDialog)
166 ShowPacketBytesDialog->setWindowTitle(QApplication::translate(
"ShowPacketBytesDialog",
"Show Packet Bytes", 0));
167 hintLabel->setText(QApplication::translate(
"ShowPacketBytesDialog",
"Hint.", 0));
168 lDecodeAs->setText(QApplication::translate(
"ShowPacketBytesDialog",
"Decode as", 0));
169 lShowAs->setText(QApplication::translate(
"ShowPacketBytesDialog",
"Show as", 0));
170 lStart->setText(QApplication::translate(
"ShowPacketBytesDialog",
"Start", 0));
171 lEnd->setText(QApplication::translate(
"ShowPacketBytesDialog",
"End", 0));
172 lFind->setText(QApplication::translate(
"ShowPacketBytesDialog",
"Find:", 0));
173 bFind->setText(QApplication::translate(
"ShowPacketBytesDialog",
"Find &Next", 0));
184 #endif // UI_SHOW_PACKET_BYTES_DIALOG_H Definition: show_packet_bytes_dialog.h:115
Definition: ui_about_dialog.h:291
Definition: show_packet_bytes_dialog.h:33
Definition: ui_show_packet_bytes_dialog.h:179
Definition: ui_show_packet_bytes_dialog.h:31
Definition: find_line_edit.h:19