1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'mainwindow.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_MAINWINDOW_H |
10 | #define UI_MAINWINDOW_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QGridLayout> |
15 | #include <QtWidgets/QLabel> |
16 | #include <QtWidgets/QPushButton> |
17 | #include <QtWidgets/QSpacerItem> |
18 | #include <QtWidgets/QWidget> |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | class Ui_MainWindow |
23 | { |
24 | public: |
25 | QGridLayout *gridLayout_2; |
26 | QLabel *display; |
27 | QSpacerItem *horizontalSpacer; |
28 | QGridLayout *gridLayout; |
29 | QPushButton *digit7; |
30 | QPushButton *point; |
31 | QPushButton *digit5; |
32 | QPushButton *digit9; |
33 | QPushButton *digit8; |
34 | QPushButton *c; |
35 | QPushButton *digit4; |
36 | QPushButton *operStar; |
37 | QPushButton *digit3; |
38 | QPushButton *equals; |
39 | QPushButton *operMinus; |
40 | QPushButton *digit1; |
41 | QPushButton *digit0; |
42 | QPushButton *operDiv; |
43 | QPushButton *operPlus; |
44 | QPushButton *digit6; |
45 | QPushButton *digit2; |
46 | QSpacerItem *verticalSpacer; |
47 | |
48 | void setupUi(QWidget *MainWindow) |
49 | { |
50 | if (MainWindow->objectName().isEmpty()) |
51 | MainWindow->setObjectName(QString::fromUtf8(str: "MainWindow" )); |
52 | MainWindow->resize(w: 364, h: 182); |
53 | gridLayout_2 = new QGridLayout(MainWindow); |
54 | gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2" )); |
55 | display = new QLabel(MainWindow); |
56 | display->setObjectName(QString::fromUtf8(str: "display" )); |
57 | display->setFrameShape(QFrame::StyledPanel); |
58 | display->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
59 | |
60 | gridLayout_2->addWidget(display, row: 0, column: 0, rowSpan: 1, columnSpan: 2); |
61 | |
62 | horizontalSpacer = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
63 | |
64 | gridLayout_2->addItem(item: horizontalSpacer, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
65 | |
66 | gridLayout = new QGridLayout(); |
67 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
68 | digit7 = new QPushButton(MainWindow); |
69 | digit7->setObjectName(QString::fromUtf8(str: "digit7" )); |
70 | |
71 | gridLayout->addWidget(digit7, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
72 | |
73 | point = new QPushButton(MainWindow); |
74 | point->setObjectName(QString::fromUtf8(str: "point" )); |
75 | |
76 | gridLayout->addWidget(point, row: 3, column: 1, rowSpan: 1, columnSpan: 1); |
77 | |
78 | digit5 = new QPushButton(MainWindow); |
79 | digit5->setObjectName(QString::fromUtf8(str: "digit5" )); |
80 | |
81 | gridLayout->addWidget(digit5, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
82 | |
83 | digit9 = new QPushButton(MainWindow); |
84 | digit9->setObjectName(QString::fromUtf8(str: "digit9" )); |
85 | |
86 | gridLayout->addWidget(digit9, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
87 | |
88 | digit8 = new QPushButton(MainWindow); |
89 | digit8->setObjectName(QString::fromUtf8(str: "digit8" )); |
90 | |
91 | gridLayout->addWidget(digit8, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
92 | |
93 | c = new QPushButton(MainWindow); |
94 | c->setObjectName(QString::fromUtf8(str: "c" )); |
95 | |
96 | gridLayout->addWidget(c, row: 4, column: 2, rowSpan: 1, columnSpan: 1); |
97 | |
98 | digit4 = new QPushButton(MainWindow); |
99 | digit4->setObjectName(QString::fromUtf8(str: "digit4" )); |
100 | |
101 | gridLayout->addWidget(digit4, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
102 | |
103 | operStar = new QPushButton(MainWindow); |
104 | operStar->setObjectName(QString::fromUtf8(str: "operStar" )); |
105 | |
106 | gridLayout->addWidget(operStar, row: 2, column: 3, rowSpan: 1, columnSpan: 1); |
107 | |
108 | digit3 = new QPushButton(MainWindow); |
109 | digit3->setObjectName(QString::fromUtf8(str: "digit3" )); |
110 | |
111 | gridLayout->addWidget(digit3, row: 2, column: 2, rowSpan: 1, columnSpan: 1); |
112 | |
113 | equals = new QPushButton(MainWindow); |
114 | equals->setObjectName(QString::fromUtf8(str: "equals" )); |
115 | |
116 | gridLayout->addWidget(equals, row: 4, column: 3, rowSpan: 1, columnSpan: 1); |
117 | |
118 | operMinus = new QPushButton(MainWindow); |
119 | operMinus->setObjectName(QString::fromUtf8(str: "operMinus" )); |
120 | |
121 | gridLayout->addWidget(operMinus, row: 1, column: 3, rowSpan: 1, columnSpan: 1); |
122 | |
123 | digit1 = new QPushButton(MainWindow); |
124 | digit1->setObjectName(QString::fromUtf8(str: "digit1" )); |
125 | |
126 | gridLayout->addWidget(digit1, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
127 | |
128 | digit0 = new QPushButton(MainWindow); |
129 | digit0->setObjectName(QString::fromUtf8(str: "digit0" )); |
130 | |
131 | gridLayout->addWidget(digit0, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
132 | |
133 | operDiv = new QPushButton(MainWindow); |
134 | operDiv->setObjectName(QString::fromUtf8(str: "operDiv" )); |
135 | |
136 | gridLayout->addWidget(operDiv, row: 3, column: 3, rowSpan: 1, columnSpan: 1); |
137 | |
138 | operPlus = new QPushButton(MainWindow); |
139 | operPlus->setObjectName(QString::fromUtf8(str: "operPlus" )); |
140 | |
141 | gridLayout->addWidget(operPlus, row: 0, column: 3, rowSpan: 1, columnSpan: 1); |
142 | |
143 | digit6 = new QPushButton(MainWindow); |
144 | digit6->setObjectName(QString::fromUtf8(str: "digit6" )); |
145 | |
146 | gridLayout->addWidget(digit6, row: 1, column: 2, rowSpan: 1, columnSpan: 1); |
147 | |
148 | digit2 = new QPushButton(MainWindow); |
149 | digit2->setObjectName(QString::fromUtf8(str: "digit2" )); |
150 | |
151 | gridLayout->addWidget(digit2, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
152 | |
153 | |
154 | gridLayout_2->addLayout(gridLayout, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
155 | |
156 | verticalSpacer = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding); |
157 | |
158 | gridLayout_2->addItem(item: verticalSpacer, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
159 | |
160 | |
161 | retranslateUi(MainWindow); |
162 | |
163 | QMetaObject::connectSlotsByName(o: MainWindow); |
164 | } // setupUi |
165 | |
166 | void retranslateUi(QWidget *MainWindow) |
167 | { |
168 | digit7->setText(QCoreApplication::translate(context: "MainWindow" , key: "7" , disambiguation: nullptr)); |
169 | point->setText(QCoreApplication::translate(context: "MainWindow" , key: "." , disambiguation: nullptr)); |
170 | digit5->setText(QCoreApplication::translate(context: "MainWindow" , key: "5" , disambiguation: nullptr)); |
171 | digit9->setText(QCoreApplication::translate(context: "MainWindow" , key: "9" , disambiguation: nullptr)); |
172 | digit8->setText(QCoreApplication::translate(context: "MainWindow" , key: "8" , disambiguation: nullptr)); |
173 | c->setText(QCoreApplication::translate(context: "MainWindow" , key: "C" , disambiguation: nullptr)); |
174 | digit4->setText(QCoreApplication::translate(context: "MainWindow" , key: "4" , disambiguation: nullptr)); |
175 | operStar->setText(QCoreApplication::translate(context: "MainWindow" , key: "*" , disambiguation: nullptr)); |
176 | digit3->setText(QCoreApplication::translate(context: "MainWindow" , key: "3" , disambiguation: nullptr)); |
177 | equals->setText(QCoreApplication::translate(context: "MainWindow" , key: "=" , disambiguation: nullptr)); |
178 | operMinus->setText(QCoreApplication::translate(context: "MainWindow" , key: "-" , disambiguation: nullptr)); |
179 | digit1->setText(QCoreApplication::translate(context: "MainWindow" , key: "1" , disambiguation: nullptr)); |
180 | digit0->setText(QCoreApplication::translate(context: "MainWindow" , key: "0" , disambiguation: nullptr)); |
181 | operDiv->setText(QCoreApplication::translate(context: "MainWindow" , key: "/" , disambiguation: nullptr)); |
182 | operPlus->setText(QCoreApplication::translate(context: "MainWindow" , key: "+" , disambiguation: nullptr)); |
183 | digit6->setText(QCoreApplication::translate(context: "MainWindow" , key: "6" , disambiguation: nullptr)); |
184 | digit2->setText(QCoreApplication::translate(context: "MainWindow" , key: "2" , disambiguation: nullptr)); |
185 | (void)MainWindow; |
186 | } // retranslateUi |
187 | |
188 | }; |
189 | |
190 | namespace Ui { |
191 | class MainWindow: public Ui_MainWindow {}; |
192 | } // namespace Ui |
193 | |
194 | QT_END_NAMESPACE |
195 | |
196 | #endif // UI_MAINWINDOW_H |
197 | |