Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
ui_main_welcome.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'main_welcome.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_MAIN_WELCOME_H
10 #define UI_MAIN_WELCOME_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QHeaderView>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QListWidget>
20 #include <QtWidgets/QPushButton>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QVBoxLayout>
23 #include <QtWidgets/QWidget>
24 #include "accordion_frame.h"
25 #include "interface_frame.h"
26 #include "widgets/capture_filter_combo.h"
27 #include "widgets/clickable_label.h"
28 
29 QT_BEGIN_NAMESPACE
30 
32 {
33 public:
34  QHBoxLayout *horizontalLayout_2;
35  QSpacerItem *horizontalSpacer;
36  QWidget *childContainer;
37  QVBoxLayout *verticalLayout_2;
38  QWidget *bannerLayout;
39  QHBoxLayout *horizontalLayout_3;
40  QLabel *mainWelcomeBanner;
41  QSpacerItem *bannerSpacer;
42  QLabel *flavorBanner;
43  AccordionFrame *openFrame;
44  QVBoxLayout *verticalLayout;
45  ClickableLabel *recentLabel;
46  QListWidget *recentList;
47  ClickableLabel *captureLabel;
48  QWidget *captureFilterLayout;
49  QHBoxLayout *horizontalLayout;
50  QLabel *label;
51  CaptureFilterCombo *captureFilterComboBox;
52  QPushButton *btnInterfaceType;
53  InterfaceFrame *interfaceFrame;
54  ClickableLabel *helpLabel;
55  QLabel *helpLinks;
56  QLabel *fullReleaseLabel;
57  QSpacerItem *horizontalSpacer_2;
58 
59  void setupUi(QWidget *MainWelcome)
60  {
61  if (MainWelcome->objectName().isEmpty())
62  MainWelcome->setObjectName(QStringLiteral("MainWelcome"));
63  MainWelcome->resize(811, 663);
64  horizontalLayout_2 = new QHBoxLayout(MainWelcome);
65  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
66  horizontalSpacer = new QSpacerItem(44, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
67 
68  horizontalLayout_2->addItem(horizontalSpacer);
69 
70  childContainer = new QWidget(MainWelcome);
71  childContainer->setObjectName(QStringLiteral("childContainer"));
72  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
73  sizePolicy.setHorizontalStretch(0);
74  sizePolicy.setVerticalStretch(0);
75  sizePolicy.setHeightForWidth(childContainer->sizePolicy().hasHeightForWidth());
76  childContainer->setSizePolicy(sizePolicy);
77  verticalLayout_2 = new QVBoxLayout(childContainer);
78  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
79  bannerLayout = new QWidget(childContainer);
80  bannerLayout->setObjectName(QStringLiteral("bannerLayout"));
81  bannerLayout->setMinimumSize(QSize(550, 0));
82  horizontalLayout_3 = new QHBoxLayout(bannerLayout);
83  horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
84  horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
85  mainWelcomeBanner = new QLabel(bannerLayout);
86  mainWelcomeBanner->setObjectName(QStringLiteral("mainWelcomeBanner"));
87 
88  horizontalLayout_3->addWidget(mainWelcomeBanner);
89 
90  bannerSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
91 
92  horizontalLayout_3->addItem(bannerSpacer);
93 
94  flavorBanner = new QLabel(bannerLayout);
95  flavorBanner->setObjectName(QStringLiteral("flavorBanner"));
96  flavorBanner->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
97 
98  horizontalLayout_3->addWidget(flavorBanner);
99 
100  horizontalLayout_3->setStretch(1, 1);
101 
102  verticalLayout_2->addWidget(bannerLayout);
103 
104  openFrame = new AccordionFrame(childContainer);
105  openFrame->setObjectName(QStringLiteral("openFrame"));
106  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
107  sizePolicy1.setHorizontalStretch(0);
108  sizePolicy1.setVerticalStretch(2);
109  sizePolicy1.setHeightForWidth(openFrame->sizePolicy().hasHeightForWidth());
110  openFrame->setSizePolicy(sizePolicy1);
111  openFrame->setFrameShape(QFrame::NoFrame);
112  openFrame->setFrameShadow(QFrame::Plain);
113  openFrame->setLineWidth(0);
114  verticalLayout = new QVBoxLayout(openFrame);
115  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
116  verticalLayout->setContentsMargins(0, 0, 0, 0);
117  recentLabel = new ClickableLabel(openFrame);
118  recentLabel->setObjectName(QStringLiteral("recentLabel"));
119  QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
120  sizePolicy2.setHorizontalStretch(0);
121  sizePolicy2.setVerticalStretch(0);
122  sizePolicy2.setHeightForWidth(recentLabel->sizePolicy().hasHeightForWidth());
123  recentLabel->setSizePolicy(sizePolicy2);
124 
125  verticalLayout->addWidget(recentLabel);
126 
127  recentList = new QListWidget(openFrame);
128  recentList->setObjectName(QStringLiteral("recentList"));
129  QSizePolicy sizePolicy3(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
130  sizePolicy3.setHorizontalStretch(1);
131  sizePolicy3.setVerticalStretch(2);
132  sizePolicy3.setHeightForWidth(recentList->sizePolicy().hasHeightForWidth());
133  recentList->setSizePolicy(sizePolicy3);
134  recentList->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
135 
136  verticalLayout->addWidget(recentList);
137 
138 
139  verticalLayout_2->addWidget(openFrame);
140 
141  captureLabel = new ClickableLabel(childContainer);
142  captureLabel->setObjectName(QStringLiteral("captureLabel"));
143  sizePolicy2.setHeightForWidth(captureLabel->sizePolicy().hasHeightForWidth());
144  captureLabel->setSizePolicy(sizePolicy2);
145 
146  verticalLayout_2->addWidget(captureLabel);
147 
148  captureFilterLayout = new QWidget(childContainer);
149  captureFilterLayout->setObjectName(QStringLiteral("captureFilterLayout"));
150  horizontalLayout = new QHBoxLayout(captureFilterLayout);
151  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
152  horizontalLayout->setContentsMargins(0, 0, 0, -1);
153  label = new QLabel(captureFilterLayout);
154  label->setObjectName(QStringLiteral("label"));
155 
156  horizontalLayout->addWidget(label);
157 
158  captureFilterComboBox = new CaptureFilterCombo(captureFilterLayout);
159  captureFilterComboBox->setObjectName(QStringLiteral("captureFilterComboBox"));
160  QSizePolicy sizePolicy4(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
161  sizePolicy4.setHorizontalStretch(0);
162  sizePolicy4.setVerticalStretch(0);
163  sizePolicy4.setHeightForWidth(captureFilterComboBox->sizePolicy().hasHeightForWidth());
164  captureFilterComboBox->setSizePolicy(sizePolicy4);
165  captureFilterComboBox->setEditable(true);
166 
167  horizontalLayout->addWidget(captureFilterComboBox);
168 
169  btnInterfaceType = new QPushButton(captureFilterLayout);
170  btnInterfaceType->setObjectName(QStringLiteral("btnInterfaceType"));
171 
172  horizontalLayout->addWidget(btnInterfaceType);
173 
174 
175  verticalLayout_2->addWidget(captureFilterLayout);
176 
177  interfaceFrame = new InterfaceFrame(childContainer);
178  interfaceFrame->setObjectName(QStringLiteral("interfaceFrame"));
179  QSizePolicy sizePolicy5(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
180  sizePolicy5.setHorizontalStretch(0);
181  sizePolicy5.setVerticalStretch(1);
182  sizePolicy5.setHeightForWidth(interfaceFrame->sizePolicy().hasHeightForWidth());
183  interfaceFrame->setSizePolicy(sizePolicy5);
184  interfaceFrame->setFrameShape(QFrame::StyledPanel);
185  interfaceFrame->setFrameShadow(QFrame::Raised);
186 
187  verticalLayout_2->addWidget(interfaceFrame);
188 
189  helpLabel = new ClickableLabel(childContainer);
190  helpLabel->setObjectName(QStringLiteral("helpLabel"));
191  sizePolicy2.setHeightForWidth(helpLabel->sizePolicy().hasHeightForWidth());
192  helpLabel->setSizePolicy(sizePolicy2);
193 
194  verticalLayout_2->addWidget(helpLabel);
195 
196  helpLinks = new QLabel(childContainer);
197  helpLinks->setObjectName(QStringLiteral("helpLinks"));
198  helpLinks->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
199  helpLinks->setOpenExternalLinks(true);
200  helpLinks->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
201 
202  verticalLayout_2->addWidget(helpLinks);
203 
204  fullReleaseLabel = new QLabel(childContainer);
205  fullReleaseLabel->setObjectName(QStringLiteral("fullReleaseLabel"));
206 
207  verticalLayout_2->addWidget(fullReleaseLabel);
208 
209 
210  horizontalLayout_2->addWidget(childContainer);
211 
212  horizontalSpacer_2 = new QSpacerItem(43, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
213 
214  horizontalLayout_2->addItem(horizontalSpacer_2);
215 
216  horizontalLayout_2->setStretch(0, 10);
217  horizontalLayout_2->setStretch(1, 80);
218  horizontalLayout_2->setStretch(2, 10);
219 
220  retranslateUi(MainWelcome);
221 
222  QMetaObject::connectSlotsByName(MainWelcome);
223  } // setupUi
224 
225  void retranslateUi(QWidget *MainWelcome)
226  {
227  MainWelcome->setWindowTitle(QApplication::translate("MainWelcome", "Form", 0));
228  mainWelcomeBanner->setText(QApplication::translate("MainWelcome", "<html><head/><body><p><span style=\" font-size:large;\">Welcome to Wireshark</span></p></body></html>", 0));
229 #ifndef QT_NO_TOOLTIP
230  recentLabel->setToolTip(QApplication::translate("MainWelcome", "<html><head/><body><p>Open a file on your file system</p></body></html>", 0));
231 #endif // QT_NO_TOOLTIP
232  recentLabel->setText(QApplication::translate("MainWelcome", "<h2>Open</h2>", 0));
233 #ifndef QT_NO_ACCESSIBILITY
234  recentList->setAccessibleName(QApplication::translate("MainWelcome", "Recent capture files", 0));
235 #endif // QT_NO_ACCESSIBILITY
236 #ifndef QT_NO_ACCESSIBILITY
237  recentList->setAccessibleDescription(QApplication::translate("MainWelcome", "Capture files that have been opened previously", 0));
238 #endif // QT_NO_ACCESSIBILITY
239 #ifndef QT_NO_TOOLTIP
240  captureLabel->setToolTip(QApplication::translate("MainWelcome", "<html><head/><body><p>Capture live packets from your network.</p></body></html>", 0));
241 #endif // QT_NO_TOOLTIP
242  captureLabel->setText(QApplication::translate("MainWelcome", "<h2>Capture</h2>", 0));
243  label->setText(QApplication::translate("MainWelcome", "\342\200\246using this filter:", 0));
244  btnInterfaceType->setText(QString());
245 #ifndef QT_NO_ACCESSIBILITY
246  interfaceFrame->setAccessibleName(QApplication::translate("MainWelcome", "Interface list", 0));
247 #endif // QT_NO_ACCESSIBILITY
248 #ifndef QT_NO_ACCESSIBILITY
249  interfaceFrame->setAccessibleDescription(QApplication::translate("MainWelcome", "List of available capture interfaces", 0));
250 #endif // QT_NO_ACCESSIBILITY
251  helpLabel->setText(QApplication::translate("MainWelcome", "<h2>Learn</h2>", 0));
252  helpLinks->setText(QApplication::translate("MainWelcome", "<html><head>\n"
253 "<style>\n"
254 "a:link {\n"
255 " color: inherit;\n"
256 " text-decoration: none;\n"
257 "}\n"
258 "a:hover {\n"
259 " color: inherit;\n"
260 " text-decoration: underline;\n"
261 "}\n"
262 "</style>\n"
263 "</head>\n"
264 "<body>\n"
265 "\n"
266 "<table><tr>\n"
267 "<th><a href=\"https://www.wireshark.org/docs/wsug_html_chunked/\">User's Guide</a></th>\n"
268 "\n"
269 "<td style=\"padding-left: 8px; padding-right: 8px;\">\302\267</td>\n"
270 "\n"
271 "<th><a href=\"https://wiki.wireshark.org/\">Wiki</a></th>\n"
272 "\n"
273 "<td style=\"padding-left: 8px; padding-right: 8px;\">\302\267</td>\n"
274 "\n"
275 "<th><a href=\"https://ask.wireshark.org/\">Questions and Answers</a></th>\n"
276 "\n"
277 "<td style=\"padding-left: 8px; padding-right: 8px;\">\302\267</td>\n"
278 "\n"
279 "<th><a href=\"https://www.wireshark.org/lists/\">Mailing Lists</a></th>\n"
280 "\n"
281 "</tr></table>\n"
282 "</body></html>", 0));
283  fullReleaseLabel->setText(QString());
284  } // retranslateUi
285 
286 };
287 
288 namespace Ui {
289  class MainWelcome: public Ui_MainWelcome {};
290 } // namespace Ui
291 
292 QT_END_NAMESPACE
293 
294 #endif // UI_MAIN_WELCOME_H
Definition: interface_frame.h:34
Definition: ui_about_dialog.h:291
Definition: ui_main_welcome.h:289
Definition: clickable_label.h:17
Definition: ui_main_welcome.h:31
Definition: capture_filter_combo.h:18
Definition: main_welcome.h:26
Definition: accordion_frame.h:17