| 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 autotests 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.12.0 |
| 35 |
** |
| 36 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 37 |
********************************************************************************/ |
| 38 |
|
| 39 |
#ifndef NEWACTIONDIALOG_H |
| 40 |
#define NEWACTIONDIALOG_H |
| 41 |
|
| 42 |
#include <QtCore/QVariant> |
| 43 |
#include <QtWidgets/QApplication> |
| 44 |
#include <QtWidgets/QDialog> |
| 45 |
#include <QtWidgets/QDialogButtonBox> |
| 46 |
#include <QtWidgets/QFormLayout> |
| 47 |
#include <QtWidgets/QFrame> |
| 48 |
#include <QtWidgets/QHBoxLayout> |
| 49 |
#include <QtWidgets/QLabel> |
| 50 |
#include <QtWidgets/QLineEdit> |
| 51 |
#include <QtWidgets/QSpacerItem> |
| 52 |
#include <QtWidgets/QVBoxLayout> |
| 53 |
#include "iconselector_p.h" |
| 54 |
|
| 55 |
QT_BEGIN_NAMESPACE |
| 56 |
|
| 57 |
namespace qdesigner_internal { |
| 58 |
|
| 59 |
class Ui_NewActionDialog |
| 60 |
{ |
| 61 |
public: |
| 62 |
QVBoxLayout *verticalLayout; |
| 63 |
QFormLayout *formLayout; |
| 64 |
QLabel *label; |
| 65 |
QLineEdit *editActionText; |
| 66 |
QLabel *label_3; |
| 67 |
QLineEdit *editObjectName; |
| 68 |
QLabel *label_2; |
| 69 |
QHBoxLayout *horizontalLayout; |
| 70 |
qdesigner_internal::IconSelector *iconSelector; |
| 71 |
QSpacerItem *spacerItem; |
| 72 |
QSpacerItem *verticalSpacer; |
| 73 |
QFrame *line; |
| 74 |
QDialogButtonBox *buttonBox; |
| 75 |
|
| 76 |
void setupUi(QDialog *qdesigner_internal__NewActionDialog) |
| 77 |
{ |
| 78 |
if (qdesigner_internal__NewActionDialog->objectName().isEmpty()) |
| 79 |
qdesigner_internal__NewActionDialog->setObjectName(QString::fromUtf8("qdesigner_internal__NewActionDialog")); |
| 80 |
qdesigner_internal__NewActionDialog->resize(363, 156); |
| 81 |
verticalLayout = new QVBoxLayout(qdesigner_internal__NewActionDialog); |
| 82 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 83 |
formLayout = new QFormLayout(); |
| 84 |
formLayout->setObjectName(QString::fromUtf8("formLayout")); |
| 85 |
label = new QLabel(qdesigner_internal__NewActionDialog); |
| 86 |
label->setObjectName(QString::fromUtf8("label")); |
| 87 |
|
| 88 |
formLayout->setWidget(0, QFormLayout::LabelRole, label); |
| 89 |
|
| 90 |
editActionText = new QLineEdit(qdesigner_internal__NewActionDialog); |
| 91 |
editActionText->setObjectName(QString::fromUtf8("editActionText")); |
| 92 |
editActionText->setMinimumSize(QSize(255, 0)); |
| 93 |
|
| 94 |
formLayout->setWidget(0, QFormLayout::FieldRole, editActionText); |
| 95 |
|
| 96 |
label_3 = new QLabel(qdesigner_internal__NewActionDialog); |
| 97 |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 98 |
|
| 99 |
formLayout->setWidget(1, QFormLayout::LabelRole, label_3); |
| 100 |
|
| 101 |
editObjectName = new QLineEdit(qdesigner_internal__NewActionDialog); |
| 102 |
editObjectName->setObjectName(QString::fromUtf8("editObjectName")); |
| 103 |
|
| 104 |
formLayout->setWidget(1, QFormLayout::FieldRole, editObjectName); |
| 105 |
|
| 106 |
label_2 = new QLabel(qdesigner_internal__NewActionDialog); |
| 107 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 108 |
|
| 109 |
formLayout->setWidget(2, QFormLayout::LabelRole, label_2); |
| 110 |
|
| 111 |
horizontalLayout = new QHBoxLayout(); |
| 112 |
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
| 113 |
iconSelector = new qdesigner_internal::IconSelector(qdesigner_internal__NewActionDialog); |
| 114 |
iconSelector->setObjectName(QString::fromUtf8("iconSelector")); |
| 115 |
|
| 116 |
horizontalLayout->addWidget(iconSelector); |
| 117 |
|
| 118 |
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 119 |
|
| 120 |
horizontalLayout->addItem(spacerItem); |
| 121 |
|
| 122 |
|
| 123 |
formLayout->setLayout(2, QFormLayout::FieldRole, horizontalLayout); |
| 124 |
|
| 125 |
|
| 126 |
verticalLayout->addLayout(formLayout); |
| 127 |
|
| 128 |
verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 129 |
|
| 130 |
verticalLayout->addItem(verticalSpacer); |
| 131 |
|
| 132 |
line = new QFrame(qdesigner_internal__NewActionDialog); |
| 133 |
line->setObjectName(QString::fromUtf8("line")); |
| 134 |
line->setFrameShape(QFrame::HLine); |
| 135 |
line->setFrameShadow(QFrame::Sunken); |
| 136 |
|
| 137 |
verticalLayout->addWidget(line); |
| 138 |
|
| 139 |
buttonBox = new QDialogButtonBox(qdesigner_internal__NewActionDialog); |
| 140 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 141 |
buttonBox->setOrientation(Qt::Horizontal); |
| 142 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 143 |
|
| 144 |
verticalLayout->addWidget(buttonBox); |
| 145 |
|
| 146 |
#if QT_CONFIG(shortcut) |
| 147 |
label->setBuddy(editActionText); |
| 148 |
label_3->setBuddy(editObjectName); |
| 149 |
label_2->setBuddy(iconSelector); |
| 150 |
#endif // QT_CONFIG(shortcut) |
| 151 |
QWidget::setTabOrder(editActionText, editObjectName); |
| 152 |
|
| 153 |
retranslateUi(qdesigner_internal__NewActionDialog); |
| 154 |
QObject::connect(buttonBox, SIGNAL(accepted()), qdesigner_internal__NewActionDialog, SLOT(accept())); |
| 155 |
QObject::connect(buttonBox, SIGNAL(rejected()), qdesigner_internal__NewActionDialog, SLOT(reject())); |
| 156 |
|
| 157 |
QMetaObject::connectSlotsByName(qdesigner_internal__NewActionDialog); |
| 158 |
} // setupUi |
| 159 |
|
| 160 |
void retranslateUi(QDialog *qdesigner_internal__NewActionDialog) |
| 161 |
{ |
| 162 |
qdesigner_internal__NewActionDialog->setWindowTitle(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "New Action...", nullptr)); |
| 163 |
label->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "&Text:", nullptr)); |
| 164 |
label_3->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "Object &name:", nullptr)); |
| 165 |
label_2->setText(QCoreApplication::translate("qdesigner_internal::NewActionDialog", "&Icon:", nullptr)); |
| 166 |
} // retranslateUi |
| 167 |
|
| 168 |
}; |
| 169 |
|
| 170 |
} // namespace qdesigner_internal |
| 171 |
|
| 172 |
namespace qdesigner_internal { |
| 173 |
namespace Ui { |
| 174 |
class NewActionDialog: public Ui_NewActionDialog {}; |
| 175 |
} // namespace Ui |
| 176 |
} // namespace qdesigner_internal |
| 177 |
|
| 178 |
QT_END_NAMESPACE |
| 179 |
|
| 180 |
#endif // NEWACTIONDIALOG_H |