Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
ui_manage_interfaces_dialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'manage_interfaces_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_MANAGE_INTERFACES_DIALOG_H
10 #define UI_MANAGE_INTERFACES_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/QPushButton>
22 #include <QtWidgets/QSpacerItem>
23 #include <QtWidgets/QTabWidget>
24 #include <QtWidgets/QToolButton>
25 #include <QtWidgets/QTreeView>
26 #include <QtWidgets/QTreeWidget>
27 #include <QtWidgets/QVBoxLayout>
28 #include <QtWidgets/QWidget>
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QVBoxLayout *verticalLayout_4;
36  QTabWidget *tabWidget;
37  QWidget *localTab;
38  QVBoxLayout *verticalLayout;
39  QTreeView *localView;
40  QWidget *pipeTab;
41  QVBoxLayout *verticalLayout_2;
42  QTreeView *pipeView;
43  QHBoxLayout *horizontalLayout_2;
44  QToolButton *addPipe;
45  QToolButton *delPipe;
46  QSpacerItem *horizontalSpacer;
47  QWidget *remoteTab;
48  QVBoxLayout *verticalLayout_3;
49  QTreeWidget *remoteList;
50  QHBoxLayout *horizontalLayout_3;
51  QToolButton *addRemote;
52  QToolButton *delRemote;
53  QSpacerItem *horizontalSpacer_2;
54  QPushButton *remoteSettings;
55  QLabel *hintLabel;
56  QDialogButtonBox *buttonBox;
57 
58  void setupUi(QDialog *ManageInterfacesDialog)
59  {
60  if (ManageInterfacesDialog->objectName().isEmpty())
61  ManageInterfacesDialog->setObjectName(QStringLiteral("ManageInterfacesDialog"));
62  ManageInterfacesDialog->setWindowModality(Qt::ApplicationModal);
63  ManageInterfacesDialog->resize(750, 425);
64  ManageInterfacesDialog->setModal(false);
65  verticalLayout_4 = new QVBoxLayout(ManageInterfacesDialog);
66  verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
67  tabWidget = new QTabWidget(ManageInterfacesDialog);
68  tabWidget->setObjectName(QStringLiteral("tabWidget"));
69  localTab = new QWidget();
70  localTab->setObjectName(QStringLiteral("localTab"));
71  verticalLayout = new QVBoxLayout(localTab);
72  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
73  localView = new QTreeView(localTab);
74  localView->setObjectName(QStringLiteral("localView"));
75  localView->setFocusPolicy(Qt::NoFocus);
76  localView->setIndentation(0);
77  localView->setRootIsDecorated(false);
78  localView->setUniformRowHeights(true);
79  localView->setItemsExpandable(false);
80 
81  verticalLayout->addWidget(localView);
82 
83  tabWidget->addTab(localTab, QString());
84  pipeTab = new QWidget();
85  pipeTab->setObjectName(QStringLiteral("pipeTab"));
86  verticalLayout_2 = new QVBoxLayout(pipeTab);
87  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
88  pipeView = new QTreeView(pipeTab);
89  pipeView->setObjectName(QStringLiteral("pipeView"));
90  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
91  sizePolicy.setHorizontalStretch(0);
92  sizePolicy.setVerticalStretch(0);
93  sizePolicy.setHeightForWidth(pipeView->sizePolicy().hasHeightForWidth());
94  pipeView->setSizePolicy(sizePolicy);
95  pipeView->setBaseSize(QSize(0, 0));
96  pipeView->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
97  pipeView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
98  pipeView->setTextElideMode(Qt::ElideMiddle);
99  pipeView->setRootIsDecorated(false);
100  pipeView->setItemsExpandable(false);
101 
102  verticalLayout_2->addWidget(pipeView);
103 
104  horizontalLayout_2 = new QHBoxLayout();
105  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
106  addPipe = new QToolButton(pipeTab);
107  addPipe->setObjectName(QStringLiteral("addPipe"));
108  QIcon icon;
109  icon.addFile(QStringLiteral(":/stock/plus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
110  addPipe->setIcon(icon);
111 
112  horizontalLayout_2->addWidget(addPipe);
113 
114  delPipe = new QToolButton(pipeTab);
115  delPipe->setObjectName(QStringLiteral("delPipe"));
116  QIcon icon1;
117  icon1.addFile(QStringLiteral(":/stock/minus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
118  delPipe->setIcon(icon1);
119 
120  horizontalLayout_2->addWidget(delPipe);
121 
122  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
123 
124  horizontalLayout_2->addItem(horizontalSpacer);
125 
126 
127  verticalLayout_2->addLayout(horizontalLayout_2);
128 
129  tabWidget->addTab(pipeTab, QString());
130  remoteTab = new QWidget();
131  remoteTab->setObjectName(QStringLiteral("remoteTab"));
132  verticalLayout_3 = new QVBoxLayout(remoteTab);
133  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
134  remoteList = new QTreeWidget(remoteTab);
135  remoteList->setObjectName(QStringLiteral("remoteList"));
136  remoteList->setUniformRowHeights(true);
137 
138  verticalLayout_3->addWidget(remoteList);
139 
140  horizontalLayout_3 = new QHBoxLayout();
141  horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
142  addRemote = new QToolButton(remoteTab);
143  addRemote->setObjectName(QStringLiteral("addRemote"));
144  addRemote->setIcon(icon);
145 
146  horizontalLayout_3->addWidget(addRemote);
147 
148  delRemote = new QToolButton(remoteTab);
149  delRemote->setObjectName(QStringLiteral("delRemote"));
150  delRemote->setIcon(icon1);
151 
152  horizontalLayout_3->addWidget(delRemote);
153 
154  horizontalSpacer_2 = new QSpacerItem(328, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
155 
156  horizontalLayout_3->addItem(horizontalSpacer_2);
157 
158  remoteSettings = new QPushButton(remoteTab);
159  remoteSettings->setObjectName(QStringLiteral("remoteSettings"));
160 
161  horizontalLayout_3->addWidget(remoteSettings);
162 
163 
164  verticalLayout_3->addLayout(horizontalLayout_3);
165 
166  tabWidget->addTab(remoteTab, QString());
167 
168  verticalLayout_4->addWidget(tabWidget);
169 
170  hintLabel = new QLabel(ManageInterfacesDialog);
171  hintLabel->setObjectName(QStringLiteral("hintLabel"));
172  hintLabel->setWordWrap(true);
173 
174  verticalLayout_4->addWidget(hintLabel);
175 
176  buttonBox = new QDialogButtonBox(ManageInterfacesDialog);
177  buttonBox->setObjectName(QStringLiteral("buttonBox"));
178  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);
179 
180  verticalLayout_4->addWidget(buttonBox);
181 
182 
183  retranslateUi(ManageInterfacesDialog);
184  QObject::connect(buttonBox, SIGNAL(accepted()), ManageInterfacesDialog, SLOT(accept()));
185  QObject::connect(buttonBox, SIGNAL(rejected()), ManageInterfacesDialog, SLOT(reject()));
186 
187  tabWidget->setCurrentIndex(0);
188 
189 
190  QMetaObject::connectSlotsByName(ManageInterfacesDialog);
191  } // setupUi
192 
193  void retranslateUi(QDialog *ManageInterfacesDialog)
194  {
195  ManageInterfacesDialog->setWindowTitle(QApplication::translate("ManageInterfacesDialog", "Manage Interfaces", 0));
196 #ifndef QT_NO_TOOLTIP
197  localTab->setToolTip(QApplication::translate("ManageInterfacesDialog", "<html><head/><body><p>Click the checkbox to hide or show a hidden interface.</p></body></html>", 0));
198 #endif // QT_NO_TOOLTIP
199  tabWidget->setTabText(tabWidget->indexOf(localTab), QApplication::translate("ManageInterfacesDialog", "Local Interfaces", 0));
200 #ifndef QT_NO_TOOLTIP
201  pipeTab->setToolTip(QApplication::translate("ManageInterfacesDialog", "<html><head/><body><p>Add a pipe to capture from or remove an existing pipe from the list.</p></body></html>", 0));
202 #endif // QT_NO_TOOLTIP
203 #ifndef QT_NO_TOOLTIP
204  addPipe->setToolTip(QApplication::translate("ManageInterfacesDialog", "<html><head/><body><p>Add a new pipe using default settings.</p></body></html>", 0));
205 #endif // QT_NO_TOOLTIP
206  addPipe->setText(QString());
207 #ifndef QT_NO_TOOLTIP
208  delPipe->setToolTip(QApplication::translate("ManageInterfacesDialog", "<html><head/><body><p>Remove the selected pipe from the list.</p></body></html>", 0));
209 #endif // QT_NO_TOOLTIP
210  delPipe->setText(QString());
211  tabWidget->setTabText(tabWidget->indexOf(pipeTab), QApplication::translate("ManageInterfacesDialog", "Pipes", 0));
212  QTreeWidgetItem *___qtreewidgetitem = remoteList->headerItem();
213  ___qtreewidgetitem->setText(1, QApplication::translate("ManageInterfacesDialog", "Host / Device URL", 0));
214  ___qtreewidgetitem->setText(0, QApplication::translate("ManageInterfacesDialog", "Show", 0));
215 #ifndef QT_NO_TOOLTIP
216  addRemote->setToolTip(QApplication::translate("ManageInterfacesDialog", "<html><head/><body><p>Add a remote host and its interfaces</p></body></html>", 0));
217 #endif // QT_NO_TOOLTIP
218  addRemote->setText(QString());
219 #ifndef QT_NO_TOOLTIP
220  delRemote->setToolTip(QApplication::translate("ManageInterfacesDialog", "<html><head/><body><p>Remove the selected host from the list.</p></body></html>", 0));
221 #endif // QT_NO_TOOLTIP
222  delRemote->setText(QString());
223  remoteSettings->setText(QApplication::translate("ManageInterfacesDialog", "Remote Settings", 0));
224  tabWidget->setTabText(tabWidget->indexOf(remoteTab), QApplication::translate("ManageInterfacesDialog", "Remote Interfaces", 0));
225  hintLabel->setText(QApplication::translate("ManageInterfacesDialog", "<small><i></i></small>", 0));
226  } // retranslateUi
227 
228 };
229 
230 namespace Ui {
232 } // namespace Ui
233 
234 QT_END_NAMESPACE
235 
236 #endif // UI_MANAGE_INTERFACES_DIALOG_H
Definition: ui_manage_interfaces_dialog.h:231
Definition: ui_about_dialog.h:291
Definition: manage_interfaces_dialog.h:35
Definition: ui_manage_interfaces_dialog.h:32