Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
ui_decode_as_dialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'decode_as_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_DECODE_AS_DIALOG_H
10 #define UI_DECODE_AS_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/QSpacerItem>
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_2;
32  TabnavTreeView *decodeAsTreeView;
33  QHBoxLayout *horizontalLayout;
34  QToolButton *newToolButton;
35  QToolButton *deleteToolButton;
36  QToolButton *copyToolButton;
37  QSpacerItem *horizontalSpacer;
38  ElidedLabel *pathLabel;
39  QDialogButtonBox *buttonBox;
40 
41  void setupUi(QDialog *DecodeAsDialog)
42  {
43  if (DecodeAsDialog->objectName().isEmpty())
44  DecodeAsDialog->setObjectName(QStringLiteral("DecodeAsDialog"));
45  DecodeAsDialog->resize(750, 460);
46  verticalLayout_2 = new QVBoxLayout(DecodeAsDialog);
47  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
48  decodeAsTreeView = new TabnavTreeView(DecodeAsDialog);
49  decodeAsTreeView->setObjectName(QStringLiteral("decodeAsTreeView"));
50  decodeAsTreeView->setIndentation(0);
51 
52  verticalLayout_2->addWidget(decodeAsTreeView);
53 
54  horizontalLayout = new QHBoxLayout();
55  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
56  newToolButton = new QToolButton(DecodeAsDialog);
57  newToolButton->setObjectName(QStringLiteral("newToolButton"));
58  QIcon icon;
59  icon.addFile(QStringLiteral(":/stock/plus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
60  newToolButton->setIcon(icon);
61 
62  horizontalLayout->addWidget(newToolButton);
63 
64  deleteToolButton = new QToolButton(DecodeAsDialog);
65  deleteToolButton->setObjectName(QStringLiteral("deleteToolButton"));
66  deleteToolButton->setEnabled(false);
67  QIcon icon1;
68  icon1.addFile(QStringLiteral(":/stock/minus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
69  deleteToolButton->setIcon(icon1);
70 
71  horizontalLayout->addWidget(deleteToolButton);
72 
73  copyToolButton = new QToolButton(DecodeAsDialog);
74  copyToolButton->setObjectName(QStringLiteral("copyToolButton"));
75  QIcon icon2;
76  icon2.addFile(QStringLiteral(":/stock/copy-8.png"), QSize(), QIcon::Normal, QIcon::Off);
77  copyToolButton->setIcon(icon2);
78 
79  horizontalLayout->addWidget(copyToolButton);
80 
81  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
82 
83  horizontalLayout->addItem(horizontalSpacer);
84 
85  pathLabel = new ElidedLabel(DecodeAsDialog);
86  pathLabel->setObjectName(QStringLiteral("pathLabel"));
87  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
88  sizePolicy.setHorizontalStretch(1);
89  sizePolicy.setVerticalStretch(0);
90  sizePolicy.setHeightForWidth(pathLabel->sizePolicy().hasHeightForWidth());
91  pathLabel->setSizePolicy(sizePolicy);
92  pathLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
93  pathLabel->setOpenExternalLinks(true);
94 
95  horizontalLayout->addWidget(pathLabel);
96 
97  horizontalLayout->setStretch(4, 1);
98 
99  verticalLayout_2->addLayout(horizontalLayout);
100 
101  buttonBox = new QDialogButtonBox(DecodeAsDialog);
102  buttonBox->setObjectName(QStringLiteral("buttonBox"));
103  buttonBox->setOrientation(Qt::Horizontal);
104  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::Save);
105 
106  verticalLayout_2->addWidget(buttonBox);
107 
108 
109  retranslateUi(DecodeAsDialog);
110  QObject::connect(buttonBox, SIGNAL(accepted()), DecodeAsDialog, SLOT(accept()));
111  QObject::connect(buttonBox, SIGNAL(rejected()), DecodeAsDialog, SLOT(reject()));
112 
113  QMetaObject::connectSlotsByName(DecodeAsDialog);
114  } // setupUi
115 
116  void retranslateUi(QDialog *DecodeAsDialog)
117  {
118 #ifndef QT_NO_TOOLTIP
119  newToolButton->setToolTip(QApplication::translate("DecodeAsDialog", "Change the dissection behavior for a protocol.", 0));
120 #endif // QT_NO_TOOLTIP
121  newToolButton->setText(QString());
122 #ifndef QT_NO_TOOLTIP
123  deleteToolButton->setToolTip(QApplication::translate("DecodeAsDialog", "Remove this dissection behavior.", 0));
124 #endif // QT_NO_TOOLTIP
125 #ifndef QT_NO_TOOLTIP
126  copyToolButton->setToolTip(QApplication::translate("DecodeAsDialog", "Copy this dissection behavior.", 0));
127 #endif // QT_NO_TOOLTIP
128  copyToolButton->setText(QString());
129  pathLabel->setText(QString());
130  Q_UNUSED(DecodeAsDialog);
131  } // retranslateUi
132 
133 };
134 
135 namespace Ui {
137 } // namespace Ui
138 
139 QT_END_NAMESPACE
140 
141 #endif // UI_DECODE_AS_DIALOG_H
Definition: ui_decode_as_dialog.h:28
Definition: decode_as_dialog.h:31
Definition: ui_about_dialog.h:291
Definition: tabnav_tree_view.h:23
Definition: elided_label.h:15
Definition: ui_decode_as_dialog.h:136