|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'calculatorform.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:12 2009 |
|
5 ** by: Qt User Interface Compiler version 4.6.0 |
|
6 ** |
|
7 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
8 ********************************************************************************/ |
|
9 |
|
10 #ifndef CALCULATORFORM_H |
|
11 #define CALCULATORFORM_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QGridLayout> |
|
18 #include <QtGui/QHBoxLayout> |
|
19 #include <QtGui/QHeaderView> |
|
20 #include <QtGui/QLabel> |
|
21 #include <QtGui/QSpacerItem> |
|
22 #include <QtGui/QSpinBox> |
|
23 #include <QtGui/QVBoxLayout> |
|
24 #include <QtGui/QWidget> |
|
25 |
|
26 QT_BEGIN_NAMESPACE |
|
27 |
|
28 class Ui_CalculatorForm |
|
29 { |
|
30 public: |
|
31 QGridLayout *gridLayout; |
|
32 QHBoxLayout *hboxLayout; |
|
33 QVBoxLayout *vboxLayout; |
|
34 QLabel *label; |
|
35 QSpinBox *inputSpinBox1; |
|
36 QLabel *label_3; |
|
37 QVBoxLayout *vboxLayout1; |
|
38 QLabel *label_2; |
|
39 QSpinBox *inputSpinBox2; |
|
40 QLabel *label_3_2; |
|
41 QVBoxLayout *vboxLayout2; |
|
42 QLabel *label_2_2_2; |
|
43 QLabel *outputWidget; |
|
44 QSpacerItem *spacerItem; |
|
45 QSpacerItem *spacerItem1; |
|
46 |
|
47 void setupUi(QWidget *CalculatorForm) |
|
48 { |
|
49 if (CalculatorForm->objectName().isEmpty()) |
|
50 CalculatorForm->setObjectName(QString::fromUtf8("CalculatorForm")); |
|
51 CalculatorForm->resize(276, 98); |
|
52 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5)); |
|
53 sizePolicy.setHorizontalStretch(0); |
|
54 sizePolicy.setVerticalStretch(0); |
|
55 sizePolicy.setHeightForWidth(CalculatorForm->sizePolicy().hasHeightForWidth()); |
|
56 CalculatorForm->setSizePolicy(sizePolicy); |
|
57 gridLayout = new QGridLayout(CalculatorForm); |
|
58 #ifndef Q_OS_MAC |
|
59 gridLayout->setSpacing(6); |
|
60 #endif |
|
61 #ifndef Q_OS_MAC |
|
62 gridLayout->setContentsMargins(9, 9, 9, 9); |
|
63 #endif |
|
64 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
65 gridLayout->setObjectName(QString::fromUtf8("")); |
|
66 hboxLayout = new QHBoxLayout(); |
|
67 #ifndef Q_OS_MAC |
|
68 hboxLayout->setSpacing(6); |
|
69 #endif |
|
70 hboxLayout->setContentsMargins(1, 1, 1, 1); |
|
71 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
72 hboxLayout->setObjectName(QString::fromUtf8("")); |
|
73 vboxLayout = new QVBoxLayout(); |
|
74 #ifndef Q_OS_MAC |
|
75 vboxLayout->setSpacing(6); |
|
76 #endif |
|
77 vboxLayout->setContentsMargins(1, 1, 1, 1); |
|
78 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
79 vboxLayout->setObjectName(QString::fromUtf8("")); |
|
80 label = new QLabel(CalculatorForm); |
|
81 label->setObjectName(QString::fromUtf8("label")); |
|
82 label->setGeometry(QRect(1, 1, 45, 19)); |
|
83 |
|
84 vboxLayout->addWidget(label); |
|
85 |
|
86 inputSpinBox1 = new QSpinBox(CalculatorForm); |
|
87 inputSpinBox1->setObjectName(QString::fromUtf8("inputSpinBox1")); |
|
88 inputSpinBox1->setGeometry(QRect(1, 26, 45, 25)); |
|
89 inputSpinBox1->setMouseTracking(true); |
|
90 |
|
91 vboxLayout->addWidget(inputSpinBox1); |
|
92 |
|
93 |
|
94 hboxLayout->addLayout(vboxLayout); |
|
95 |
|
96 label_3 = new QLabel(CalculatorForm); |
|
97 label_3->setObjectName(QString::fromUtf8("label_3")); |
|
98 label_3->setGeometry(QRect(54, 1, 7, 52)); |
|
99 label_3->setAlignment(Qt::AlignCenter); |
|
100 |
|
101 hboxLayout->addWidget(label_3); |
|
102 |
|
103 vboxLayout1 = new QVBoxLayout(); |
|
104 #ifndef Q_OS_MAC |
|
105 vboxLayout1->setSpacing(6); |
|
106 #endif |
|
107 vboxLayout1->setContentsMargins(1, 1, 1, 1); |
|
108 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
|
109 vboxLayout1->setObjectName(QString::fromUtf8("")); |
|
110 label_2 = new QLabel(CalculatorForm); |
|
111 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
112 label_2->setGeometry(QRect(1, 1, 45, 19)); |
|
113 |
|
114 vboxLayout1->addWidget(label_2); |
|
115 |
|
116 inputSpinBox2 = new QSpinBox(CalculatorForm); |
|
117 inputSpinBox2->setObjectName(QString::fromUtf8("inputSpinBox2")); |
|
118 inputSpinBox2->setGeometry(QRect(1, 26, 45, 25)); |
|
119 inputSpinBox2->setMouseTracking(true); |
|
120 |
|
121 vboxLayout1->addWidget(inputSpinBox2); |
|
122 |
|
123 |
|
124 hboxLayout->addLayout(vboxLayout1); |
|
125 |
|
126 label_3_2 = new QLabel(CalculatorForm); |
|
127 label_3_2->setObjectName(QString::fromUtf8("label_3_2")); |
|
128 label_3_2->setGeometry(QRect(120, 1, 7, 52)); |
|
129 label_3_2->setAlignment(Qt::AlignCenter); |
|
130 |
|
131 hboxLayout->addWidget(label_3_2); |
|
132 |
|
133 vboxLayout2 = new QVBoxLayout(); |
|
134 #ifndef Q_OS_MAC |
|
135 vboxLayout2->setSpacing(6); |
|
136 #endif |
|
137 vboxLayout2->setContentsMargins(1, 1, 1, 1); |
|
138 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
|
139 vboxLayout2->setObjectName(QString::fromUtf8("")); |
|
140 label_2_2_2 = new QLabel(CalculatorForm); |
|
141 label_2_2_2->setObjectName(QString::fromUtf8("label_2_2_2")); |
|
142 label_2_2_2->setGeometry(QRect(1, 1, 37, 17)); |
|
143 |
|
144 vboxLayout2->addWidget(label_2_2_2); |
|
145 |
|
146 outputWidget = new QLabel(CalculatorForm); |
|
147 outputWidget->setObjectName(QString::fromUtf8("outputWidget")); |
|
148 outputWidget->setGeometry(QRect(1, 24, 37, 27)); |
|
149 outputWidget->setFrameShape(QFrame::Box); |
|
150 outputWidget->setFrameShadow(QFrame::Sunken); |
|
151 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); |
|
152 |
|
153 vboxLayout2->addWidget(outputWidget); |
|
154 |
|
155 |
|
156 hboxLayout->addLayout(vboxLayout2); |
|
157 |
|
158 |
|
159 gridLayout->addLayout(hboxLayout, 0, 0, 1, 1); |
|
160 |
|
161 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
162 |
|
163 gridLayout->addItem(spacerItem, 1, 0, 1, 1); |
|
164 |
|
165 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
166 |
|
167 gridLayout->addItem(spacerItem1, 0, 1, 1, 1); |
|
168 |
|
169 |
|
170 retranslateUi(CalculatorForm); |
|
171 |
|
172 QMetaObject::connectSlotsByName(CalculatorForm); |
|
173 } // setupUi |
|
174 |
|
175 void retranslateUi(QWidget *CalculatorForm) |
|
176 { |
|
177 CalculatorForm->setWindowTitle(QApplication::translate("CalculatorForm", "Calculator Builder", 0, QApplication::UnicodeUTF8)); |
|
178 label->setText(QApplication::translate("CalculatorForm", "Input 1", 0, QApplication::UnicodeUTF8)); |
|
179 label_3->setText(QApplication::translate("CalculatorForm", "+", 0, QApplication::UnicodeUTF8)); |
|
180 label_2->setText(QApplication::translate("CalculatorForm", "Input 2", 0, QApplication::UnicodeUTF8)); |
|
181 label_3_2->setText(QApplication::translate("CalculatorForm", "=", 0, QApplication::UnicodeUTF8)); |
|
182 label_2_2_2->setText(QApplication::translate("CalculatorForm", "Output", 0, QApplication::UnicodeUTF8)); |
|
183 outputWidget->setText(QApplication::translate("CalculatorForm", "0", 0, QApplication::UnicodeUTF8)); |
|
184 } // retranslateUi |
|
185 |
|
186 }; |
|
187 |
|
188 namespace Ui { |
|
189 class CalculatorForm: public Ui_CalculatorForm {}; |
|
190 } // namespace Ui |
|
191 |
|
192 QT_END_NAMESPACE |
|
193 |
|
194 #endif // CALCULATORFORM_H |