9 #ifndef UI_ABOUT_DIALOG_H 10 #define UI_ABOUT_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/QLineEdit> 23 #include <QtWidgets/QPlainTextEdit> 24 #include <QtWidgets/QSpacerItem> 25 #include <QtWidgets/QTabWidget> 26 #include <QtWidgets/QTreeView> 27 #include <QtWidgets/QVBoxLayout> 28 #include <QtWidgets/QWidget> 35 QVBoxLayout *verticalLayout_6;
36 QTabWidget *tabWidget;
37 QWidget *tab_wireshark;
38 QVBoxLayout *verticalLayout;
41 QHBoxLayout *horizontalLayout;
42 QSpacerItem *horizontalSpacer;
43 QLabel *label_wireshark;
44 QSpacerItem *horizontalSpacer_2;
45 QSpacerItem *verticalSpacer;
47 QVBoxLayout *verticalLayout_2;
48 QLineEdit *searchAuthors;
49 QTreeView *tblAuthors;
51 QVBoxLayout *verticalLayout_3;
52 QLineEdit *searchFolders;
53 QTreeView *tblFolders;
55 QVBoxLayout *verticalLayout_4;
56 QLabel *label_no_plugins;
57 QHBoxLayout *horizontalLayout_3;
58 QLineEdit *searchPlugins;
61 QTreeView *tblPlugins;
62 QWidget *tab_shortcuts;
63 QVBoxLayout *verticalLayout_shortcuts;
64 QLineEdit *searchShortcuts;
65 QTreeView *tblShortcuts;
66 QWidget *tab_acknowledgements;
67 QVBoxLayout *verticalLayout_8;
68 QPlainTextEdit *pte_Authors;
70 QVBoxLayout *verticalLayout_5;
71 QPlainTextEdit *pte_License;
72 QDialogButtonBox *buttonBox;
76 if (AboutDialog->objectName().isEmpty())
77 AboutDialog->setObjectName(QStringLiteral(
"AboutDialog"));
78 AboutDialog->resize(740, 610);
79 verticalLayout_6 =
new QVBoxLayout(AboutDialog);
80 verticalLayout_6->setObjectName(QStringLiteral(
"verticalLayout_6"));
81 tabWidget =
new QTabWidget(AboutDialog);
82 tabWidget->setObjectName(QStringLiteral(
"tabWidget"));
83 tabWidget->setMinimumSize(QSize(371, 231));
84 tabWidget->setDocumentMode(
false);
85 tab_wireshark =
new QWidget();
86 tab_wireshark->setObjectName(QStringLiteral(
"tab_wireshark"));
87 tab_wireshark->setEnabled(
true);
88 verticalLayout =
new QVBoxLayout(tab_wireshark);
89 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
90 label_logo =
new QLabel(tab_wireshark);
91 label_logo->setObjectName(QStringLiteral(
"label_logo"));
92 label_logo->setPixmap(QPixmap(QString::fromUtf8(
":/about/wssplash.png")));
93 label_logo->setScaledContents(
false);
94 label_logo->setAlignment(Qt::AlignHCenter|Qt::AlignTop);
96 verticalLayout->addWidget(label_logo);
98 label_title =
new QLabel(tab_wireshark);
99 label_title->setObjectName(QStringLiteral(
"label_title"));
100 label_title->setAlignment(Qt::AlignCenter);
102 verticalLayout->addWidget(label_title);
104 horizontalLayout =
new QHBoxLayout();
105 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
106 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
108 horizontalLayout->addItem(horizontalSpacer);
110 label_wireshark =
new QLabel(tab_wireshark);
111 label_wireshark->setObjectName(QStringLiteral(
"label_wireshark"));
113 horizontalLayout->addWidget(label_wireshark);
115 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
117 horizontalLayout->addItem(horizontalSpacer_2);
120 verticalLayout->addLayout(horizontalLayout);
122 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
124 verticalLayout->addItem(verticalSpacer);
126 verticalLayout->setStretch(1, 1);
127 verticalLayout->setStretch(3, 1);
128 tabWidget->addTab(tab_wireshark, QString());
129 tab_authors =
new QWidget();
130 tab_authors->setObjectName(QStringLiteral(
"tab_authors"));
131 verticalLayout_2 =
new QVBoxLayout(tab_authors);
132 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
133 searchAuthors =
new QLineEdit(tab_authors);
134 searchAuthors->setObjectName(QStringLiteral(
"searchAuthors"));
136 verticalLayout_2->addWidget(searchAuthors);
138 tblAuthors =
new QTreeView(tab_authors);
139 tblAuthors->setObjectName(QStringLiteral(
"tblAuthors"));
140 tblAuthors->setEditTriggers(QAbstractItemView::NoEditTriggers);
141 tblAuthors->setSelectionMode(QAbstractItemView::ContiguousSelection);
142 tblAuthors->setSelectionBehavior(QAbstractItemView::SelectRows);
143 tblAuthors->header()->setMinimumSectionSize(100);
144 tblAuthors->header()->setStretchLastSection(
true);
146 verticalLayout_2->addWidget(tblAuthors);
148 tabWidget->addTab(tab_authors, QString());
149 tab_folders =
new QWidget();
150 tab_folders->setObjectName(QStringLiteral(
"tab_folders"));
151 verticalLayout_3 =
new QVBoxLayout(tab_folders);
152 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
153 searchFolders =
new QLineEdit(tab_folders);
154 searchFolders->setObjectName(QStringLiteral(
"searchFolders"));
156 verticalLayout_3->addWidget(searchFolders);
158 tblFolders =
new QTreeView(tab_folders);
159 tblFolders->setObjectName(QStringLiteral(
"tblFolders"));
160 tblFolders->setEditTriggers(QAbstractItemView::NoEditTriggers);
161 tblFolders->setSelectionMode(QAbstractItemView::ContiguousSelection);
162 tblFolders->setSelectionBehavior(QAbstractItemView::SelectRows);
164 verticalLayout_3->addWidget(tblFolders);
166 tabWidget->addTab(tab_folders, QString());
167 tab_plugins =
new QWidget();
168 tab_plugins->setObjectName(QStringLiteral(
"tab_plugins"));
169 verticalLayout_4 =
new QVBoxLayout(tab_plugins);
170 verticalLayout_4->setObjectName(QStringLiteral(
"verticalLayout_4"));
171 label_no_plugins =
new QLabel(tab_plugins);
172 label_no_plugins->setObjectName(QStringLiteral(
"label_no_plugins"));
174 verticalLayout_4->addWidget(label_no_plugins);
176 horizontalLayout_3 =
new QHBoxLayout();
177 horizontalLayout_3->setObjectName(QStringLiteral(
"horizontalLayout_3"));
178 searchPlugins =
new QLineEdit(tab_plugins);
179 searchPlugins->setObjectName(QStringLiteral(
"searchPlugins"));
181 horizontalLayout_3->addWidget(searchPlugins);
183 label =
new QLabel(tab_plugins);
184 label->setObjectName(QStringLiteral(
"label"));
186 horizontalLayout_3->addWidget(label);
188 cmbType =
new QComboBox(tab_plugins);
189 cmbType->setObjectName(QStringLiteral(
"cmbType"));
191 horizontalLayout_3->addWidget(cmbType);
194 verticalLayout_4->addLayout(horizontalLayout_3);
196 tblPlugins =
new QTreeView(tab_plugins);
197 tblPlugins->setObjectName(QStringLiteral(
"tblPlugins"));
198 tblPlugins->setEditTriggers(QAbstractItemView::NoEditTriggers);
199 tblPlugins->setSelectionMode(QAbstractItemView::ContiguousSelection);
200 tblPlugins->setSelectionBehavior(QAbstractItemView::SelectRows);
202 verticalLayout_4->addWidget(tblPlugins);
204 tabWidget->addTab(tab_plugins, QString());
205 tab_shortcuts =
new QWidget();
206 tab_shortcuts->setObjectName(QStringLiteral(
"tab_shortcuts"));
207 verticalLayout_shortcuts =
new QVBoxLayout(tab_shortcuts);
208 verticalLayout_shortcuts->setObjectName(QStringLiteral(
"verticalLayout_shortcuts"));
209 searchShortcuts =
new QLineEdit(tab_shortcuts);
210 searchShortcuts->setObjectName(QStringLiteral(
"searchShortcuts"));
212 verticalLayout_shortcuts->addWidget(searchShortcuts);
214 tblShortcuts =
new QTreeView(tab_shortcuts);
215 tblShortcuts->setObjectName(QStringLiteral(
"tblShortcuts"));
216 tblShortcuts->setEditTriggers(QAbstractItemView::NoEditTriggers);
217 tblShortcuts->setSelectionMode(QAbstractItemView::ContiguousSelection);
218 tblShortcuts->setSelectionBehavior(QAbstractItemView::SelectRows);
219 tblShortcuts->setTextElideMode(Qt::ElideRight);
220 tblShortcuts->setWordWrap(
true);
222 verticalLayout_shortcuts->addWidget(tblShortcuts);
224 tabWidget->addTab(tab_shortcuts, QString());
225 tab_acknowledgements =
new QWidget();
226 tab_acknowledgements->setObjectName(QStringLiteral(
"tab_acknowledgements"));
227 verticalLayout_8 =
new QVBoxLayout(tab_acknowledgements);
228 verticalLayout_8->setObjectName(QStringLiteral(
"verticalLayout_8"));
229 pte_Authors =
new QPlainTextEdit(tab_acknowledgements);
230 pte_Authors->setObjectName(QStringLiteral(
"pte_Authors"));
231 pte_Authors->setReadOnly(
true);
233 verticalLayout_8->addWidget(pte_Authors);
235 tabWidget->addTab(tab_acknowledgements, QString());
236 tab_license =
new QWidget();
237 tab_license->setObjectName(QStringLiteral(
"tab_license"));
238 verticalLayout_5 =
new QVBoxLayout(tab_license);
239 verticalLayout_5->setObjectName(QStringLiteral(
"verticalLayout_5"));
240 pte_License =
new QPlainTextEdit(tab_license);
241 pte_License->setObjectName(QStringLiteral(
"pte_License"));
242 pte_License->setReadOnly(
true);
244 verticalLayout_5->addWidget(pte_License);
246 tabWidget->addTab(tab_license, QString());
248 verticalLayout_6->addWidget(tabWidget);
250 buttonBox =
new QDialogButtonBox(AboutDialog);
251 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
252 buttonBox->setOrientation(Qt::Horizontal);
253 buttonBox->setStandardButtons(QDialogButtonBox::Ok);
255 verticalLayout_6->addWidget(buttonBox);
258 retranslateUi(AboutDialog);
259 QObject::connect(buttonBox, SIGNAL(accepted()), AboutDialog, SLOT(accept()));
260 QObject::connect(buttonBox, SIGNAL(rejected()), AboutDialog, SLOT(reject()));
262 tabWidget->setCurrentIndex(0);
265 QMetaObject::connectSlotsByName(AboutDialog);
268 void retranslateUi(QDialog *AboutDialog)
270 AboutDialog->setWindowTitle(QApplication::translate(
"AboutDialog",
"About Wireshark", 0));
271 label_logo->setText(QString());
272 label_title->setText(QApplication::translate(
"AboutDialog",
"<span size=\\\"x-large\\\" weight=\\\"bold\\\">Network Protocol Analyzer</span>", 0));
273 label_wireshark->setText(QString());
274 tabWidget->setTabText(tabWidget->indexOf(tab_wireshark), QApplication::translate(
"AboutDialog",
"Wireshark", 0));
275 searchAuthors->setPlaceholderText(QApplication::translate(
"AboutDialog",
"Search Authors", 0));
276 tabWidget->setTabText(tabWidget->indexOf(tab_authors), QApplication::translate(
"AboutDialog",
"Authors", 0));
277 searchFolders->setPlaceholderText(QApplication::translate(
"AboutDialog",
"Filter by path", 0));
278 tabWidget->setTabText(tabWidget->indexOf(tab_folders), QApplication::translate(
"AboutDialog",
"Folders", 0));
279 label_no_plugins->setText(QApplication::translate(
"AboutDialog",
"No plugins found.", 0));
280 searchPlugins->setPlaceholderText(QApplication::translate(
"AboutDialog",
"Search Plugins", 0));
281 label->setText(QApplication::translate(
"AboutDialog",
"Filter by type:", 0));
282 tabWidget->setTabText(tabWidget->indexOf(tab_plugins), QApplication::translate(
"AboutDialog",
"Plugins", 0));
283 searchShortcuts->setPlaceholderText(QApplication::translate(
"AboutDialog",
"Search Shortcuts", 0));
284 tabWidget->setTabText(tabWidget->indexOf(tab_shortcuts), QApplication::translate(
"AboutDialog",
"Keyboard Shortcuts", 0));
285 tabWidget->setTabText(tabWidget->indexOf(tab_acknowledgements), QApplication::translate(
"AboutDialog",
"Acknowledgments", 0));
286 tabWidget->setTabText(tabWidget->indexOf(tab_license), QApplication::translate(
"AboutDialog",
"License", 0));
297 #endif // UI_ABOUT_DIALOG_H Definition: ui_about_dialog.h:291
Definition: about_dialog.h:81
Definition: ui_about_dialog.h:32
Definition: ui_about_dialog.h:292