1/********************************************************************************
2** Form generated from reading UI file 'calculatorform.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_CALCULATORFORM_H
10#define UI_CALCULATORFORM_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QGridLayout>
15#include <QtWidgets/QLabel>
16#include <QtWidgets/QSpacerItem>
17#include <QtWidgets/QSpinBox>
18#include <QtWidgets/QVBoxLayout>
19#include <QtWidgets/QWidget>
20
21QT_BEGIN_NAMESPACE
22
23class Ui_CalculatorForm
24{
25public:
26 QGridLayout *gridLayout;
27 QSpacerItem *spacerItem;
28 QLabel *label_3_2;
29 QVBoxLayout *vboxLayout;
30 QLabel *label_2_2_2;
31 QLabel *outputWidget;
32 QSpacerItem *spacerItem1;
33 QVBoxLayout *vboxLayout1;
34 QLabel *label_2;
35 QSpinBox *inputSpinBox2;
36 QLabel *label_3;
37 QVBoxLayout *vboxLayout2;
38 QLabel *label;
39 QSpinBox *inputSpinBox1;
40
41 void setupUi(QWidget *CalculatorForm)
42 {
43 if (CalculatorForm->objectName().isEmpty())
44 CalculatorForm->setObjectName(QString::fromUtf8(str: "CalculatorForm"));
45 CalculatorForm->resize(w: 400, h: 300);
46 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
47 sizePolicy.setHorizontalStretch(0);
48 sizePolicy.setVerticalStretch(0);
49 sizePolicy.setHeightForWidth(CalculatorForm->sizePolicy().hasHeightForWidth());
50 CalculatorForm->setSizePolicy(sizePolicy);
51 gridLayout = new QGridLayout(CalculatorForm);
52#ifndef Q_OS_MAC
53 gridLayout->setSpacing(6);
54#endif
55#ifndef Q_OS_MAC
56 gridLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9);
57#endif
58 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
59 gridLayout->setObjectName(QString::fromUtf8(str: ""));
60 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
61
62 gridLayout->addItem(item: spacerItem, row: 0, column: 6, rowSpan: 1, columnSpan: 1);
63
64 label_3_2 = new QLabel(CalculatorForm);
65 label_3_2->setObjectName(QString::fromUtf8(str: "label_3_2"));
66 label_3_2->setGeometry(QRect(169, 9, 20, 52));
67 label_3_2->setAlignment(Qt::AlignCenter);
68
69 gridLayout->addWidget(label_3_2, row: 0, column: 4, rowSpan: 1, columnSpan: 1);
70
71 vboxLayout = new QVBoxLayout();
72#ifndef Q_OS_MAC
73 vboxLayout->setSpacing(6);
74#endif
75 vboxLayout->setContentsMargins(left: 1, top: 1, right: 1, bottom: 1);
76 vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout"));
77 vboxLayout->setObjectName(QString::fromUtf8(str: ""));
78 label_2_2_2 = new QLabel(CalculatorForm);
79 label_2_2_2->setObjectName(QString::fromUtf8(str: "label_2_2_2"));
80 label_2_2_2->setGeometry(QRect(1, 1, 36, 17));
81
82 vboxLayout->addWidget(label_2_2_2);
83
84 outputWidget = new QLabel(CalculatorForm);
85 outputWidget->setObjectName(QString::fromUtf8(str: "outputWidget"));
86 outputWidget->setGeometry(QRect(1, 24, 36, 27));
87 outputWidget->setFrameShape(QFrame::Box);
88 outputWidget->setFrameShadow(QFrame::Sunken);
89 outputWidget->setAlignment(Qt::AlignAbsolute|Qt::AlignBottom|Qt::AlignCenter|Qt::AlignHCenter|Qt::AlignHorizontal_Mask|Qt::AlignJustify|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing|Qt::AlignVCenter|Qt::AlignVertical_Mask);
90
91 vboxLayout->addWidget(outputWidget);
92
93
94 gridLayout->addLayout(vboxLayout, row: 0, column: 5, rowSpan: 1, columnSpan: 1);
95
96 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
97
98 gridLayout->addItem(item: spacerItem1, row: 1, column: 2, rowSpan: 1, columnSpan: 1);
99
100 vboxLayout1 = new QVBoxLayout();
101#ifndef Q_OS_MAC
102 vboxLayout1->setSpacing(6);
103#endif
104 vboxLayout1->setContentsMargins(left: 1, top: 1, right: 1, bottom: 1);
105 vboxLayout1->setObjectName(QString::fromUtf8(str: "vboxLayout1"));
106 vboxLayout1->setObjectName(QString::fromUtf8(str: ""));
107 label_2 = new QLabel(CalculatorForm);
108 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
109 label_2->setGeometry(QRect(1, 1, 46, 19));
110
111 vboxLayout1->addWidget(label_2);
112
113 inputSpinBox2 = new QSpinBox(CalculatorForm);
114 inputSpinBox2->setObjectName(QString::fromUtf8(str: "inputSpinBox2"));
115 inputSpinBox2->setGeometry(QRect(1, 26, 46, 25));
116
117 vboxLayout1->addWidget(inputSpinBox2);
118
119
120 gridLayout->addLayout(vboxLayout1, row: 0, column: 3, rowSpan: 1, columnSpan: 1);
121
122 label_3 = new QLabel(CalculatorForm);
123 label_3->setObjectName(QString::fromUtf8(str: "label_3"));
124 label_3->setGeometry(QRect(63, 9, 20, 52));
125 label_3->setAlignment(Qt::AlignCenter);
126
127 gridLayout->addWidget(label_3, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
128
129 vboxLayout2 = new QVBoxLayout();
130#ifndef Q_OS_MAC
131 vboxLayout2->setSpacing(6);
132#endif
133 vboxLayout2->setContentsMargins(left: 1, top: 1, right: 1, bottom: 1);
134 vboxLayout2->setObjectName(QString::fromUtf8(str: "vboxLayout2"));
135 vboxLayout2->setObjectName(QString::fromUtf8(str: ""));
136 label = new QLabel(CalculatorForm);
137 label->setObjectName(QString::fromUtf8(str: "label"));
138 label->setGeometry(QRect(1, 1, 46, 19));
139
140 vboxLayout2->addWidget(label);
141
142 inputSpinBox1 = new QSpinBox(CalculatorForm);
143 inputSpinBox1->setObjectName(QString::fromUtf8(str: "inputSpinBox1"));
144 inputSpinBox1->setGeometry(QRect(1, 26, 46, 25));
145
146 vboxLayout2->addWidget(inputSpinBox1);
147
148
149 gridLayout->addLayout(vboxLayout2, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
150
151
152 retranslateUi(CalculatorForm);
153
154 QMetaObject::connectSlotsByName(o: CalculatorForm);
155 } // setupUi
156
157 void retranslateUi(QWidget *CalculatorForm)
158 {
159 CalculatorForm->setWindowTitle(QCoreApplication::translate(context: "CalculatorForm", key: "Calculator Form", disambiguation: nullptr));
160 label_3_2->setText(QCoreApplication::translate(context: "CalculatorForm", key: "=", disambiguation: nullptr));
161 label_2_2_2->setText(QCoreApplication::translate(context: "CalculatorForm", key: "Output", disambiguation: nullptr));
162 outputWidget->setText(QCoreApplication::translate(context: "CalculatorForm", key: "0", disambiguation: nullptr));
163 label_2->setText(QCoreApplication::translate(context: "CalculatorForm", key: "Input 2", disambiguation: nullptr));
164 label_3->setText(QCoreApplication::translate(context: "CalculatorForm", key: "+", disambiguation: nullptr));
165 label->setText(QCoreApplication::translate(context: "CalculatorForm", key: "Input 1", disambiguation: nullptr));
166 } // retranslateUi
167
168};
169
170namespace Ui {
171 class CalculatorForm: public Ui_CalculatorForm {};
172} // namespace Ui
173
174QT_END_NAMESPACE
175
176#endif // UI_CALCULATORFORM_H
177

source code of qttools/examples/designer/calculatorform/.uic/ui_calculatorform.h