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.15.9
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(str: "qdesigner_internal__NewActionDialog"));
96 qdesigner_internal__NewActionDialog->resize(w: 366, h: 270);
97 verticalLayout = new QVBoxLayout(qdesigner_internal__NewActionDialog);
98 verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout"));
99 formLayout = new QFormLayout();
100 formLayout->setObjectName(QString::fromUtf8(str: "formLayout"));
101 formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
102 textLabel = new QLabel(qdesigner_internal__NewActionDialog);
103 textLabel->setObjectName(QString::fromUtf8(str: "textLabel"));
104
105 formLayout->setWidget(row: 0, role: QFormLayout::LabelRole, widget: textLabel);
106
107 editActionText = new QLineEdit(qdesigner_internal__NewActionDialog);
108 editActionText->setObjectName(QString::fromUtf8(str: "editActionText"));
109 editActionText->setMinimumSize(QSize(255, 0));
110
111 formLayout->setWidget(row: 0, role: QFormLayout::FieldRole, widget: editActionText);
112
113 objectNameLabel = new QLabel(qdesigner_internal__NewActionDialog);
114 objectNameLabel->setObjectName(QString::fromUtf8(str: "objectNameLabel"));
115
116 formLayout->setWidget(row: 1, role: QFormLayout::LabelRole, widget: objectNameLabel);
117
118 editObjectName = new QLineEdit(qdesigner_internal__NewActionDialog);
119 editObjectName->setObjectName(QString::fromUtf8(str: "editObjectName"));
120
121 formLayout->setWidget(row: 1, role: QFormLayout::FieldRole, widget: editObjectName);
122
123 toolTipLabel = new QLabel(qdesigner_internal__NewActionDialog);
124 toolTipLabel->setObjectName(QString::fromUtf8(str: "toolTipLabel"));
125
126 formLayout->setWidget(row: 2, role: QFormLayout::LabelRole, widget: toolTipLabel);
127
128 toolTipLayout = new QHBoxLayout();
129 toolTipLayout->setObjectName(QString::fromUtf8(str: "toolTipLayout"));
130 tooltipEditor = new TextPropertyEditor(qdesigner_internal__NewActionDialog);
131 tooltipEditor->setObjectName(QString::fromUtf8(str: "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(str: "toolTipToolButton"));
142
143 toolTipLayout->addWidget(toolTipToolButton);
144
145
146 formLayout->setLayout(row: 2, role: QFormLayout::FieldRole, layout: toolTipLayout);
147
148 iconThemeLabel = new QLabel(qdesigner_internal__NewActionDialog);
149 iconThemeLabel->setObjectName(QString::fromUtf8(str: "iconThemeLabel"));
150
151 formLayout->setWidget(row: 3, role: QFormLayout::LabelRole, widget: iconThemeLabel);
152
153 iconThemeEditor = new qdesigner_internal::IconThemeEditor(qdesigner_internal__NewActionDialog);
154 iconThemeEditor->setObjectName(QString::fromUtf8(str: "iconThemeEditor"));
155
156 formLayout->setWidget(row: 3, role: QFormLayout::FieldRole, widget: iconThemeEditor);
157
158 iconLabel = new QLabel(qdesigner_internal__NewActionDialog);
159 iconLabel->setObjectName(QString::fromUtf8(str: "iconLabel"));
160
161 formLayout->setWidget(row: 4, role: QFormLayout::LabelRole, widget: iconLabel);
162
163 horizontalLayout = new QHBoxLayout();
164 horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout"));
165 iconSelector = new qdesigner_internal::IconSelector(qdesigner_internal__NewActionDialog);
166 iconSelector->setObjectName(QString::fromUtf8(str: "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(row: 4, role: QFormLayout::FieldRole, layout: horizontalLayout);
176
177 checkableCheckBox = new QCheckBox(qdesigner_internal__NewActionDialog);
178 checkableCheckBox->setObjectName(QString::fromUtf8(str: "checkableCheckBox"));
179
180 formLayout->setWidget(row: 5, role: QFormLayout::FieldRole, widget: checkableCheckBox);
181
182 checkableLabel = new QLabel(qdesigner_internal__NewActionDialog);
183 checkableLabel->setObjectName(QString::fromUtf8(str: "checkableLabel"));
184
185 formLayout->setWidget(row: 5, role: QFormLayout::LabelRole, widget: checkableLabel);
186
187 shortcutLabel = new QLabel(qdesigner_internal__NewActionDialog);
188 shortcutLabel->setObjectName(QString::fromUtf8(str: "shortcutLabel"));
189
190 formLayout->setWidget(row: 6, role: QFormLayout::LabelRole, widget: shortcutLabel);
191
192 keysequenceLayout = new QHBoxLayout();
193 keysequenceLayout->setObjectName(QString::fromUtf8(str: "keysequenceLayout"));
194 keySequenceEdit = new QKeySequenceEdit(qdesigner_internal__NewActionDialog);
195 keySequenceEdit->setObjectName(QString::fromUtf8(str: "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(str: "keysequenceResetToolButton"));
203
204 keysequenceLayout->addWidget(keysequenceResetToolButton);
205
206
207 formLayout->setLayout(row: 6, role: QFormLayout::FieldRole, layout: keysequenceLayout);
208
209
210 verticalLayout->addLayout(layout: 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(str: "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(str: "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(sender: buttonBox, SIGNAL(accepted()), receiver: qdesigner_internal__NewActionDialog, SLOT(accept()));
243 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: qdesigner_internal__NewActionDialog, SLOT(reject()));
244
245 QMetaObject::connectSlotsByName(o: qdesigner_internal__NewActionDialog);
246 } // setupUi
247
248 void retranslateUi(QDialog *qdesigner_internal__NewActionDialog)
249 {
250 qdesigner_internal__NewActionDialog->setWindowTitle(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "New Action...", disambiguation: nullptr));
251 textLabel->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "&Text:", disambiguation: nullptr));
252 objectNameLabel->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "Object &name:", disambiguation: nullptr));
253 toolTipLabel->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "T&oolTip:", disambiguation: nullptr));
254 toolTipToolButton->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "...", disambiguation: nullptr));
255 iconThemeLabel->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "Icon th&eme:", disambiguation: nullptr));
256 iconLabel->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "&Icon:", disambiguation: nullptr));
257 checkableCheckBox->setText(QString());
258 checkableLabel->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "&Checkable:", disambiguation: nullptr));
259 shortcutLabel->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "&Shortcut:", disambiguation: nullptr));
260 keysequenceResetToolButton->setText(QCoreApplication::translate(context: "qdesigner_internal::NewActionDialog", key: "...", disambiguation: 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

source code of qttools/src/designer/src/lib/.uic/ui_newactiondialog.h