1/*
2*********************************************************************
3**
4** Copyright (C) 2016 The Qt Company Ltd.
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the Qt Designer of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:GPL-EXCEPT$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU
20** General Public License version 3 as published by the Free Software
21** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
22** included in the packaging of this file. Please review the following
23** information to ensure the GNU General Public License requirements will
24** be met: https://www.gnu.org/licenses/gpl-3.0.html.
25**
26** $QT_END_LICENSE$
27**
28*********************************************************************
29*/
30
31/********************************************************************************
32** Form generated from reading UI file 'newactiondialog.ui'
33**
34** Created by: Qt User Interface Compiler version 5.14.0
35**
36** WARNING! All changes made in this file will be lost when recompiling UI file!
37********************************************************************************/
38
39#ifndef UI_NEWACTIONDIALOG_H
40#define UI_NEWACTIONDIALOG_H
41
42#include <QtCore/QVariant>
43#include <QtWidgets/QApplication>
44#include <QtWidgets/QCheckBox>
45#include <QtWidgets/QDialog>
46#include <QtWidgets/QDialogButtonBox>
47#include <QtWidgets/QFormLayout>
48#include <QtWidgets/QFrame>
49#include <QtWidgets/QHBoxLayout>
50#include <QtWidgets/QKeySequenceEdit>
51#include <QtWidgets/QLabel>
52#include <QtWidgets/QLineEdit>
53#include <QtWidgets/QSpacerItem>
54#include <QtWidgets/QToolButton>
55#include <QtWidgets/QVBoxLayout>
56#include "iconselector_p.h"
57#include "textpropertyeditor_p.h"
58
59QT_BEGIN_NAMESPACE
60
61namespace qdesigner_internal {
62
63class Ui_NewActionDialog
64{
65public:
66 QVBoxLayout *verticalLayout;
67 QFormLayout *formLayout;
68 QLabel *textLabel;
69 QLineEdit *editActionText;
70 QLabel *objectNameLabel;
71 QLineEdit *editObjectName;
72 QLabel *toolTipLabel;
73 QHBoxLayout *toolTipLayout;
74 TextPropertyEditor *tooltipEditor;
75 QToolButton *toolTipToolButton;
76 QLabel *iconThemeLabel;
77 qdesigner_internal::IconThemeEditor *iconThemeEditor;
78 QLabel *iconLabel;
79 QHBoxLayout *horizontalLayout;
80 qdesigner_internal::IconSelector *iconSelector;
81 QSpacerItem *spacerItem;
82 QCheckBox *checkableCheckBox;
83 QLabel *checkableLabel;
84 QLabel *shortcutLabel;
85 QHBoxLayout *keysequenceLayout;
86 QKeySequenceEdit *keySequenceEdit;
87 QToolButton *keysequenceResetToolButton;
88 QSpacerItem *verticalSpacer;
89 QFrame *line;
90 QDialogButtonBox *buttonBox;
91
92 void setupUi(QDialog *qdesigner_internal__NewActionDialog)
93 {
94 if (qdesigner_internal__NewActionDialog->objectName().isEmpty())
95 qdesigner_internal__NewActionDialog->setObjectName(QString::fromUtf8("qdesigner_internal__NewActionDialog"));
96 qdesigner_internal__NewActionDialog->resize(366, 270);
97 verticalLayout = new QVBoxLayout(qdesigner_internal__NewActionDialog);
98 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
99 formLayout = new QFormLayout();
100 formLayout->setObjectName(QString::fromUtf8("formLayout"));
101 formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
102 textLabel = new QLabel(qdesigner_internal__NewActionDialog);
103 textLabel->setObjectName(QString::fromUtf8("textLabel"));
104
105 formLayout->setWidget(0, QFormLayout::LabelRole, textLabel);
106
107 editActionText = new QLineEdit(qdesigner_internal__NewActionDialog);
108 editActionText->setObjectName(QString::fromUtf8("editActionText"));
109 editActionText->setMinimumSize(QSize(255, 0));
110
111 formLayout->setWidget(0, QFormLayout::FieldRole, editActionText);
112
113 objectNameLabel = new QLabel(qdesigner_internal__NewActionDialog);
114 objectNameLabel->setObjectName(QString::fromUtf8("objectNameLabel"));
115
116 formLayout->setWidget(1, QFormLayout::LabelRole, objectNameLabel);
117
118 editObjectName = new QLineEdit(qdesigner_internal__NewActionDialog);
119 editObjectName->setObjectName(QString::fromUtf8("editObjectName"));
120
121 formLayout->setWidget(1, QFormLayout::FieldRole, editObjectName);
122
123 toolTipLabel = new QLabel(qdesigner_internal__NewActionDialog);
124 toolTipLabel->setObjectName(QString::fromUtf8("toolTipLabel"));
125
126 formLayout->setWidget(2, QFormLayout::LabelRole, toolTipLabel);
127
128 toolTipLayout = new QHBoxLayout();
129 toolTipLayout->setObjectName(QString::fromUtf8("toolTipLayout"));
130 tooltipEditor = new TextPropertyEditor(qdesigner_internal__NewActionDialog);
131 tooltipEditor->setObjectName(QString::fromUtf8("tooltipEditor"));
132 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
133 sizePolicy.setHorizontalStretch(0);
134 sizePolicy.setVerticalStretch(0);
135 sizePolicy.setHeightForWidth(tooltipEditor->sizePolicy().hasHeightForWidth());
136 tooltipEditor->setSizePolicy(sizePolicy);
137
138 toolTipLayout->addWidget(tooltipEditor);
139
140 toolTipToolButton = new QToolButton(qdesigner_internal__NewActionDialog);
141 toolTipToolButton->setObjectName(QString::fromUtf8("toolTipToolButton"));
142
143 toolTipLayout->addWidget(toolTipToolButton);
144
145
146 formLayout->setLayout(2, QFormLayout::FieldRole, toolTipLayout);
147
148 iconThemeLabel = new QLabel(qdesigner_internal__NewActionDialog);
149 iconThemeLabel->setObjectName(QString::fromUtf8("iconThemeLabel"));
150
151 formLayout->setWidget(3, QFormLayout::LabelRole, iconThemeLabel);
152
153 iconThemeEditor = new qdesigner_internal::IconThemeEditor(qdesigner_internal__NewActionDialog);
154 iconThemeEditor->setObjectName(QString::fromUtf8("iconThemeEditor"));
155
156 formLayout->setWidget(3, QFormLayout::FieldRole, iconThemeEditor);
157
158 iconLabel = new QLabel(qdesigner_internal__NewActionDialog);
159 iconLabel->setObjectName(QString::fromUtf8("iconLabel"));
160
161 formLayout->setWidget(4, QFormLayout::LabelRole, iconLabel);
162
163 horizontalLayout = new QHBoxLayout();
164 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
165 iconSelector = new qdesigner_internal::IconSelector(qdesigner_internal__NewActionDialog);
166 iconSelector->setObjectName(QString::fromUtf8("iconSelector"));
167
168 horizontalLayout->addWidget(iconSelector);
169
170 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
171
172 horizontalLayout->addItem(spacerItem);
173
174
175 formLayout->setLayout(4, QFormLayout::FieldRole, horizontalLayout);
176
177 checkableCheckBox = new QCheckBox(qdesigner_internal__NewActionDialog);
178 checkableCheckBox->setObjectName(QString::fromUtf8("checkableCheckBox"));
179
180 formLayout->setWidget(5, QFormLayout::FieldRole, checkableCheckBox);
181
182 checkableLabel = new QLabel(qdesigner_internal__NewActionDialog);
183 checkableLabel->setObjectName(QString::fromUtf8("checkableLabel"));
184
185 formLayout->setWidget(5, QFormLayout::LabelRole, checkableLabel);
186
187 shortcutLabel = new QLabel(qdesigner_internal__NewActionDialog);
188 shortcutLabel->setObjectName(QString::fromUtf8("shortcutLabel"));
189
190 formLayout->setWidget(6, QFormLayout::LabelRole, shortcutLabel);
191
192 keysequenceLayout = new QHBoxLayout();
193 keysequenceLayout->setObjectName(QString::fromUtf8("keysequenceLayout"));
194 keySequenceEdit = new QKeySequenceEdit(qdesigner_internal__NewActionDialog);
195 keySequenceEdit->setObjectName(QString::fromUtf8("keySequenceEdit"));
196 sizePolicy.setHeightForWidth(keySequenceEdit->sizePolicy().hasHeightForWidth());
197 keySequenceEdit->setSizePolicy(sizePolicy);
198
199 keysequenceLayout->addWidget(keySequenceEdit);
200
201 keysequenceResetToolButton = new QToolButton(qdesigner_internal__NewActionDialog);
202 keysequenceResetToolButton->setObjectName(QString::fromUtf8("keysequenceResetToolButton"));
203
204 keysequenceLayout->addWidget(keysequenceResetToolButton);
205
206
207 formLayout->setLayout(6, QFormLayout::FieldRole, keysequenceLayout);
208
209
210 verticalLayout->addLayout(formLayout);
211
212 verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
213
214 verticalLayout->addItem(verticalSpacer);
215
216 line = new QFrame(qdesigner_internal__NewActionDialog);
217 line->setObjectName(QString::fromUtf8("line"));
218 line->setFrameShape(QFrame::HLine);
219 line->setFrameShadow(QFrame::Sunken);
220
221 verticalLayout->addWidget(line);
222
223 buttonBox = new QDialogButtonBox(qdesigner_internal__NewActionDialog);
224 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
225 buttonBox->setOrientation(Qt::Horizontal);
226 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
227
228 verticalLayout->addWidget(buttonBox);
229
230#if QT_CONFIG(shortcut)
231 textLabel->setBuddy(editActionText);
232 objectNameLabel->setBuddy(editObjectName);
233 toolTipLabel->setBuddy(tooltipEditor);
234 iconThemeLabel->setBuddy(iconThemeEditor);
235 iconLabel->setBuddy(iconSelector);
236 checkableLabel->setBuddy(checkableCheckBox);
237 shortcutLabel->setBuddy(keySequenceEdit);
238#endif // QT_CONFIG(shortcut)
239 QWidget::setTabOrder(editActionText, editObjectName);
240
241 retranslateUi(qdesigner_internal__NewActionDialog);
242 QObject::connect(buttonBox, SIGNAL(accepted()), qdesigner_internal__NewActionDialog, SLOT(accept()));
243 QObject::connect(buttonBox, SIGNAL(rejected()), qdesigner_internal__NewActionDialog, SLOT(reject()));
244
245 QMetaObject::connectSlotsByName(qdesigner_internal__NewActionDialog);
246 } // setupUi
247
248 void retranslateUi(QDialog *qdesigner_internal__NewActionDialog)
249 {
250 qdesigner_internal__NewActionDialog->setWindowTitle(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "New Action...", nullptr));
251 textLabel->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "&Text:", nullptr));
252 objectNameLabel->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "Object &name:", nullptr));
253 toolTipLabel->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "T&oolTip:", nullptr));
254 toolTipToolButton->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "...", nullptr));
255 iconThemeLabel->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "Icon th&eme:", nullptr));
256 iconLabel->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "&Icon:", nullptr));
257 checkableCheckBox->setText(QString());
258 checkableLabel->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "&Checkable:", nullptr));
259 shortcutLabel->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "&Shortcut:", nullptr));
260 keysequenceResetToolButton->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "...", nullptr));
261 } // retranslateUi
262
263};
264
265} // namespace qdesigner_internal
266
267namespace qdesigner_internal {
268namespace Ui {
269 class NewActionDialog: public Ui_NewActionDialog {};
270} // namespace Ui
271} // namespace qdesigner_internal
272
273QT_END_NAMESPACE
274
275#endif // UI_NEWACTIONDIALOG_H
276