9 #ifndef UI_PACKET_RANGE_GROUP_BOX_H 10 #define UI_PACKET_RANGE_GROUP_BOX_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QGroupBox> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QRadioButton> 22 #include <QtWidgets/QSpacerItem> 23 #include "widgets/syntax_line_edit.h" 30 QGridLayout *gridLayout;
31 QLabel *selectedDisplayedLabel;
32 QRadioButton *displayedButton;
33 QLabel *allCapturedLabel;
34 QRadioButton *markedButton;
35 QRadioButton *rangeButton;
36 QLabel *rangeDisplayedLabel;
37 QCheckBox *ignoredCheckBox;
38 QLabel *markedDisplayedLabel;
39 QRadioButton *ftlMarkedButton;
40 QLabel *selectedCapturedLabel;
41 QRadioButton *allButton;
42 QLabel *ftlCapturedLabel;
43 QLabel *allDisplayedLabel;
44 QLabel *rangeCapturedLabel;
45 QRadioButton *selectedButton;
46 QRadioButton *capturedButton;
47 QLabel *markedCapturedLabel;
48 QSpacerItem *horizontalSpacer_3;
50 QLabel *ftlDisplayedLabel;
51 QLabel *ignoredCapturedLabel;
52 QLabel *ignoredDisplayedLabel;
53 QButtonGroup *packetSelectionButtonGroup;
54 QButtonGroup *capturedDisplayedButtonGroup;
58 if (PacketRangeGroupBox->objectName().isEmpty())
59 PacketRangeGroupBox->setObjectName(QStringLiteral(
"PacketRangeGroupBox"));
60 PacketRangeGroupBox->resize(454, 241);
61 gridLayout =
new QGridLayout(PacketRangeGroupBox);
62 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
63 selectedDisplayedLabel =
new QLabel(PacketRangeGroupBox);
64 selectedDisplayedLabel->setObjectName(QStringLiteral(
"selectedDisplayedLabel"));
65 selectedDisplayedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
67 gridLayout->addWidget(selectedDisplayedLabel, 2, 3, 1, 1);
69 displayedButton =
new QRadioButton(PacketRangeGroupBox);
70 capturedDisplayedButtonGroup =
new QButtonGroup(PacketRangeGroupBox);
71 capturedDisplayedButtonGroup->setObjectName(QStringLiteral(
"capturedDisplayedButtonGroup"));
72 capturedDisplayedButtonGroup->addButton(displayedButton);
73 displayedButton->setObjectName(QStringLiteral(
"displayedButton"));
74 displayedButton->setCheckable(
true);
76 gridLayout->addWidget(displayedButton, 0, 3, 1, 1);
78 allCapturedLabel =
new QLabel(PacketRangeGroupBox);
79 allCapturedLabel->setObjectName(QStringLiteral(
"allCapturedLabel"));
80 allCapturedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
82 gridLayout->addWidget(allCapturedLabel, 1, 2, 1, 1);
84 markedButton =
new QRadioButton(PacketRangeGroupBox);
85 packetSelectionButtonGroup =
new QButtonGroup(PacketRangeGroupBox);
86 packetSelectionButtonGroup->setObjectName(QStringLiteral(
"packetSelectionButtonGroup"));
87 packetSelectionButtonGroup->addButton(markedButton);
88 markedButton->setObjectName(QStringLiteral(
"markedButton"));
90 gridLayout->addWidget(markedButton, 3, 0, 1, 2);
92 rangeButton =
new QRadioButton(PacketRangeGroupBox);
93 packetSelectionButtonGroup->addButton(rangeButton);
94 rangeButton->setObjectName(QStringLiteral(
"rangeButton"));
96 gridLayout->addWidget(rangeButton, 5, 0, 1, 1);
98 rangeDisplayedLabel =
new QLabel(PacketRangeGroupBox);
99 rangeDisplayedLabel->setObjectName(QStringLiteral(
"rangeDisplayedLabel"));
100 rangeDisplayedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
102 gridLayout->addWidget(rangeDisplayedLabel, 5, 3, 1, 1);
104 ignoredCheckBox =
new QCheckBox(PacketRangeGroupBox);
105 ignoredCheckBox->setObjectName(QStringLiteral(
"ignoredCheckBox"));
107 gridLayout->addWidget(ignoredCheckBox, 7, 0, 1, 2);
109 markedDisplayedLabel =
new QLabel(PacketRangeGroupBox);
110 markedDisplayedLabel->setObjectName(QStringLiteral(
"markedDisplayedLabel"));
111 markedDisplayedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
113 gridLayout->addWidget(markedDisplayedLabel, 3, 3, 1, 1);
115 ftlMarkedButton =
new QRadioButton(PacketRangeGroupBox);
116 packetSelectionButtonGroup->addButton(ftlMarkedButton);
117 ftlMarkedButton->setObjectName(QStringLiteral(
"ftlMarkedButton"));
119 gridLayout->addWidget(ftlMarkedButton, 4, 0, 1, 2);
121 selectedCapturedLabel =
new QLabel(PacketRangeGroupBox);
122 selectedCapturedLabel->setObjectName(QStringLiteral(
"selectedCapturedLabel"));
123 selectedCapturedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
125 gridLayout->addWidget(selectedCapturedLabel, 2, 2, 1, 1);
127 allButton =
new QRadioButton(PacketRangeGroupBox);
128 packetSelectionButtonGroup->addButton(allButton);
129 allButton->setObjectName(QStringLiteral(
"allButton"));
131 gridLayout->addWidget(allButton, 1, 0, 1, 2);
133 ftlCapturedLabel =
new QLabel(PacketRangeGroupBox);
134 ftlCapturedLabel->setObjectName(QStringLiteral(
"ftlCapturedLabel"));
135 ftlCapturedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
137 gridLayout->addWidget(ftlCapturedLabel, 4, 2, 1, 1);
139 allDisplayedLabel =
new QLabel(PacketRangeGroupBox);
140 allDisplayedLabel->setObjectName(QStringLiteral(
"allDisplayedLabel"));
141 allDisplayedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
143 gridLayout->addWidget(allDisplayedLabel, 1, 3, 1, 1);
145 rangeCapturedLabel =
new QLabel(PacketRangeGroupBox);
146 rangeCapturedLabel->setObjectName(QStringLiteral(
"rangeCapturedLabel"));
147 rangeCapturedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
149 gridLayout->addWidget(rangeCapturedLabel, 5, 2, 1, 1);
151 selectedButton =
new QRadioButton(PacketRangeGroupBox);
152 packetSelectionButtonGroup->addButton(selectedButton);
153 selectedButton->setObjectName(QStringLiteral(
"selectedButton"));
155 gridLayout->addWidget(selectedButton, 2, 0, 1, 2);
157 capturedButton =
new QRadioButton(PacketRangeGroupBox);
158 capturedDisplayedButtonGroup->addButton(capturedButton);
159 capturedButton->setObjectName(QStringLiteral(
"capturedButton"));
160 capturedButton->setCheckable(
true);
162 gridLayout->addWidget(capturedButton, 0, 2, 1, 1);
164 markedCapturedLabel =
new QLabel(PacketRangeGroupBox);
165 markedCapturedLabel->setObjectName(QStringLiteral(
"markedCapturedLabel"));
166 markedCapturedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
168 gridLayout->addWidget(markedCapturedLabel, 3, 2, 1, 1);
170 horizontalSpacer_3 =
new QSpacerItem(63, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
172 gridLayout->addItem(horizontalSpacer_3, 0, 0, 1, 1);
175 rangeLineEdit->setObjectName(QStringLiteral(
"rangeLineEdit"));
176 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
177 sizePolicy.setHorizontalStretch(1);
178 sizePolicy.setVerticalStretch(0);
179 sizePolicy.setHeightForWidth(rangeLineEdit->sizePolicy().hasHeightForWidth());
180 rangeLineEdit->setSizePolicy(sizePolicy);
182 gridLayout->addWidget(rangeLineEdit, 5, 1, 1, 1);
184 ftlDisplayedLabel =
new QLabel(PacketRangeGroupBox);
185 ftlDisplayedLabel->setObjectName(QStringLiteral(
"ftlDisplayedLabel"));
186 ftlDisplayedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
188 gridLayout->addWidget(ftlDisplayedLabel, 4, 3, 1, 1);
190 ignoredCapturedLabel =
new QLabel(PacketRangeGroupBox);
191 ignoredCapturedLabel->setObjectName(QStringLiteral(
"ignoredCapturedLabel"));
192 ignoredCapturedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
194 gridLayout->addWidget(ignoredCapturedLabel, 7, 2, 1, 1);
196 ignoredDisplayedLabel =
new QLabel(PacketRangeGroupBox);
197 ignoredDisplayedLabel->setObjectName(QStringLiteral(
"ignoredDisplayedLabel"));
198 ignoredDisplayedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
200 gridLayout->addWidget(ignoredDisplayedLabel, 7, 3, 1, 1);
203 retranslateUi(PacketRangeGroupBox);
205 QMetaObject::connectSlotsByName(PacketRangeGroupBox);
208 void retranslateUi(QGroupBox *PacketRangeGroupBox)
210 PacketRangeGroupBox->setWindowTitle(QApplication::translate(
"PacketRangeGroupBox",
"Form", 0));
211 PacketRangeGroupBox->setTitle(QApplication::translate(
"PacketRangeGroupBox",
"Packet Range", 0));
212 selectedDisplayedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
213 displayedButton->setText(QApplication::translate(
"PacketRangeGroupBox",
"Displayed", 0));
214 allCapturedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
215 markedButton->setText(QApplication::translate(
"PacketRangeGroupBox",
"&Marked packets only", 0));
216 rangeButton->setText(QApplication::translate(
"PacketRangeGroupBox",
"&Range:", 0));
217 rangeDisplayedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
218 ignoredCheckBox->setText(QApplication::translate(
"PacketRangeGroupBox",
"Remove &ignored packets", 0));
219 markedDisplayedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
220 ftlMarkedButton->setText(QApplication::translate(
"PacketRangeGroupBox",
"First &to last marked", 0));
221 selectedCapturedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
222 allButton->setText(QApplication::translate(
"PacketRangeGroupBox",
"&All packets", 0));
223 ftlCapturedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
224 allDisplayedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
225 rangeCapturedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
226 selectedButton->setText(QApplication::translate(
"PacketRangeGroupBox",
"&Selected packets only", 0));
227 capturedButton->setText(QApplication::translate(
"PacketRangeGroupBox",
"Captured", 0));
228 markedCapturedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
229 ftlDisplayedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
230 ignoredCapturedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
231 ignoredDisplayedLabel->setText(QApplication::translate(
"PacketRangeGroupBox",
"-", 0));
242 #endif // UI_PACKET_RANGE_GROUP_BOX_H Definition: ui_packet_range_group_box.h:237
Definition: ui_about_dialog.h:291
Definition: syntax_line_edit.h:22
Definition: packet_range_group_box.h:26
Definition: ui_packet_range_group_box.h:27