Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ui_profile_dialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'profile_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_PROFILE_DIALOG_H
10 #define UI_PROFILE_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/QTreeWidget>
23 #include <QtWidgets/QVBoxLayout>
24 #include "widgets/elided_label.h"
25
26 QT_BEGIN_NAMESPACE
27
28 class Ui_ProfileDialog
29 {
30 public:
31 QVBoxLayout *verticalLayout;
32 QTreeWidget *profileTreeWidget;
33 QHBoxLayout *horizontalLayout;
34 QToolButton *newToolButton;
35 QToolButton *deleteToolButton;
36 QToolButton *copyToolButton;
37 QSpacerItem *horizontalSpacer;
38 ElidedLabel *infoLabel;
39 QDialogButtonBox *buttonBox;
40
41 void setupUi(QDialog *ProfileDialog)
42 {
43 if (ProfileDialog->objectName().isEmpty())
44 ProfileDialog->setObjectName(QStringLiteral("ProfileDialog"));
45 ProfileDialog->resize(470, 300);
46 verticalLayout = new QVBoxLayout(ProfileDialog);
47 verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
48 profileTreeWidget = new QTreeWidget(ProfileDialog);
49 profileTreeWidget->setObjectName(QStringLiteral("profileTreeWidget"));
50 profileTreeWidget->setRootIsDecorated(false);
51 profileTreeWidget->setUniformRowHeights(true);
52 profileTreeWidget->setItemsExpandable(false);
53 profileTreeWidget->setHeaderHidden(true);
54 profileTreeWidget->setExpandsOnDoubleClick(false);
55 profileTreeWidget->setColumnCount(1);
56
57 verticalLayout->addWidget(profileTreeWidget);
58
59 horizontalLayout = new QHBoxLayout();
60 horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
61 newToolButton = new QToolButton(ProfileDialog);
62 newToolButton->setObjectName(QStringLiteral("newToolButton"));
63 QIcon icon;
64 icon.addFile(QStringLiteral(":/stock/plus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
65 newToolButton->setIcon(icon);
66
67 horizontalLayout->addWidget(newToolButton);
68
69 deleteToolButton = new QToolButton(ProfileDialog);
70 deleteToolButton->setObjectName(QStringLiteral("deleteToolButton"));
71 QIcon icon1;
72 icon1.addFile(QStringLiteral(":/stock/minus-8.png"), QSize(), QIcon::Normal, QIcon::Off);
73 deleteToolButton->setIcon(icon1);
74
75 horizontalLayout->addWidget(deleteToolButton);
76
77 copyToolButton = new QToolButton(ProfileDialog);
78 copyToolButton->setObjectName(QStringLiteral("copyToolButton"));
79 QIcon icon2;
80 icon2.addFile(QStringLiteral(":/stock/copy-8.png"), QSize(), QIcon::Normal, QIcon::Off);
81 copyToolButton->setIcon(icon2);
82
83 horizontalLayout->addWidget(copyToolButton);
84
85 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
86
87 horizontalLayout->addItem(horizontalSpacer);
88
89 infoLabel = new ElidedLabel(ProfileDialog);
90 infoLabel->setObjectName(QStringLiteral("infoLabel"));
91 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
92 sizePolicy.setHorizontalStretch(1);
93 sizePolicy.setVerticalStretch(0);
94 sizePolicy.setHeightForWidth(infoLabel->sizePolicy().hasHeightForWidth());
95 infoLabel->setSizePolicy(sizePolicy);
96 infoLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
97 infoLabel->setOpenExternalLinks(true);
98
99 horizontalLayout->addWidget(infoLabel);
100
101 horizontalLayout->setStretch(4, 1);
102
103 verticalLayout->addLayout(horizontalLayout);
104
105 buttonBox = new QDialogButtonBox(ProfileDialog);
106 buttonBox->setObjectName(QStringLiteral("buttonBox"));
107 buttonBox->setOrientation(Qt::Horizontal);
108 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);
109
110 verticalLayout->addWidget(buttonBox);
111
112
113 retranslateUi(ProfileDialog);
114 QObject::connect(buttonBox, SIGNAL(accepted()), ProfileDialog, SLOT(accept()));
115 QObject::connect(buttonBox, SIGNAL(rejected()), ProfileDialog, SLOT(reject()));
116
117 QMetaObject::connectSlotsByName(ProfileDialog);
118 } // setupUi
119
120 void retranslateUi(QDialog *ProfileDialog)
121 {
122 QTreeWidgetItem *___qtreewidgetitem = profileTreeWidget->headerItem();
123 ___qtreewidgetitem->setText(0, QApplication::translate("ProfileDialog", "Name", 0));
124 #ifndef QT_NO_TOOLTIP
125 newToolButton->setToolTip(QApplication::translate("ProfileDialog", "Create a new profile using default settings.", 0));
126 #endif // QT_NO_TOOLTIP
127 newToolButton->setText(QString());
128 #ifndef QT_NO_TOOLTIP
129 deleteToolButton->setToolTip(QApplication::translate("ProfileDialog", "Remove this profile. System provided profiles cannot be removed.", 0));
130 #endif // QT_NO_TOOLTIP
131 #ifndef QT_NO_TOOLTIP
132 copyToolButton->setToolTip(QApplication::translate("ProfileDialog", "Copy this profile.", 0));
133 #endif // QT_NO_TOOLTIP
134 copyToolButton->setText(QString());
135 infoLabel->setText(QString());
136 Q_UNUSED(ProfileDialog);
137 } // retranslateUi
138
139 };
140
141 namespace Ui {
142 class ProfileDialog: public Ui_ProfileDialog {};
143 } // namespace Ui
144
145 QT_END_NAMESPACE
146
147 #endif // UI_PROFILE_DIALOG_H
Ui
Definition: ui_about_dialog.h:291
ProfileDialog
Definition: profile_dialog.h:22
Ui_ProfileDialog
Definition: ui_profile_dialog.h:28
Ui::ProfileDialog
Definition: ui_profile_dialog.h:142
ElidedLabel
Definition: elided_label.h:15