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

source code of qttools/examples/uitools/multipleinheritance/.uic/ui_calculatorform.h