1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'formlayoutrowdialog.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_FORMLAYOUTROWDIALOG_H |
10 | #define UI_FORMLAYOUTROWDIALOG_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QCheckBox> |
15 | #include <QtWidgets/QComboBox> |
16 | #include <QtWidgets/QDialog> |
17 | #include <QtWidgets/QDialogButtonBox> |
18 | #include <QtWidgets/QFormLayout> |
19 | #include <QtWidgets/QFrame> |
20 | #include <QtWidgets/QLabel> |
21 | #include <QtWidgets/QLineEdit> |
22 | #include <QtWidgets/QSpinBox> |
23 | #include <QtWidgets/QVBoxLayout> |
24 | |
25 | QT_BEGIN_NAMESPACE |
26 | |
27 | class Ui_FormLayoutRowDialog |
28 | { |
29 | public: |
30 | QVBoxLayout *verticalLayout; |
31 | QFormLayout *formLayout; |
32 | QLabel *labelTextLabel; |
33 | QLineEdit *labelTextLineEdit; |
34 | QLineEdit *labelNameLineEdit; |
35 | QLabel *fieldClassLabel; |
36 | QComboBox *fieldClassComboBox; |
37 | QLabel *fieldNameLabel; |
38 | QLabel *buddyLabel; |
39 | QCheckBox *buddyCheckBox; |
40 | QLabel *rowLabel; |
41 | QSpinBox *rowSpinBox; |
42 | QLineEdit *fieldNameLineEdit; |
43 | QLabel *labelNameLabel; |
44 | QFrame *line; |
45 | QDialogButtonBox *buttonBox; |
46 | |
47 | void setupUi(QDialog *FormLayoutRowDialog) |
48 | { |
49 | if (FormLayoutRowDialog->objectName().isEmpty()) |
50 | FormLayoutRowDialog->setObjectName(QString::fromUtf8(str: "FormLayoutRowDialog" )); |
51 | verticalLayout = new QVBoxLayout(FormLayoutRowDialog); |
52 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
53 | formLayout = new QFormLayout(); |
54 | formLayout->setObjectName(QString::fromUtf8(str: "formLayout" )); |
55 | formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow); |
56 | labelTextLabel = new QLabel(FormLayoutRowDialog); |
57 | labelTextLabel->setObjectName(QString::fromUtf8(str: "labelTextLabel" )); |
58 | |
59 | formLayout->setWidget(row: 0, role: QFormLayout::LabelRole, widget: labelTextLabel); |
60 | |
61 | labelTextLineEdit = new QLineEdit(FormLayoutRowDialog); |
62 | labelTextLineEdit->setObjectName(QString::fromUtf8(str: "labelTextLineEdit" )); |
63 | labelTextLineEdit->setMinimumSize(QSize(180, 0)); |
64 | |
65 | formLayout->setWidget(row: 0, role: QFormLayout::FieldRole, widget: labelTextLineEdit); |
66 | |
67 | labelNameLineEdit = new QLineEdit(FormLayoutRowDialog); |
68 | labelNameLineEdit->setObjectName(QString::fromUtf8(str: "labelNameLineEdit" )); |
69 | |
70 | formLayout->setWidget(row: 1, role: QFormLayout::FieldRole, widget: labelNameLineEdit); |
71 | |
72 | fieldClassLabel = new QLabel(FormLayoutRowDialog); |
73 | fieldClassLabel->setObjectName(QString::fromUtf8(str: "fieldClassLabel" )); |
74 | |
75 | formLayout->setWidget(row: 2, role: QFormLayout::LabelRole, widget: fieldClassLabel); |
76 | |
77 | fieldClassComboBox = new QComboBox(FormLayoutRowDialog); |
78 | fieldClassComboBox->setObjectName(QString::fromUtf8(str: "fieldClassComboBox" )); |
79 | QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); |
80 | sizePolicy.setHorizontalStretch(0); |
81 | sizePolicy.setVerticalStretch(0); |
82 | sizePolicy.setHeightForWidth(fieldClassComboBox->sizePolicy().hasHeightForWidth()); |
83 | fieldClassComboBox->setSizePolicy(sizePolicy); |
84 | |
85 | formLayout->setWidget(row: 2, role: QFormLayout::FieldRole, widget: fieldClassComboBox); |
86 | |
87 | fieldNameLabel = new QLabel(FormLayoutRowDialog); |
88 | fieldNameLabel->setObjectName(QString::fromUtf8(str: "fieldNameLabel" )); |
89 | |
90 | formLayout->setWidget(row: 3, role: QFormLayout::LabelRole, widget: fieldNameLabel); |
91 | |
92 | buddyLabel = new QLabel(FormLayoutRowDialog); |
93 | buddyLabel->setObjectName(QString::fromUtf8(str: "buddyLabel" )); |
94 | |
95 | formLayout->setWidget(row: 4, role: QFormLayout::LabelRole, widget: buddyLabel); |
96 | |
97 | buddyCheckBox = new QCheckBox(FormLayoutRowDialog); |
98 | buddyCheckBox->setObjectName(QString::fromUtf8(str: "buddyCheckBox" )); |
99 | |
100 | formLayout->setWidget(row: 4, role: QFormLayout::FieldRole, widget: buddyCheckBox); |
101 | |
102 | rowLabel = new QLabel(FormLayoutRowDialog); |
103 | rowLabel->setObjectName(QString::fromUtf8(str: "rowLabel" )); |
104 | |
105 | formLayout->setWidget(row: 5, role: QFormLayout::LabelRole, widget: rowLabel); |
106 | |
107 | rowSpinBox = new QSpinBox(FormLayoutRowDialog); |
108 | rowSpinBox->setObjectName(QString::fromUtf8(str: "rowSpinBox" )); |
109 | |
110 | formLayout->setWidget(row: 5, role: QFormLayout::FieldRole, widget: rowSpinBox); |
111 | |
112 | fieldNameLineEdit = new QLineEdit(FormLayoutRowDialog); |
113 | fieldNameLineEdit->setObjectName(QString::fromUtf8(str: "fieldNameLineEdit" )); |
114 | |
115 | formLayout->setWidget(row: 3, role: QFormLayout::FieldRole, widget: fieldNameLineEdit); |
116 | |
117 | labelNameLabel = new QLabel(FormLayoutRowDialog); |
118 | labelNameLabel->setObjectName(QString::fromUtf8(str: "labelNameLabel" )); |
119 | |
120 | formLayout->setWidget(row: 1, role: QFormLayout::LabelRole, widget: labelNameLabel); |
121 | |
122 | |
123 | verticalLayout->addLayout(layout: formLayout); |
124 | |
125 | line = new QFrame(FormLayoutRowDialog); |
126 | line->setObjectName(QString::fromUtf8(str: "line" )); |
127 | line->setFrameShape(QFrame::HLine); |
128 | line->setFrameShadow(QFrame::Sunken); |
129 | |
130 | verticalLayout->addWidget(line); |
131 | |
132 | buttonBox = new QDialogButtonBox(FormLayoutRowDialog); |
133 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
134 | buttonBox->setOrientation(Qt::Horizontal); |
135 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
136 | |
137 | verticalLayout->addWidget(buttonBox); |
138 | |
139 | #if QT_CONFIG(shortcut) |
140 | labelTextLabel->setBuddy(labelTextLineEdit); |
141 | fieldClassLabel->setBuddy(fieldClassComboBox); |
142 | fieldNameLabel->setBuddy(fieldNameLineEdit); |
143 | buddyLabel->setBuddy(buddyCheckBox); |
144 | rowLabel->setBuddy(rowSpinBox); |
145 | labelNameLabel->setBuddy(labelNameLineEdit); |
146 | #endif // QT_CONFIG(shortcut) |
147 | |
148 | retranslateUi(FormLayoutRowDialog); |
149 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: FormLayoutRowDialog, SLOT(accept())); |
150 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: FormLayoutRowDialog, SLOT(reject())); |
151 | |
152 | QMetaObject::connectSlotsByName(o: FormLayoutRowDialog); |
153 | } // setupUi |
154 | |
155 | void retranslateUi(QDialog *FormLayoutRowDialog) |
156 | { |
157 | FormLayoutRowDialog->setWindowTitle(QCoreApplication::translate(context: "FormLayoutRowDialog" , key: "Add Form Layout Row" , disambiguation: nullptr)); |
158 | labelTextLabel->setText(QCoreApplication::translate(context: "FormLayoutRowDialog" , key: "&Label text:" , disambiguation: nullptr)); |
159 | fieldClassLabel->setText(QCoreApplication::translate(context: "FormLayoutRowDialog" , key: "Field &type:" , disambiguation: nullptr)); |
160 | fieldNameLabel->setText(QCoreApplication::translate(context: "FormLayoutRowDialog" , key: "&Field name:" , disambiguation: nullptr)); |
161 | buddyLabel->setText(QCoreApplication::translate(context: "FormLayoutRowDialog" , key: "&Buddy:" , disambiguation: nullptr)); |
162 | buddyCheckBox->setText(QString()); |
163 | rowLabel->setText(QCoreApplication::translate(context: "FormLayoutRowDialog" , key: "&Row:" , disambiguation: nullptr)); |
164 | labelNameLabel->setText(QCoreApplication::translate(context: "FormLayoutRowDialog" , key: "Label &name:" , disambiguation: nullptr)); |
165 | } // retranslateUi |
166 | |
167 | }; |
168 | |
169 | namespace Ui { |
170 | class FormLayoutRowDialog: public Ui_FormLayoutRowDialog {}; |
171 | } // namespace Ui |
172 | |
173 | QT_END_NAMESPACE |
174 | |
175 | #endif // UI_FORMLAYOUTROWDIALOG_H |
176 | |