| 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 'saveformastemplate.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 SAVEFORMASTEMPLATE_H |
| 40 |
#define SAVEFORMASTEMPLATE_H |
| 41 |
|
| 42 |
#include <QtCore/QVariant> |
| 43 |
#include <QtWidgets/QApplication> |
| 44 |
#include <QtWidgets/QComboBox> |
| 45 |
#include <QtWidgets/QDialog> |
| 46 |
#include <QtWidgets/QDialogButtonBox> |
| 47 |
#include <QtWidgets/QFormLayout> |
| 48 |
#include <QtWidgets/QFrame> |
| 49 |
#include <QtWidgets/QLabel> |
| 50 |
#include <QtWidgets/QLineEdit> |
| 51 |
#include <QtWidgets/QVBoxLayout> |
| 52 |
|
| 53 |
QT_BEGIN_NAMESPACE |
| 54 |
|
| 55 |
class Ui_SaveFormAsTemplate |
| 56 |
{ |
| 57 |
public: |
| 58 |
QVBoxLayout *vboxLayout; |
| 59 |
QFormLayout *formLayout; |
| 60 |
QLabel *label; |
| 61 |
QLineEdit *templateNameEdit; |
| 62 |
QLabel *label_2; |
| 63 |
QComboBox *categoryCombo; |
| 64 |
QFrame *horizontalLine; |
| 65 |
QDialogButtonBox *buttonBox; |
| 66 |
|
| 67 |
void setupUi(QDialog *SaveFormAsTemplate) |
| 68 |
{ |
| 69 |
if (SaveFormAsTemplate->objectName().isEmpty()) |
| 70 |
SaveFormAsTemplate->setObjectName(QString::fromUtf8("SaveFormAsTemplate")); |
| 71 |
vboxLayout = new QVBoxLayout(SaveFormAsTemplate); |
| 72 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 73 |
formLayout = new QFormLayout(); |
| 74 |
formLayout->setObjectName(QString::fromUtf8("formLayout")); |
| 75 |
label = new QLabel(SaveFormAsTemplate); |
| 76 |
label->setObjectName(QString::fromUtf8("label")); |
| 77 |
label->setFrameShape(QFrame::NoFrame); |
| 78 |
label->setFrameShadow(QFrame::Plain); |
| 79 |
label->setTextFormat(Qt::AutoText); |
| 80 |
|
| 81 |
formLayout->setWidget(0, QFormLayout::LabelRole, label); |
| 82 |
|
| 83 |
templateNameEdit = new QLineEdit(SaveFormAsTemplate); |
| 84 |
templateNameEdit->setObjectName(QString::fromUtf8("templateNameEdit")); |
| 85 |
templateNameEdit->setMinimumSize(QSize(222, 0)); |
| 86 |
templateNameEdit->setEchoMode(QLineEdit::Normal); |
| 87 |
|
| 88 |
formLayout->setWidget(0, QFormLayout::FieldRole, templateNameEdit); |
| 89 |
|
| 90 |
label_2 = new QLabel(SaveFormAsTemplate); |
| 91 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 92 |
label_2->setFrameShape(QFrame::NoFrame); |
| 93 |
label_2->setFrameShadow(QFrame::Plain); |
| 94 |
label_2->setTextFormat(Qt::AutoText); |
| 95 |
|
| 96 |
formLayout->setWidget(1, QFormLayout::LabelRole, label_2); |
| 97 |
|
| 98 |
categoryCombo = new QComboBox(SaveFormAsTemplate); |
| 99 |
categoryCombo->setObjectName(QString::fromUtf8("categoryCombo")); |
| 100 |
|
| 101 |
formLayout->setWidget(1, QFormLayout::FieldRole, categoryCombo); |
| 102 |
|
| 103 |
|
| 104 |
vboxLayout->addLayout(formLayout); |
| 105 |
|
| 106 |
horizontalLine = new QFrame(SaveFormAsTemplate); |
| 107 |
horizontalLine->setObjectName(QString::fromUtf8("horizontalLine")); |
| 108 |
horizontalLine->setFrameShape(QFrame::HLine); |
| 109 |
horizontalLine->setFrameShadow(QFrame::Sunken); |
| 110 |
|
| 111 |
vboxLayout->addWidget(horizontalLine); |
| 112 |
|
| 113 |
buttonBox = new QDialogButtonBox(SaveFormAsTemplate); |
| 114 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 115 |
buttonBox->setOrientation(Qt::Horizontal); |
| 116 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 117 |
|
| 118 |
vboxLayout->addWidget(buttonBox); |
| 119 |
|
| 120 |
#if QT_CONFIG(shortcut) |
| 121 |
label->setBuddy(templateNameEdit); |
| 122 |
label_2->setBuddy(categoryCombo); |
| 123 |
#endif // QT_CONFIG(shortcut) |
| 124 |
|
| 125 |
retranslateUi(SaveFormAsTemplate); |
| 126 |
QObject::connect(buttonBox, SIGNAL(accepted()), SaveFormAsTemplate, SLOT(accept())); |
| 127 |
QObject::connect(buttonBox, SIGNAL(rejected()), SaveFormAsTemplate, SLOT(reject())); |
| 128 |
|
| 129 |
QMetaObject::connectSlotsByName(SaveFormAsTemplate); |
| 130 |
} // setupUi |
| 131 |
|
| 132 |
void retranslateUi(QDialog *SaveFormAsTemplate) |
| 133 |
{ |
| 134 |
SaveFormAsTemplate->setWindowTitle(QCoreApplication::translate("SaveFormAsTemplate", "Save Form As Template", nullptr)); |
| 135 |
label->setText(QCoreApplication::translate("SaveFormAsTemplate", "&Name:", nullptr)); |
| 136 |
templateNameEdit->setText(QString()); |
| 137 |
label_2->setText(QCoreApplication::translate("SaveFormAsTemplate", "&Category:", nullptr)); |
| 138 |
} // retranslateUi |
| 139 |
|
| 140 |
}; |
| 141 |
|
| 142 |
namespace Ui { |
| 143 |
class SaveFormAsTemplate: public Ui_SaveFormAsTemplate {}; |
| 144 |
} // namespace Ui |
| 145 |
|
| 146 |
QT_END_NAMESPACE |
| 147 |
|
| 148 |
#endif // SAVEFORMASTEMPLATE_H |