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 'saveformastemplate.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_SAVEFORMASTEMPLATE_H
40#define UI_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
53QT_BEGIN_NAMESPACE
54
55class Ui_SaveFormAsTemplate
56{
57public:
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(str: "SaveFormAsTemplate"));
71 vboxLayout = new QVBoxLayout(SaveFormAsTemplate);
72 vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout"));
73 formLayout = new QFormLayout();
74 formLayout->setObjectName(QString::fromUtf8(str: "formLayout"));
75 label = new QLabel(SaveFormAsTemplate);
76 label->setObjectName(QString::fromUtf8(str: "label"));
77 label->setFrameShape(QFrame::NoFrame);
78 label->setFrameShadow(QFrame::Plain);
79 label->setTextFormat(Qt::AutoText);
80
81 formLayout->setWidget(row: 0, role: QFormLayout::LabelRole, widget: label);
82
83 templateNameEdit = new QLineEdit(SaveFormAsTemplate);
84 templateNameEdit->setObjectName(QString::fromUtf8(str: "templateNameEdit"));
85 templateNameEdit->setMinimumSize(QSize(222, 0));
86 templateNameEdit->setEchoMode(QLineEdit::Normal);
87
88 formLayout->setWidget(row: 0, role: QFormLayout::FieldRole, widget: templateNameEdit);
89
90 label_2 = new QLabel(SaveFormAsTemplate);
91 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
92 label_2->setFrameShape(QFrame::NoFrame);
93 label_2->setFrameShadow(QFrame::Plain);
94 label_2->setTextFormat(Qt::AutoText);
95
96 formLayout->setWidget(row: 1, role: QFormLayout::LabelRole, widget: label_2);
97
98 categoryCombo = new QComboBox(SaveFormAsTemplate);
99 categoryCombo->setObjectName(QString::fromUtf8(str: "categoryCombo"));
100
101 formLayout->setWidget(row: 1, role: QFormLayout::FieldRole, widget: categoryCombo);
102
103
104 vboxLayout->addLayout(layout: formLayout);
105
106 horizontalLine = new QFrame(SaveFormAsTemplate);
107 horizontalLine->setObjectName(QString::fromUtf8(str: "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(str: "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(sender: buttonBox, SIGNAL(accepted()), receiver: SaveFormAsTemplate, SLOT(accept()));
127 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: SaveFormAsTemplate, SLOT(reject()));
128
129 QMetaObject::connectSlotsByName(o: SaveFormAsTemplate);
130 } // setupUi
131
132 void retranslateUi(QDialog *SaveFormAsTemplate)
133 {
134 SaveFormAsTemplate->setWindowTitle(QCoreApplication::translate(context: "SaveFormAsTemplate", key: "Save Form As Template", disambiguation: nullptr));
135 label->setText(QCoreApplication::translate(context: "SaveFormAsTemplate", key: "&Name:", disambiguation: nullptr));
136 templateNameEdit->setText(QString());
137 label_2->setText(QCoreApplication::translate(context: "SaveFormAsTemplate", key: "&Category:", disambiguation: nullptr));
138 } // retranslateUi
139
140};
141
142namespace Ui {
143 class SaveFormAsTemplate: public Ui_SaveFormAsTemplate {};
144} // namespace Ui
145
146QT_END_NAMESPACE
147
148#endif // UI_SAVEFORMASTEMPLATE_H
149

source code of qttools/src/designer/src/designer/.uic/ui_saveformastemplate.h