Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
ui_display_filter_expression_dialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'display_filter_expression_dialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.5.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_DISPLAY_FILTER_EXPRESSION_DIALOG_H
10 #define UI_DISPLAY_FILTER_EXPRESSION_DIALOG_H
11 
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/QListWidget>
23 #include <QtWidgets/QSpacerItem>
24 #include <QtWidgets/QTreeWidget>
25 #include <QtWidgets/QVBoxLayout>
26 #include "widgets/display_filter_edit.h"
27 
28 QT_BEGIN_NAMESPACE
29 
31 {
32 public:
33  QVBoxLayout *verticalLayout_2;
34  QHBoxLayout *horizontalLayout_2;
35  QVBoxLayout *verticalLayout;
36  QLabel *fieldLabel;
37  QTreeWidget *fieldTreeWidget;
38  QHBoxLayout *horizontalLayout;
39  QLabel *searchLabel;
40  QLineEdit *searchLineEdit;
41  QVBoxLayout *verticalLayout_6;
42  QVBoxLayout *relationLayout;
43  QLabel *relationLabel;
44  QListWidget *relationListWidget;
45  QSpacerItem *verticalSpacer;
46  QVBoxLayout *valueLayout;
47  QLabel *valueLabel;
48  QLineEdit *valueLineEdit;
49  QVBoxLayout *enumLayout;
50  QLabel *enumLabel;
51  QListWidget *enumListWidget;
52  QSpacerItem *verticalSpacer_2;
53  QVBoxLayout *rangeLayout;
54  QLabel *rangeLabel;
55  QLineEdit *rangeLineEdit;
56  DisplayFilterEdit *displayFilterLineEdit;
57  QLabel *hintLabel;
58  QDialogButtonBox *buttonBox;
59 
60  void setupUi(QDialog *DisplayFilterExpressionDialog)
61  {
62  if (DisplayFilterExpressionDialog->objectName().isEmpty())
63  DisplayFilterExpressionDialog->setObjectName(QStringLiteral("DisplayFilterExpressionDialog"));
64  DisplayFilterExpressionDialog->resize(657, 588);
65  verticalLayout_2 = new QVBoxLayout(DisplayFilterExpressionDialog);
66  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
67  horizontalLayout_2 = new QHBoxLayout();
68  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
69  verticalLayout = new QVBoxLayout();
70  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
71  fieldLabel = new QLabel(DisplayFilterExpressionDialog);
72  fieldLabel->setObjectName(QStringLiteral("fieldLabel"));
73 
74  verticalLayout->addWidget(fieldLabel);
75 
76  fieldTreeWidget = new QTreeWidget(DisplayFilterExpressionDialog);
77  QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
78  __qtreewidgetitem->setText(0, QStringLiteral("1"));
79  fieldTreeWidget->setHeaderItem(__qtreewidgetitem);
80  fieldTreeWidget->setObjectName(QStringLiteral("fieldTreeWidget"));
81  fieldTreeWidget->setUniformRowHeights(true);
82  fieldTreeWidget->setHeaderHidden(true);
83 
84  verticalLayout->addWidget(fieldTreeWidget);
85 
86  horizontalLayout = new QHBoxLayout();
87  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
88  searchLabel = new QLabel(DisplayFilterExpressionDialog);
89  searchLabel->setObjectName(QStringLiteral("searchLabel"));
90 
91  horizontalLayout->addWidget(searchLabel);
92 
93  searchLineEdit = new QLineEdit(DisplayFilterExpressionDialog);
94  searchLineEdit->setObjectName(QStringLiteral("searchLineEdit"));
95 
96  horizontalLayout->addWidget(searchLineEdit);
97 
98 
99  verticalLayout->addLayout(horizontalLayout);
100 
101 
102  horizontalLayout_2->addLayout(verticalLayout);
103 
104  verticalLayout_6 = new QVBoxLayout();
105  verticalLayout_6->setObjectName(QStringLiteral("verticalLayout_6"));
106  relationLayout = new QVBoxLayout();
107  relationLayout->setObjectName(QStringLiteral("relationLayout"));
108  relationLabel = new QLabel(DisplayFilterExpressionDialog);
109  relationLabel->setObjectName(QStringLiteral("relationLabel"));
110 
111  relationLayout->addWidget(relationLabel);
112 
113  relationListWidget = new QListWidget(DisplayFilterExpressionDialog);
114  relationListWidget->setObjectName(QStringLiteral("relationListWidget"));
115 
116  relationLayout->addWidget(relationListWidget);
117 
118 
119  verticalLayout_6->addLayout(relationLayout);
120 
121  verticalSpacer = new QSpacerItem(20, 12, QSizePolicy::Minimum, QSizePolicy::Expanding);
122 
123  verticalLayout_6->addItem(verticalSpacer);
124 
125  valueLayout = new QVBoxLayout();
126  valueLayout->setObjectName(QStringLiteral("valueLayout"));
127  valueLabel = new QLabel(DisplayFilterExpressionDialog);
128  valueLabel->setObjectName(QStringLiteral("valueLabel"));
129 
130  valueLayout->addWidget(valueLabel);
131 
132  valueLineEdit = new QLineEdit(DisplayFilterExpressionDialog);
133  valueLineEdit->setObjectName(QStringLiteral("valueLineEdit"));
134 
135  valueLayout->addWidget(valueLineEdit);
136 
137 
138  verticalLayout_6->addLayout(valueLayout);
139 
140  enumLayout = new QVBoxLayout();
141  enumLayout->setObjectName(QStringLiteral("enumLayout"));
142  enumLabel = new QLabel(DisplayFilterExpressionDialog);
143  enumLabel->setObjectName(QStringLiteral("enumLabel"));
144 
145  enumLayout->addWidget(enumLabel);
146 
147  enumListWidget = new QListWidget(DisplayFilterExpressionDialog);
148  enumListWidget->setObjectName(QStringLiteral("enumListWidget"));
149 
150  enumLayout->addWidget(enumListWidget);
151 
152 
153  verticalLayout_6->addLayout(enumLayout);
154 
155  verticalSpacer_2 = new QSpacerItem(20, 12, QSizePolicy::Minimum, QSizePolicy::Expanding);
156 
157  verticalLayout_6->addItem(verticalSpacer_2);
158 
159  rangeLayout = new QVBoxLayout();
160  rangeLayout->setObjectName(QStringLiteral("rangeLayout"));
161  rangeLabel = new QLabel(DisplayFilterExpressionDialog);
162  rangeLabel->setObjectName(QStringLiteral("rangeLabel"));
163 
164  rangeLayout->addWidget(rangeLabel);
165 
166  rangeLineEdit = new QLineEdit(DisplayFilterExpressionDialog);
167  rangeLineEdit->setObjectName(QStringLiteral("rangeLineEdit"));
168 
169  rangeLayout->addWidget(rangeLineEdit);
170 
171 
172  verticalLayout_6->addLayout(rangeLayout);
173 
174  verticalLayout_6->setStretch(1, 1);
175  verticalLayout_6->setStretch(3, 4);
176  verticalLayout_6->setStretch(4, 1);
177 
178  horizontalLayout_2->addLayout(verticalLayout_6);
179 
180 
181  verticalLayout_2->addLayout(horizontalLayout_2);
182 
183  displayFilterLineEdit = new DisplayFilterEdit(DisplayFilterExpressionDialog);
184  displayFilterLineEdit->setObjectName(QStringLiteral("displayFilterLineEdit"));
185  displayFilterLineEdit->setReadOnly(true);
186 
187  verticalLayout_2->addWidget(displayFilterLineEdit);
188 
189  hintLabel = new QLabel(DisplayFilterExpressionDialog);
190  hintLabel->setObjectName(QStringLiteral("hintLabel"));
191  hintLabel->setWordWrap(true);
192 
193  verticalLayout_2->addWidget(hintLabel);
194 
195  buttonBox = new QDialogButtonBox(DisplayFilterExpressionDialog);
196  buttonBox->setObjectName(QStringLiteral("buttonBox"));
197  buttonBox->setOrientation(Qt::Horizontal);
198  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);
199 
200  verticalLayout_2->addWidget(buttonBox);
201 
202 
203  retranslateUi(DisplayFilterExpressionDialog);
204  QObject::connect(buttonBox, SIGNAL(accepted()), DisplayFilterExpressionDialog, SLOT(accept()));
205  QObject::connect(buttonBox, SIGNAL(rejected()), DisplayFilterExpressionDialog, SLOT(reject()));
206 
207  QMetaObject::connectSlotsByName(DisplayFilterExpressionDialog);
208  } // setupUi
209 
210  void retranslateUi(QDialog *DisplayFilterExpressionDialog)
211  {
212  DisplayFilterExpressionDialog->setWindowTitle(QApplication::translate("DisplayFilterExpressionDialog", "Dialog", 0));
213 #ifndef QT_NO_TOOLTIP
214  fieldLabel->setToolTip(QApplication::translate("DisplayFilterExpressionDialog", "Select a field to start building a display filter.", 0));
215 #endif // QT_NO_TOOLTIP
216  fieldLabel->setText(QApplication::translate("DisplayFilterExpressionDialog", "Field Name", 0));
217 #ifndef QT_NO_TOOLTIP
218  searchLabel->setToolTip(QApplication::translate("DisplayFilterExpressionDialog", "<html><head/><body><p>Search the list of field names.</p></body></html>", 0));
219 #endif // QT_NO_TOOLTIP
220  searchLabel->setText(QApplication::translate("DisplayFilterExpressionDialog", "Search:", 0));
221 #ifndef QT_NO_TOOLTIP
222  relationLabel->setToolTip(QApplication::translate("DisplayFilterExpressionDialog", "<html><head/><body><p>Relations can be used to restrict fields to specific values. Each relation does the following:</p><table border=\"0\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;\" cellspacing=\"2\" cellpadding=\"0\"><tr><td><p align=\"center\"><span style=\" font-weight:600;\">is present</span></p></td><td><p>Match any packet that contains this field</p></td></tr><tr><td><p align=\"center\"><span style=\" font-weight:600;\">==, !=, etc.</span></p></td><td><p>Compare the field to a specific value.</p></td></tr><tr><td><p align=\"center\"><span style=\" font-weight:600;\">contains, matches</span></p></td><td><p>Check the field against a string (contains) or a regular expression (matches)</p></td></tr><tr><td><p align=\"center\"><span style=\" font-weight:600;\">in</span></p></td><td><p>Compare the field to a specific set of values</p></td></tr></table></body></html>\n"
223 "\n"
224 "", 0));
225 #endif // QT_NO_TOOLTIP
226  relationLabel->setText(QApplication::translate("DisplayFilterExpressionDialog", "Relation", 0));
227 #ifndef QT_NO_TOOLTIP
228  valueLabel->setToolTip(QApplication::translate("DisplayFilterExpressionDialog", "Match against this value.", 0));
229 #endif // QT_NO_TOOLTIP
230  valueLabel->setText(QApplication::translate("DisplayFilterExpressionDialog", "Value", 0));
231 #ifndef QT_NO_TOOLTIP
232  enumLabel->setToolTip(QApplication::translate("DisplayFilterExpressionDialog", "If the field you have selected has a known set of valid values they will be listed here.", 0));
233 #endif // QT_NO_TOOLTIP
234  enumLabel->setText(QApplication::translate("DisplayFilterExpressionDialog", "Predefined Values", 0));
235 #ifndef QT_NO_TOOLTIP
236  rangeLabel->setToolTip(QApplication::translate("DisplayFilterExpressionDialog", "If the field you have selected covers a range of bytes (e.g. you have selected a protocol) you can restrict the match to a range of bytes here.", 0));
237 #endif // QT_NO_TOOLTIP
238  rangeLabel->setText(QApplication::translate("DisplayFilterExpressionDialog", "Range (offset:length)", 0));
239  displayFilterLineEdit->setPlaceholderText(QApplication::translate("DisplayFilterExpressionDialog", "No display filter", 0));
240  hintLabel->setText(QApplication::translate("DisplayFilterExpressionDialog", "<small><i>A hint.</i></small>", 0));
241  } // retranslateUi
242 
243 };
244 
245 namespace Ui {
247 } // namespace Ui
248 
249 QT_END_NAMESPACE
250 
251 #endif // UI_DISPLAY_FILTER_EXPRESSION_DIALOG_H
Definition: ui_about_dialog.h:291
Definition: display_filter_expression_dialog.h:28
Definition: ui_display_filter_expression_dialog.h:246
Definition: ui_display_filter_expression_dialog.h:30
Definition: display_filter_edit.h:26