Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
ui_search_frame.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'search_frame.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_SEARCH_FRAME_H
10 #define UI_SEARCH_FRAME_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QComboBox>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QPushButton>
21 #include <QtWidgets/QSpacerItem>
22 #include "accordion_frame.h"
23 #include "widgets/syntax_line_edit.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QHBoxLayout *horizontalLayout;
31  QSpacerItem *horizontalSpacer_3;
32  QComboBox *searchInComboBox;
33  QSpacerItem *horizontalSpacer_2;
34  QComboBox *charEncodingComboBox;
35  QCheckBox *caseCheckBox;
36  QSpacerItem *horizontalSpacer;
37  QComboBox *searchTypeComboBox;
38  SyntaxLineEdit *searchLineEdit;
39  QPushButton *findButton;
40  QPushButton *cancelButton;
41 
42  void setupUi(AccordionFrame *SearchFrame)
43  {
44  if (SearchFrame->objectName().isEmpty())
45  SearchFrame->setObjectName(QStringLiteral("SearchFrame"));
46  SearchFrame->resize(1026, 34);
47  SearchFrame->setFrameShape(QFrame::NoFrame);
48  SearchFrame->setFrameShadow(QFrame::Plain);
49  horizontalLayout = new QHBoxLayout(SearchFrame);
50  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
51  horizontalLayout->setContentsMargins(-1, 0, -1, 0);
52  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
53 
54  horizontalLayout->addItem(horizontalSpacer_3);
55 
56  searchInComboBox = new QComboBox(SearchFrame);
57  searchInComboBox->setObjectName(QStringLiteral("searchInComboBox"));
58 
59  horizontalLayout->addWidget(searchInComboBox);
60 
61  horizontalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Expanding, QSizePolicy::Minimum);
62 
63  horizontalLayout->addItem(horizontalSpacer_2);
64 
65  charEncodingComboBox = new QComboBox(SearchFrame);
66  charEncodingComboBox->setObjectName(QStringLiteral("charEncodingComboBox"));
67 
68  horizontalLayout->addWidget(charEncodingComboBox);
69 
70  caseCheckBox = new QCheckBox(SearchFrame);
71  caseCheckBox->setObjectName(QStringLiteral("caseCheckBox"));
72 
73  horizontalLayout->addWidget(caseCheckBox);
74 
75  horizontalSpacer = new QSpacerItem(20, 10, QSizePolicy::Expanding, QSizePolicy::Minimum);
76 
77  horizontalLayout->addItem(horizontalSpacer);
78 
79  searchTypeComboBox = new QComboBox(SearchFrame);
80  searchTypeComboBox->setObjectName(QStringLiteral("searchTypeComboBox"));
81 
82  horizontalLayout->addWidget(searchTypeComboBox);
83 
84  searchLineEdit = new SyntaxLineEdit(SearchFrame);
85  searchLineEdit->setObjectName(QStringLiteral("searchLineEdit"));
86  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
87  sizePolicy.setHorizontalStretch(1);
88  sizePolicy.setVerticalStretch(0);
89  sizePolicy.setHeightForWidth(searchLineEdit->sizePolicy().hasHeightForWidth());
90  searchLineEdit->setSizePolicy(sizePolicy);
91 
92  horizontalLayout->addWidget(searchLineEdit);
93 
94  findButton = new QPushButton(SearchFrame);
95  findButton->setObjectName(QStringLiteral("findButton"));
96  findButton->setMaximumSize(QSize(16777215, 27));
97 
98  horizontalLayout->addWidget(findButton);
99 
100  cancelButton = new QPushButton(SearchFrame);
101  cancelButton->setObjectName(QStringLiteral("cancelButton"));
102  cancelButton->setMaximumSize(QSize(16777215, 27));
103 
104  horizontalLayout->addWidget(cancelButton);
105 
106  horizontalLayout->setStretch(0, 3);
107  horizontalLayout->setStretch(7, 1);
108 
109  retranslateUi(SearchFrame);
110 
111  findButton->setDefault(true);
112 
113 
114  QMetaObject::connectSlotsByName(SearchFrame);
115  } // setupUi
116 
117  void retranslateUi(AccordionFrame *SearchFrame)
118  {
119  SearchFrame->setWindowTitle(QApplication::translate("SearchFrame", "Frame", 0));
120  searchInComboBox->clear();
121  searchInComboBox->insertItems(0, QStringList()
122  << QApplication::translate("SearchFrame", "Packet list", 0)
123  << QApplication::translate("SearchFrame", "Packet details", 0)
124  << QApplication::translate("SearchFrame", "Packet bytes", 0)
125  );
126 #ifndef QT_NO_TOOLTIP
127  searchInComboBox->setToolTip(QApplication::translate("SearchFrame", "<html><head/><body><p>Search the Info column of the packet list (summary pane), decoded packet display labels (tree view pane) or the ASCII-converted packet data (hex view pane).</p></body></html>", 0));
128 #endif // QT_NO_TOOLTIP
129  charEncodingComboBox->clear();
130  charEncodingComboBox->insertItems(0, QStringList()
131  << QApplication::translate("SearchFrame", "Narrow & Wide", 0)
132  << QApplication::translate("SearchFrame", "Narrow (UTF-8 / ASCII)", 0)
133  << QApplication::translate("SearchFrame", "Wide (UTF-16)", 0)
134  );
135 #ifndef QT_NO_TOOLTIP
136  charEncodingComboBox->setToolTip(QApplication::translate("SearchFrame", "<html><head/><body><p>Search for strings containing narrow (UTF-8 and ASCII) or wide (UTF-16) characters.</p></body></html>", 0));
137 #endif // QT_NO_TOOLTIP
138  caseCheckBox->setText(QApplication::translate("SearchFrame", "Case sensitive", 0));
139  searchTypeComboBox->clear();
140  searchTypeComboBox->insertItems(0, QStringList()
141  << QApplication::translate("SearchFrame", "Display filter", 0)
142  << QApplication::translate("SearchFrame", "Hex value", 0)
143  << QApplication::translate("SearchFrame", "String", 0)
144  << QApplication::translate("SearchFrame", "Regular Expression", 0)
145  );
146 #ifndef QT_NO_TOOLTIP
147  searchTypeComboBox->setToolTip(QApplication::translate("SearchFrame", "<html><head/><body><p>Search for data using display filter syntax (e.g. ip.addr==10.1.1.1), a hexadecimal string (e.g. fffffda5), a plain string (e.g. My String) or a regular expression (e.g. colou?r).</p></body></html>", 0));
148 #endif // QT_NO_TOOLTIP
149  findButton->setText(QApplication::translate("SearchFrame", "Find", 0));
150  cancelButton->setText(QApplication::translate("SearchFrame", "Cancel", 0));
151  } // retranslateUi
152 
153 };
154 
155 namespace Ui {
156  class SearchFrame: public Ui_SearchFrame {};
157 } // namespace Ui
158 
159 QT_END_NAMESPACE
160 
161 #endif // UI_SEARCH_FRAME_H
Definition: ui_search_frame.h:27
Definition: ui_about_dialog.h:291
Definition: ui_search_frame.h:156
Definition: syntax_line_edit.h:22
Definition: accordion_frame.h:17
Definition: search_frame.h:23