|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'validators.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:15 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 VALIDATORS_H |
|
11 #define VALIDATORS_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QComboBox> |
|
18 #include <QtGui/QDoubleSpinBox> |
|
19 #include <QtGui/QFrame> |
|
20 #include <QtGui/QGridLayout> |
|
21 #include <QtGui/QGroupBox> |
|
22 #include <QtGui/QHBoxLayout> |
|
23 #include <QtGui/QHeaderView> |
|
24 #include <QtGui/QLabel> |
|
25 #include <QtGui/QLineEdit> |
|
26 #include <QtGui/QPushButton> |
|
27 #include <QtGui/QSpacerItem> |
|
28 #include <QtGui/QSpinBox> |
|
29 #include <QtGui/QVBoxLayout> |
|
30 #include <QtGui/QWidget> |
|
31 #include "ledwidget.h" |
|
32 #include "localeselector.h" |
|
33 |
|
34 QT_BEGIN_NAMESPACE |
|
35 |
|
36 class Ui_ValidatorsForm |
|
37 { |
|
38 public: |
|
39 QVBoxLayout *vboxLayout; |
|
40 QHBoxLayout *hboxLayout; |
|
41 LocaleSelector *localeSelector; |
|
42 QSpacerItem *spacerItem; |
|
43 QGroupBox *groupBox; |
|
44 QVBoxLayout *vboxLayout1; |
|
45 QHBoxLayout *hboxLayout1; |
|
46 QGridLayout *gridLayout; |
|
47 QLabel *label; |
|
48 QSpinBox *minVal; |
|
49 QLabel *label_2; |
|
50 QSpinBox *maxVal; |
|
51 QFrame *frame; |
|
52 QVBoxLayout *vboxLayout2; |
|
53 LEDWidget *ledWidget; |
|
54 QLabel *label_7; |
|
55 QSpacerItem *spacerItem1; |
|
56 QLineEdit *editor; |
|
57 QGroupBox *groupBox_2; |
|
58 QVBoxLayout *vboxLayout3; |
|
59 QHBoxLayout *hboxLayout2; |
|
60 QGridLayout *gridLayout1; |
|
61 QLabel *label_3; |
|
62 QDoubleSpinBox *doubleMinVal; |
|
63 QLabel *label_5; |
|
64 QComboBox *doubleFormat; |
|
65 QLabel *label_4; |
|
66 QDoubleSpinBox *doubleMaxVal; |
|
67 QLabel *label_6; |
|
68 QSpinBox *doubleDecimals; |
|
69 QFrame *frame_2; |
|
70 QVBoxLayout *vboxLayout4; |
|
71 LEDWidget *doubleLedWidget; |
|
72 QLabel *label_8; |
|
73 QSpacerItem *spacerItem2; |
|
74 QLineEdit *doubleEditor; |
|
75 QSpacerItem *spacerItem3; |
|
76 QHBoxLayout *hboxLayout3; |
|
77 QSpacerItem *spacerItem4; |
|
78 QPushButton *pushButton; |
|
79 |
|
80 void setupUi(QWidget *ValidatorsForm) |
|
81 { |
|
82 if (ValidatorsForm->objectName().isEmpty()) |
|
83 ValidatorsForm->setObjectName(QString::fromUtf8("ValidatorsForm")); |
|
84 ValidatorsForm->resize(526, 668); |
|
85 vboxLayout = new QVBoxLayout(ValidatorsForm); |
|
86 #ifndef Q_OS_MAC |
|
87 vboxLayout->setSpacing(6); |
|
88 #endif |
|
89 #ifndef Q_OS_MAC |
|
90 vboxLayout->setContentsMargins(9, 9, 9, 9); |
|
91 #endif |
|
92 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
93 hboxLayout = new QHBoxLayout(); |
|
94 #ifndef Q_OS_MAC |
|
95 hboxLayout->setSpacing(6); |
|
96 #endif |
|
97 #ifndef Q_OS_MAC |
|
98 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
99 #endif |
|
100 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
101 localeSelector = new LocaleSelector(ValidatorsForm); |
|
102 localeSelector->setObjectName(QString::fromUtf8("localeSelector")); |
|
103 |
|
104 hboxLayout->addWidget(localeSelector); |
|
105 |
|
106 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
107 |
|
108 hboxLayout->addItem(spacerItem); |
|
109 |
|
110 |
|
111 vboxLayout->addLayout(hboxLayout); |
|
112 |
|
113 groupBox = new QGroupBox(ValidatorsForm); |
|
114 groupBox->setObjectName(QString::fromUtf8("groupBox")); |
|
115 vboxLayout1 = new QVBoxLayout(groupBox); |
|
116 #ifndef Q_OS_MAC |
|
117 vboxLayout1->setSpacing(6); |
|
118 #endif |
|
119 #ifndef Q_OS_MAC |
|
120 vboxLayout1->setContentsMargins(9, 9, 9, 9); |
|
121 #endif |
|
122 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
|
123 hboxLayout1 = new QHBoxLayout(); |
|
124 #ifndef Q_OS_MAC |
|
125 hboxLayout1->setSpacing(6); |
|
126 #endif |
|
127 #ifndef Q_OS_MAC |
|
128 hboxLayout1->setContentsMargins(0, 0, 0, 0); |
|
129 #endif |
|
130 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
|
131 gridLayout = new QGridLayout(); |
|
132 #ifndef Q_OS_MAC |
|
133 gridLayout->setSpacing(6); |
|
134 #endif |
|
135 #ifndef Q_OS_MAC |
|
136 gridLayout->setContentsMargins(0, 0, 0, 0); |
|
137 #endif |
|
138 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
139 label = new QLabel(groupBox); |
|
140 label->setObjectName(QString::fromUtf8("label")); |
|
141 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
142 |
|
143 gridLayout->addWidget(label, 0, 0, 1, 1); |
|
144 |
|
145 minVal = new QSpinBox(groupBox); |
|
146 minVal->setObjectName(QString::fromUtf8("minVal")); |
|
147 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); |
|
148 sizePolicy.setHorizontalStretch(1); |
|
149 sizePolicy.setVerticalStretch(0); |
|
150 sizePolicy.setHeightForWidth(minVal->sizePolicy().hasHeightForWidth()); |
|
151 minVal->setSizePolicy(sizePolicy); |
|
152 minVal->setMinimum(-1000000); |
|
153 minVal->setMaximum(1000000); |
|
154 |
|
155 gridLayout->addWidget(minVal, 0, 1, 1, 1); |
|
156 |
|
157 label_2 = new QLabel(groupBox); |
|
158 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
159 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
160 |
|
161 gridLayout->addWidget(label_2, 1, 0, 1, 1); |
|
162 |
|
163 maxVal = new QSpinBox(groupBox); |
|
164 maxVal->setObjectName(QString::fromUtf8("maxVal")); |
|
165 sizePolicy.setHeightForWidth(maxVal->sizePolicy().hasHeightForWidth()); |
|
166 maxVal->setSizePolicy(sizePolicy); |
|
167 maxVal->setMinimum(-1000000); |
|
168 maxVal->setMaximum(1000000); |
|
169 maxVal->setValue(1000); |
|
170 |
|
171 gridLayout->addWidget(maxVal, 1, 1, 1, 1); |
|
172 |
|
173 |
|
174 hboxLayout1->addLayout(gridLayout); |
|
175 |
|
176 frame = new QFrame(groupBox); |
|
177 frame->setObjectName(QString::fromUtf8("frame")); |
|
178 frame->setFrameShape(QFrame::StyledPanel); |
|
179 frame->setFrameShadow(QFrame::Sunken); |
|
180 vboxLayout2 = new QVBoxLayout(frame); |
|
181 #ifndef Q_OS_MAC |
|
182 vboxLayout2->setSpacing(6); |
|
183 #endif |
|
184 #ifndef Q_OS_MAC |
|
185 vboxLayout2->setContentsMargins(9, 9, 9, 9); |
|
186 #endif |
|
187 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
|
188 ledWidget = new LEDWidget(frame); |
|
189 ledWidget->setObjectName(QString::fromUtf8("ledWidget")); |
|
190 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed); |
|
191 sizePolicy1.setHorizontalStretch(0); |
|
192 sizePolicy1.setVerticalStretch(0); |
|
193 sizePolicy1.setHeightForWidth(ledWidget->sizePolicy().hasHeightForWidth()); |
|
194 ledWidget->setSizePolicy(sizePolicy1); |
|
195 ledWidget->setPixmap(QPixmap(QString::fromUtf8(":/ledoff.png"))); |
|
196 ledWidget->setAlignment(Qt::AlignCenter); |
|
197 |
|
198 vboxLayout2->addWidget(ledWidget); |
|
199 |
|
200 label_7 = new QLabel(frame); |
|
201 label_7->setObjectName(QString::fromUtf8("label_7")); |
|
202 |
|
203 vboxLayout2->addWidget(label_7); |
|
204 |
|
205 |
|
206 hboxLayout1->addWidget(frame); |
|
207 |
|
208 |
|
209 vboxLayout1->addLayout(hboxLayout1); |
|
210 |
|
211 spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed); |
|
212 |
|
213 vboxLayout1->addItem(spacerItem1); |
|
214 |
|
215 editor = new QLineEdit(groupBox); |
|
216 editor->setObjectName(QString::fromUtf8("editor")); |
|
217 |
|
218 vboxLayout1->addWidget(editor); |
|
219 |
|
220 |
|
221 vboxLayout->addWidget(groupBox); |
|
222 |
|
223 groupBox_2 = new QGroupBox(ValidatorsForm); |
|
224 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); |
|
225 vboxLayout3 = new QVBoxLayout(groupBox_2); |
|
226 #ifndef Q_OS_MAC |
|
227 vboxLayout3->setSpacing(6); |
|
228 #endif |
|
229 #ifndef Q_OS_MAC |
|
230 vboxLayout3->setContentsMargins(9, 9, 9, 9); |
|
231 #endif |
|
232 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3")); |
|
233 hboxLayout2 = new QHBoxLayout(); |
|
234 #ifndef Q_OS_MAC |
|
235 hboxLayout2->setSpacing(6); |
|
236 #endif |
|
237 #ifndef Q_OS_MAC |
|
238 hboxLayout2->setContentsMargins(0, 0, 0, 0); |
|
239 #endif |
|
240 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); |
|
241 gridLayout1 = new QGridLayout(); |
|
242 #ifndef Q_OS_MAC |
|
243 gridLayout1->setSpacing(6); |
|
244 #endif |
|
245 #ifndef Q_OS_MAC |
|
246 gridLayout1->setContentsMargins(0, 0, 0, 0); |
|
247 #endif |
|
248 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); |
|
249 label_3 = new QLabel(groupBox_2); |
|
250 label_3->setObjectName(QString::fromUtf8("label_3")); |
|
251 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
252 |
|
253 gridLayout1->addWidget(label_3, 0, 0, 1, 1); |
|
254 |
|
255 doubleMinVal = new QDoubleSpinBox(groupBox_2); |
|
256 doubleMinVal->setObjectName(QString::fromUtf8("doubleMinVal")); |
|
257 sizePolicy.setHeightForWidth(doubleMinVal->sizePolicy().hasHeightForWidth()); |
|
258 doubleMinVal->setSizePolicy(sizePolicy); |
|
259 doubleMinVal->setMinimum(-100000); |
|
260 doubleMinVal->setMaximum(100000); |
|
261 doubleMinVal->setValue(0); |
|
262 |
|
263 gridLayout1->addWidget(doubleMinVal, 0, 1, 1, 1); |
|
264 |
|
265 label_5 = new QLabel(groupBox_2); |
|
266 label_5->setObjectName(QString::fromUtf8("label_5")); |
|
267 label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
268 |
|
269 gridLayout1->addWidget(label_5, 0, 2, 1, 1); |
|
270 |
|
271 doubleFormat = new QComboBox(groupBox_2); |
|
272 doubleFormat->setObjectName(QString::fromUtf8("doubleFormat")); |
|
273 |
|
274 gridLayout1->addWidget(doubleFormat, 0, 3, 1, 1); |
|
275 |
|
276 label_4 = new QLabel(groupBox_2); |
|
277 label_4->setObjectName(QString::fromUtf8("label_4")); |
|
278 label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
279 |
|
280 gridLayout1->addWidget(label_4, 1, 0, 1, 1); |
|
281 |
|
282 doubleMaxVal = new QDoubleSpinBox(groupBox_2); |
|
283 doubleMaxVal->setObjectName(QString::fromUtf8("doubleMaxVal")); |
|
284 sizePolicy.setHeightForWidth(doubleMaxVal->sizePolicy().hasHeightForWidth()); |
|
285 doubleMaxVal->setSizePolicy(sizePolicy); |
|
286 doubleMaxVal->setMinimum(-100000); |
|
287 doubleMaxVal->setMaximum(100000); |
|
288 doubleMaxVal->setValue(1000); |
|
289 |
|
290 gridLayout1->addWidget(doubleMaxVal, 1, 1, 1, 1); |
|
291 |
|
292 label_6 = new QLabel(groupBox_2); |
|
293 label_6->setObjectName(QString::fromUtf8("label_6")); |
|
294 label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
295 |
|
296 gridLayout1->addWidget(label_6, 1, 2, 1, 1); |
|
297 |
|
298 doubleDecimals = new QSpinBox(groupBox_2); |
|
299 doubleDecimals->setObjectName(QString::fromUtf8("doubleDecimals")); |
|
300 doubleDecimals->setValue(2); |
|
301 |
|
302 gridLayout1->addWidget(doubleDecimals, 1, 3, 1, 1); |
|
303 |
|
304 |
|
305 hboxLayout2->addLayout(gridLayout1); |
|
306 |
|
307 frame_2 = new QFrame(groupBox_2); |
|
308 frame_2->setObjectName(QString::fromUtf8("frame_2")); |
|
309 frame_2->setFrameShape(QFrame::StyledPanel); |
|
310 frame_2->setFrameShadow(QFrame::Sunken); |
|
311 vboxLayout4 = new QVBoxLayout(frame_2); |
|
312 #ifndef Q_OS_MAC |
|
313 vboxLayout4->setSpacing(6); |
|
314 #endif |
|
315 #ifndef Q_OS_MAC |
|
316 vboxLayout4->setContentsMargins(9, 9, 9, 9); |
|
317 #endif |
|
318 vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4")); |
|
319 doubleLedWidget = new LEDWidget(frame_2); |
|
320 doubleLedWidget->setObjectName(QString::fromUtf8("doubleLedWidget")); |
|
321 doubleLedWidget->setPixmap(QPixmap(QString::fromUtf8(":/ledoff.png"))); |
|
322 doubleLedWidget->setAlignment(Qt::AlignCenter); |
|
323 |
|
324 vboxLayout4->addWidget(doubleLedWidget); |
|
325 |
|
326 label_8 = new QLabel(frame_2); |
|
327 label_8->setObjectName(QString::fromUtf8("label_8")); |
|
328 |
|
329 vboxLayout4->addWidget(label_8); |
|
330 |
|
331 |
|
332 hboxLayout2->addWidget(frame_2); |
|
333 |
|
334 |
|
335 vboxLayout3->addLayout(hboxLayout2); |
|
336 |
|
337 spacerItem2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed); |
|
338 |
|
339 vboxLayout3->addItem(spacerItem2); |
|
340 |
|
341 doubleEditor = new QLineEdit(groupBox_2); |
|
342 doubleEditor->setObjectName(QString::fromUtf8("doubleEditor")); |
|
343 |
|
344 vboxLayout3->addWidget(doubleEditor); |
|
345 |
|
346 |
|
347 vboxLayout->addWidget(groupBox_2); |
|
348 |
|
349 spacerItem3 = new QSpacerItem(20, 111, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
350 |
|
351 vboxLayout->addItem(spacerItem3); |
|
352 |
|
353 hboxLayout3 = new QHBoxLayout(); |
|
354 #ifndef Q_OS_MAC |
|
355 hboxLayout3->setSpacing(6); |
|
356 #endif |
|
357 hboxLayout3->setContentsMargins(0, 0, 0, 0); |
|
358 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); |
|
359 spacerItem4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
360 |
|
361 hboxLayout3->addItem(spacerItem4); |
|
362 |
|
363 pushButton = new QPushButton(ValidatorsForm); |
|
364 pushButton->setObjectName(QString::fromUtf8("pushButton")); |
|
365 |
|
366 hboxLayout3->addWidget(pushButton); |
|
367 |
|
368 |
|
369 vboxLayout->addLayout(hboxLayout3); |
|
370 |
|
371 |
|
372 retranslateUi(ValidatorsForm); |
|
373 QObject::connect(pushButton, SIGNAL(clicked()), ValidatorsForm, SLOT(close())); |
|
374 |
|
375 QMetaObject::connectSlotsByName(ValidatorsForm); |
|
376 } // setupUi |
|
377 |
|
378 void retranslateUi(QWidget *ValidatorsForm) |
|
379 { |
|
380 ValidatorsForm->setWindowTitle(QApplication::translate("ValidatorsForm", "Form", 0, QApplication::UnicodeUTF8)); |
|
381 groupBox->setTitle(QApplication::translate("ValidatorsForm", "QIntValidator", 0, QApplication::UnicodeUTF8)); |
|
382 label->setText(QApplication::translate("ValidatorsForm", "Min:", 0, QApplication::UnicodeUTF8)); |
|
383 label_2->setText(QApplication::translate("ValidatorsForm", "Max:", 0, QApplication::UnicodeUTF8)); |
|
384 label_7->setText(QApplication::translate("ValidatorsForm", "editingFinished()", 0, QApplication::UnicodeUTF8)); |
|
385 groupBox_2->setTitle(QApplication::translate("ValidatorsForm", "QDoubleValidator", 0, QApplication::UnicodeUTF8)); |
|
386 label_3->setText(QApplication::translate("ValidatorsForm", "Min:", 0, QApplication::UnicodeUTF8)); |
|
387 label_5->setText(QApplication::translate("ValidatorsForm", "Format:", 0, QApplication::UnicodeUTF8)); |
|
388 doubleFormat->clear(); |
|
389 doubleFormat->insertItems(0, QStringList() |
|
390 << QApplication::translate("ValidatorsForm", "Standard", 0, QApplication::UnicodeUTF8) |
|
391 << QApplication::translate("ValidatorsForm", "Scientific", 0, QApplication::UnicodeUTF8) |
|
392 ); |
|
393 label_4->setText(QApplication::translate("ValidatorsForm", "Max:", 0, QApplication::UnicodeUTF8)); |
|
394 label_6->setText(QApplication::translate("ValidatorsForm", "Decimals:", 0, QApplication::UnicodeUTF8)); |
|
395 doubleLedWidget->setText(QString()); |
|
396 label_8->setText(QApplication::translate("ValidatorsForm", "editingFinished()", 0, QApplication::UnicodeUTF8)); |
|
397 pushButton->setText(QApplication::translate("ValidatorsForm", "Quit", 0, QApplication::UnicodeUTF8)); |
|
398 } // retranslateUi |
|
399 |
|
400 }; |
|
401 |
|
402 namespace Ui { |
|
403 class ValidatorsForm: public Ui_ValidatorsForm {}; |
|
404 } // namespace Ui |
|
405 |
|
406 QT_END_NAMESPACE |
|
407 |
|
408 #endif // VALIDATORS_H |