Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
ui_uat_dialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'uat_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_UAT_DIALOG_H
10 #define UI_UAT_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/QToolButton>
22 #include <QtWidgets/QVBoxLayout>
23 #include "widgets/elided_label.h"
24 #include "widgets/tabnav_tree_view.h"
25 
26 QT_BEGIN_NAMESPACE
27 
29 {
30 public:
31  QVBoxLayout *verticalLayout;
32  TabnavTreeView *uatTreeView;
33  QLabel *hintLabel;
34  QHBoxLayout *horizontalLayout;
35  QToolButton *newToolButton;
36  QToolButton *deleteToolButton;
37  QToolButton *copyToolButton;
38  QToolButton *moveUpToolButton;
39  QToolButton *moveDownToolButton;
40  QToolButton *clearToolButton;
41  ElidedLabel *pathLabel;
42  QDialogButtonBox *buttonBox;
43 
44  void setupUi(QDialog *UatDialog)
45  {
46  if (UatDialog->objectName().isEmpty())
47  UatDialog->setObjectName(QStringLiteral("UatDialog"));
48  UatDialog->resize(566, 403);
49  verticalLayout = new QVBoxLayout(UatDialog);
50  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
51  uatTreeView = new TabnavTreeView(UatDialog);
52  uatTreeView->setObjectName(QStringLiteral("uatTreeView"));
53 
54  verticalLayout->addWidget(uatTreeView);
55 
56  hintLabel = new QLabel(UatDialog);
57  hintLabel->setObjectName(QStringLiteral("hintLabel"));
58  hintLabel->setStyleSheet(QStringLiteral("QLabel { color: red; }"));
59  hintLabel->setTextFormat(Qt::RichText);
60  hintLabel->setWordWrap(true);
61 
62  verticalLayout->addWidget(hintLabel);
63 
64  horizontalLayout = new QHBoxLayout();
65  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
66  newToolButton = new QToolButton(UatDialog);
67  newToolButton->setObjectName(QStringLiteral("newToolButton"));
68  QIcon icon;
69  icon.addFile(QStringLiteral(":/stock/plus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
70  newToolButton->setIcon(icon);
71 
72  horizontalLayout->addWidget(newToolButton);
73 
74  deleteToolButton = new QToolButton(UatDialog);
75  deleteToolButton->setObjectName(QStringLiteral("deleteToolButton"));
76  QIcon icon1;
77  icon1.addFile(QStringLiteral(":/stock/minus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
78  deleteToolButton->setIcon(icon1);
79 
80  horizontalLayout->addWidget(deleteToolButton);
81 
82  copyToolButton = new QToolButton(UatDialog);
83  copyToolButton->setObjectName(QStringLiteral("copyToolButton"));
84  QIcon icon2;
85  icon2.addFile(QStringLiteral(":/stock/copy-8.png"), QSize(), QIcon::Normal, QIcon::Off);
86  copyToolButton->setIcon(icon2);
87 
88  horizontalLayout->addWidget(copyToolButton);
89 
90  moveUpToolButton = new QToolButton(UatDialog);
91  moveUpToolButton->setObjectName(QStringLiteral("moveUpToolButton"));
92  QIcon icon3;
93  icon3.addFile(QStringLiteral(":/stock/arrow_up.png"), QSize(), QIcon::Normal, QIcon::Off);
94  moveUpToolButton->setIcon(icon3);
95 
96  horizontalLayout->addWidget(moveUpToolButton);
97 
98  moveDownToolButton = new QToolButton(UatDialog);
99  moveDownToolButton->setObjectName(QStringLiteral("moveDownToolButton"));
100  QIcon icon4;
101  icon4.addFile(QStringLiteral(":/stock/arrow_down.png"), QSize(), QIcon::Normal, QIcon::Off);
102  moveDownToolButton->setIcon(icon4);
103 
104  horizontalLayout->addWidget(moveDownToolButton);
105 
106  clearToolButton = new QToolButton(UatDialog);
107  clearToolButton->setObjectName(QStringLiteral("clearToolButton"));
108  QIcon icon5;
109  icon5.addFile(QStringLiteral(":/stock/delete_list.png"), QSize(), QIcon::Normal, QIcon::Off);
110  clearToolButton->setIcon(icon5);
111 
112  horizontalLayout->addWidget(clearToolButton);
113 
114  pathLabel = new ElidedLabel(UatDialog);
115  pathLabel->setObjectName(QStringLiteral("pathLabel"));
116  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
117  sizePolicy.setHorizontalStretch(1);
118  sizePolicy.setVerticalStretch(0);
119  sizePolicy.setHeightForWidth(pathLabel->sizePolicy().hasHeightForWidth());
120  pathLabel->setSizePolicy(sizePolicy);
121  pathLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
122  pathLabel->setOpenExternalLinks(true);
123 
124  horizontalLayout->addWidget(pathLabel);
125 
126  horizontalLayout->setStretch(4, 1);
127 
128  verticalLayout->addLayout(horizontalLayout);
129 
130  buttonBox = new QDialogButtonBox(UatDialog);
131  buttonBox->setObjectName(QStringLiteral("buttonBox"));
132  buttonBox->setOrientation(Qt::Horizontal);
133  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);
134 
135  verticalLayout->addWidget(buttonBox);
136 
137 
138  retranslateUi(UatDialog);
139  QObject::connect(buttonBox, SIGNAL(accepted()), UatDialog, SLOT(accept()));
140  QObject::connect(buttonBox, SIGNAL(rejected()), UatDialog, SLOT(reject()));
141 
142  QMetaObject::connectSlotsByName(UatDialog);
143  } // setupUi
144 
145  void retranslateUi(QDialog *UatDialog)
146  {
147  hintLabel->setText(QString());
148 #ifndef QT_NO_TOOLTIP
149  newToolButton->setToolTip(QApplication::translate("UatDialog", "Create a new entry.", 0));
150 #endif // QT_NO_TOOLTIP
151  newToolButton->setText(QString());
152 #ifndef QT_NO_TOOLTIP
153  deleteToolButton->setToolTip(QApplication::translate("UatDialog", "Remove this entry.", 0));
154 #endif // QT_NO_TOOLTIP
155 #ifndef QT_NO_TOOLTIP
156  copyToolButton->setToolTip(QApplication::translate("UatDialog", "Copy this entry.", 0));
157 #endif // QT_NO_TOOLTIP
158  copyToolButton->setText(QString());
159 #ifndef QT_NO_TOOLTIP
160  moveUpToolButton->setToolTip(QApplication::translate("UatDialog", "Move entry up.", 0));
161 #endif // QT_NO_TOOLTIP
162  moveUpToolButton->setText(QString());
163 #ifndef QT_NO_TOOLTIP
164  moveDownToolButton->setToolTip(QApplication::translate("UatDialog", "Move entry down.", 0));
165 #endif // QT_NO_TOOLTIP
166  moveDownToolButton->setText(QString());
167 #ifndef QT_NO_TOOLTIP
168  clearToolButton->setToolTip(QApplication::translate("UatDialog", "Clear all entries.", 0));
169 #endif // QT_NO_TOOLTIP
170  clearToolButton->setText(QString());
171  pathLabel->setText(QString());
172  Q_UNUSED(UatDialog);
173  } // retranslateUi
174 
175 };
176 
177 namespace Ui {
178  class UatDialog: public Ui_UatDialog {};
179 } // namespace Ui
180 
181 QT_END_NAMESPACE
182 
183 #endif // UI_UAT_DIALOG_H
Definition: ui_about_dialog.h:291
Definition: ui_uat_dialog.h:28
Definition: tabnav_tree_view.h:23
Definition: uat_dialog.h:30
Definition: ui_uat_dialog.h:178
Definition: elided_label.h:15