Debian Codegraph @

tests/auto/tools/uic/baseline/config.ui.h

raw
1 /*
2 *********************************************************************
3 **
4 ** Copyright (C) 2016 The Qt Company Ltd.
5 ** Contact: https://www.qt.io/licensing/
6 **
7 ** This file is part of the autotests of the Qt Toolkit.
8 **
9 ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
10 ** Commercial License Usage
11 ** Licensees holding valid commercial Qt licenses may use this file in
12 ** accordance with the commercial license agreement provided with the
13 ** Software or, alternatively, in accordance with the terms contained in
14 ** a written agreement between you and The Qt Company. For licensing terms
15 ** and conditions see https://www.qt.io/terms-conditions. For further
16 ** information use the contact form at https://www.qt.io/contact-us.
17 **
18 ** GNU General Public License Usage
19 ** Alternatively, this file may be used under the terms of the GNU
20 ** General Public License version 3 as published by the Free Software
21 ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
22 ** included in the packaging of this file. Please review the following
23 ** information to ensure the GNU General Public License requirements will
24 ** be met: https://www.gnu.org/licenses/gpl-3.0.html.
25 **
26 ** $QT_END_LICENSE$
27 **
28 *********************************************************************
29 */
30
31 /********************************************************************************
32 ** Form generated from reading UI file 'config.ui'
33 **
34 ** Created by: Qt User Interface Compiler version 5.12.0
35 **
36 ** WARNING! All changes made in this file will be lost when recompiling UI file!
37 ********************************************************************************/
38
39 #ifndef CONFIG_H
40 #define CONFIG_H
41
42 #include <QtCore/QVariant>
43 #include <QtWidgets/QApplication>
44 #include <QtWidgets/QCheckBox>
45 #include <QtWidgets/QComboBox>
46 #include <QtWidgets/QDialog>
47 #include <QtWidgets/QGridLayout>
48 #include <QtWidgets/QGroupBox>
49 #include <QtWidgets/QHBoxLayout>
50 #include <QtWidgets/QLabel>
51 #include <QtWidgets/QPushButton>
52 #include <QtWidgets/QRadioButton>
53 #include <QtWidgets/QSlider>
54 #include <QtWidgets/QSpacerItem>
55 #include <QtWidgets/QSpinBox>
56 #include <QtWidgets/QVBoxLayout>
57 #include "gammaview.h"
58
59 QT_BEGIN_NAMESPACE
60
61 class Ui_Config
62 {
63 public:
64 QVBoxLayout *vboxLayout;
65 QHBoxLayout *hboxLayout;
66 QGroupBox *ButtonGroup1;
67 QVBoxLayout *vboxLayout1;
68 QRadioButton *size_176_220;
69 QRadioButton *size_240_320;
70 QRadioButton *size_320_240;
71 QRadioButton *size_640_480;
72 QRadioButton *size_800_600;
73 QRadioButton *size_1024_768;
74 QHBoxLayout *hboxLayout1;
75 QRadioButton *size_custom;
76 QSpinBox *size_width;
77 QSpinBox *size_height;
78 QGroupBox *ButtonGroup2;
79 QVBoxLayout *vboxLayout2;
80 QRadioButton *depth_1;
81 QRadioButton *depth_4gray;
82 QRadioButton *depth_8;
83 QRadioButton *depth_12;
84 QRadioButton *depth_15;
85 QRadioButton *depth_16;
86 QRadioButton *depth_18;
87 QRadioButton *depth_24;
88 QRadioButton *depth_32;
89 QRadioButton *depth_32_argb;
90 QHBoxLayout *hboxLayout2;
91 QLabel *TextLabel1_3;
92 QComboBox *skin;
93 QCheckBox *touchScreen;
94 QCheckBox *lcdScreen;
95 QSpacerItem *spacerItem;
96 QLabel *TextLabel1;
97 QGroupBox *GroupBox1;
98 QGridLayout *gridLayout;
99 QLabel *TextLabel3;
100 QSlider *bslider;
101 QLabel *blabel;
102 QLabel *TextLabel2;
103 QSlider *gslider;
104 QLabel *glabel;
105 QLabel *TextLabel7;
106 QLabel *TextLabel8;
107 QSlider *gammaslider;
108 QLabel *TextLabel1_2;
109 QLabel *rlabel;
110 QSlider *rslider;
111 QPushButton *PushButton3;
112 GammaView *MyCustomWidget1;
113 QHBoxLayout *hboxLayout3;
114 QSpacerItem *spacerItem1;
115 QPushButton *buttonOk;
116 QPushButton *buttonCancel;
117
118 void setupUi(QDialog *Config)
119 {
120 if (Config->objectName().isEmpty())
121 Config->setObjectName(QString::fromUtf8("Config"));
122 Config->resize(600, 650);
123 Config->setSizeGripEnabled(true);
124 vboxLayout = new QVBoxLayout(Config);
125 vboxLayout->setSpacing(6);
126 vboxLayout->setContentsMargins(11, 11, 11, 11);
127 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
128 vboxLayout->setContentsMargins(8, 8, 8, 8);
129 hboxLayout = new QHBoxLayout();
130 hboxLayout->setSpacing(6);
131 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
132 hboxLayout->setContentsMargins(0, 0, 0, 0);
133 ButtonGroup1 = new QGroupBox(Config);
134 ButtonGroup1->setObjectName(QString::fromUtf8("ButtonGroup1"));
135 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
136 sizePolicy.setHorizontalStretch(0);
137 sizePolicy.setVerticalStretch(0);
138 sizePolicy.setHeightForWidth(ButtonGroup1->sizePolicy().hasHeightForWidth());
139 ButtonGroup1->setSizePolicy(sizePolicy);
140 vboxLayout1 = new QVBoxLayout(ButtonGroup1);
141 vboxLayout1->setSpacing(6);
142 vboxLayout1->setContentsMargins(11, 11, 11, 11);
143 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
144 vboxLayout1->setContentsMargins(11, 11, 11, 11);
145 size_176_220 = new QRadioButton(ButtonGroup1);
146 size_176_220->setObjectName(QString::fromUtf8("size_176_220"));
147
148 vboxLayout1->addWidget(size_176_220);
149
150 size_240_320 = new QRadioButton(ButtonGroup1);
151 size_240_320->setObjectName(QString::fromUtf8("size_240_320"));
152
153 vboxLayout1->addWidget(size_240_320);
154
155 size_320_240 = new QRadioButton(ButtonGroup1);
156 size_320_240->setObjectName(QString::fromUtf8("size_320_240"));
157
158 vboxLayout1->addWidget(size_320_240);
159
160 size_640_480 = new QRadioButton(ButtonGroup1);
161 size_640_480->setObjectName(QString::fromUtf8("size_640_480"));
162
163 vboxLayout1->addWidget(size_640_480);
164
165 size_800_600 = new QRadioButton(ButtonGroup1);
166 size_800_600->setObjectName(QString::fromUtf8("size_800_600"));
167
168 vboxLayout1->addWidget(size_800_600);
169
170 size_1024_768 = new QRadioButton(ButtonGroup1);
171 size_1024_768->setObjectName(QString::fromUtf8("size_1024_768"));
172
173 vboxLayout1->addWidget(size_1024_768);
174
175 hboxLayout1 = new QHBoxLayout();
176 hboxLayout1->setSpacing(6);
177 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
178 hboxLayout1->setContentsMargins(0, 0, 0, 0);
179 size_custom = new QRadioButton(ButtonGroup1);
180 size_custom->setObjectName(QString::fromUtf8("size_custom"));
181 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
182 sizePolicy1.setHorizontalStretch(0);
183 sizePolicy1.setVerticalStretch(0);
184 sizePolicy1.setHeightForWidth(size_custom->sizePolicy().hasHeightForWidth());
185 size_custom->setSizePolicy(sizePolicy1);
186
187 hboxLayout1->addWidget(size_custom);
188
189 size_width = new QSpinBox(ButtonGroup1);
190 size_width->setObjectName(QString::fromUtf8("size_width"));
191 size_width->setMinimum(1);
192 size_width->setMaximum(1280);
193 size_width->setSingleStep(16);
194 size_width->setValue(400);
195
196 hboxLayout1->addWidget(size_width);
197
198 size_height = new QSpinBox(ButtonGroup1);
199 size_height->setObjectName(QString::fromUtf8("size_height"));
200 size_height->setMinimum(1);
201 size_height->setMaximum(1024);
202 size_height->setSingleStep(16);
203 size_height->setValue(300);
204
205 hboxLayout1->addWidget(size_height);
206
207
208 vboxLayout1->addLayout(hboxLayout1);
209
210
211 hboxLayout->addWidget(ButtonGroup1);
212
213 ButtonGroup2 = new QGroupBox(Config);
214 ButtonGroup2->setObjectName(QString::fromUtf8("ButtonGroup2"));
215 vboxLayout2 = new QVBoxLayout(ButtonGroup2);
216 vboxLayout2->setSpacing(6);
217 vboxLayout2->setContentsMargins(11, 11, 11, 11);
218 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
219 vboxLayout2->setContentsMargins(11, 11, 11, 11);
220 depth_1 = new QRadioButton(ButtonGroup2);
221 depth_1->setObjectName(QString::fromUtf8("depth_1"));
222
223 vboxLayout2->addWidget(depth_1);
224
225 depth_4gray = new QRadioButton(ButtonGroup2);
226 depth_4gray->setObjectName(QString::fromUtf8("depth_4gray"));
227
228 vboxLayout2->addWidget(depth_4gray);
229
230 depth_8 = new QRadioButton(ButtonGroup2);
231 depth_8->setObjectName(QString::fromUtf8("depth_8"));
232
233 vboxLayout2->addWidget(depth_8);
234
235 depth_12 = new QRadioButton(ButtonGroup2);
236 depth_12->setObjectName(QString::fromUtf8("depth_12"));
237
238 vboxLayout2->addWidget(depth_12);
239
240 depth_15 = new QRadioButton(ButtonGroup2);
241 depth_15->setObjectName(QString::fromUtf8("depth_15"));
242
243 vboxLayout2->addWidget(depth_15);
244
245 depth_16 = new QRadioButton(ButtonGroup2);
246 depth_16->setObjectName(QString::fromUtf8("depth_16"));
247
248 vboxLayout2->addWidget(depth_16);
249
250 depth_18 = new QRadioButton(ButtonGroup2);
251 depth_18->setObjectName(QString::fromUtf8("depth_18"));
252
253 vboxLayout2->addWidget(depth_18);
254
255 depth_24 = new QRadioButton(ButtonGroup2);
256 depth_24->setObjectName(QString::fromUtf8("depth_24"));
257
258 vboxLayout2->addWidget(depth_24);
259
260 depth_32 = new QRadioButton(ButtonGroup2);
261 depth_32->setObjectName(QString::fromUtf8("depth_32"));
262
263 vboxLayout2->addWidget(depth_32);
264
265 depth_32_argb = new QRadioButton(ButtonGroup2);
266 depth_32_argb->setObjectName(QString::fromUtf8("depth_32_argb"));
267
268 vboxLayout2->addWidget(depth_32_argb);
269
270
271 hboxLayout->addWidget(ButtonGroup2);
272
273
274 vboxLayout->addLayout(hboxLayout);
275
276 hboxLayout2 = new QHBoxLayout();
277 hboxLayout2->setSpacing(6);
278 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
279 hboxLayout2->setContentsMargins(0, 0, 0, 0);
280 TextLabel1_3 = new QLabel(Config);
281 TextLabel1_3->setObjectName(QString::fromUtf8("TextLabel1_3"));
282
283 hboxLayout2->addWidget(TextLabel1_3);
284
285 skin = new QComboBox(Config);
286 skin->addItem(QString());
287 skin->setObjectName(QString::fromUtf8("skin"));
288 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
289 sizePolicy2.setHorizontalStretch(0);
290 sizePolicy2.setVerticalStretch(0);
291 sizePolicy2.setHeightForWidth(skin->sizePolicy().hasHeightForWidth());
292 skin->setSizePolicy(sizePolicy2);
293
294 hboxLayout2->addWidget(skin);
295
296
297 vboxLayout->addLayout(hboxLayout2);
298
299 touchScreen = new QCheckBox(Config);
300 touchScreen->setObjectName(QString::fromUtf8("touchScreen"));
301
302 vboxLayout->addWidget(touchScreen);
303
304 lcdScreen = new QCheckBox(Config);
305 lcdScreen->setObjectName(QString::fromUtf8("lcdScreen"));
306
307 vboxLayout->addWidget(lcdScreen);
308
309 spacerItem = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
310
311 vboxLayout->addItem(spacerItem);
312
313 TextLabel1 = new QLabel(Config);
314 TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
315 sizePolicy.setHeightForWidth(TextLabel1->sizePolicy().hasHeightForWidth());
316 TextLabel1->setSizePolicy(sizePolicy);
317 TextLabel1->setWordWrap(true);
318
319 vboxLayout->addWidget(TextLabel1);
320
321 GroupBox1 = new QGroupBox(Config);
322 GroupBox1->setObjectName(QString::fromUtf8("GroupBox1"));
323 gridLayout = new QGridLayout(GroupBox1);
324 gridLayout->setSpacing(6);
325 gridLayout->setContentsMargins(11, 11, 11, 11);
326 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
327 gridLayout->setHorizontalSpacing(6);
328 gridLayout->setVerticalSpacing(6);
329 gridLayout->setContentsMargins(11, 11, 11, 11);
330 TextLabel3 = new QLabel(GroupBox1);
331 TextLabel3->setObjectName(QString::fromUtf8("TextLabel3"));
332
333 gridLayout->addWidget(TextLabel3, 6, 0, 1, 1);
334
335 bslider = new QSlider(GroupBox1);
336 bslider->setObjectName(QString::fromUtf8("bslider"));
337 QPalette palette;
338 QBrush brush(QColor(128, 128, 128, 255));
339 brush.setStyle(Qt::SolidPattern);
340 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
341 QBrush brush1(QColor(0, 0, 255, 255));
342 brush1.setStyle(Qt::SolidPattern);
343 palette.setBrush(QPalette::Active, QPalette::Button, brush1);
344 QBrush brush2(QColor(127, 127, 255, 255));
345 brush2.setStyle(Qt::SolidPattern);
346 palette.setBrush(QPalette::Active, QPalette::Light, brush2);
347 QBrush brush3(QColor(38, 38, 255, 255));
348 brush3.setStyle(Qt::SolidPattern);
349 palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
350 QBrush brush4(QColor(0, 0, 127, 255));
351 brush4.setStyle(Qt::SolidPattern);
352 palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
353 QBrush brush5(QColor(0, 0, 170, 255));
354 brush5.setStyle(Qt::SolidPattern);
355 palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
356 QBrush brush6(QColor(0, 0, 0, 255));
357 brush6.setStyle(Qt::SolidPattern);
358 palette.setBrush(QPalette::Active, QPalette::Text, brush6);
359 QBrush brush7(QColor(255, 255, 255, 255));
360 brush7.setStyle(Qt::SolidPattern);
361 palette.setBrush(QPalette::Active, QPalette::BrightText, brush7);
362 palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
363 palette.setBrush(QPalette::Active, QPalette::Base, brush7);
364 QBrush brush8(QColor(220, 220, 220, 255));
365 brush8.setStyle(Qt::SolidPattern);
366 palette.setBrush(QPalette::Active, QPalette::Window, brush8);
367 palette.setBrush(QPalette::Active, QPalette::Shadow, brush6);
368 QBrush brush9(QColor(10, 95, 137, 255));
369 brush9.setStyle(Qt::SolidPattern);
370 palette.setBrush(QPalette::Active, QPalette::Highlight, brush9);
371 palette.setBrush(QPalette::Active, QPalette::HighlightedText, brush7);
372 palette.setBrush(QPalette::Active, QPalette::Link, brush6);
373 palette.setBrush(QPalette::Active, QPalette::LinkVisited, brush6);
374 QBrush brush10(QColor(232, 232, 232, 255));
375 brush10.setStyle(Qt::SolidPattern);
376 palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush10);
377 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
378 palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
379 palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
380 palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
381 palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
382 palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
383 palette.setBrush(QPalette::Inactive, QPalette::Text, brush6);
384 palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush7);
385 palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
386 palette.setBrush(QPalette::Inactive, QPalette::Base, brush7);
387 palette.setBrush(QPalette::Inactive, QPalette::Window, brush8);
388 palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush6);
389 palette.setBrush(QPalette::Inactive, QPalette::Highlight, brush9);
390 palette.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush7);
391 palette.setBrush(QPalette::Inactive, QPalette::Link, brush6);
392 palette.setBrush(QPalette::Inactive, QPalette::LinkVisited, brush6);
393 palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush10);
394 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush);
395 palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
396 palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
397 palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
398 palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
399 palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
400 palette.setBrush(QPalette::Disabled, QPalette::Text, brush6);
401 palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush7);
402 palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush);
403 palette.setBrush(QPalette::Disabled, QPalette::Base, brush7);
404 palette.setBrush(QPalette::Disabled, QPalette::Window, brush8);
405 palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush6);
406 palette.setBrush(QPalette::Disabled, QPalette::Highlight, brush9);
407 palette.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush7);
408 palette.setBrush(QPalette::Disabled, QPalette::Link, brush6);
409 palette.setBrush(QPalette::Disabled, QPalette::LinkVisited, brush6);
410 palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush10);
411 bslider->setPalette(palette);
412 bslider->setMaximum(400);
413 bslider->setValue(100);
414 bslider->setOrientation(Qt::Horizontal);
415
416 gridLayout->addWidget(bslider, 6, 1, 1, 1);
417
418 blabel = new QLabel(GroupBox1);
419 blabel->setObjectName(QString::fromUtf8("blabel"));
420
421 gridLayout->addWidget(blabel, 6, 2, 1, 1);
422
423 TextLabel2 = new QLabel(GroupBox1);
424 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
425
426 gridLayout->addWidget(TextLabel2, 4, 0, 1, 1);
427
428 gslider = new QSlider(GroupBox1);
429 gslider->setObjectName(QString::fromUtf8("gslider"));
430 QPalette palette1;
431 palette1.setBrush(QPalette::Active, QPalette::WindowText, brush);
432 QBrush brush11(QColor(0, 255, 0, 255));
433 brush11.setStyle(Qt::SolidPattern);
434 palette1.setBrush(QPalette::Active, QPalette::Button, brush11);
435 QBrush brush12(QColor(127, 255, 127, 255));
436 brush12.setStyle(Qt::SolidPattern);
437 palette1.setBrush(QPalette::Active, QPalette::Light, brush12);
438 QBrush brush13(QColor(38, 255, 38, 255));
439 brush13.setStyle(Qt::SolidPattern);
440 palette1.setBrush(QPalette::Active, QPalette::Midlight, brush13);
441 QBrush brush14(QColor(0, 127, 0, 255));
442 brush14.setStyle(Qt::SolidPattern);
443 palette1.setBrush(QPalette::Active, QPalette::Dark, brush14);
444 QBrush brush15(QColor(0, 170, 0, 255));
445 brush15.setStyle(Qt::SolidPattern);
446 palette1.setBrush(QPalette::Active, QPalette::Mid, brush15);
447 palette1.setBrush(QPalette::Active, QPalette::Text, brush6);
448 palette1.setBrush(QPalette::Active, QPalette::BrightText, brush7);
449 palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush);
450 palette1.setBrush(QPalette::Active, QPalette::Base, brush7);
451 palette1.setBrush(QPalette::Active, QPalette::Window, brush8);
452 palette1.setBrush(QPalette::Active, QPalette::Shadow, brush6);
453 palette1.setBrush(QPalette::Active, QPalette::Highlight, brush9);
454 palette1.setBrush(QPalette::Active, QPalette::HighlightedText, brush7);
455 palette1.setBrush(QPalette::Active, QPalette::Link, brush6);
456 palette1.setBrush(QPalette::Active, QPalette::LinkVisited, brush6);
457 palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush10);
458 palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
459 palette1.setBrush(QPalette::Inactive, QPalette::Button, brush11);
460 palette1.setBrush(QPalette::Inactive, QPalette::Light, brush12);
461 palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush13);
462 palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush14);
463 palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush15);
464 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush6);
465 palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush7);
466 palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
467 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush7);
468 palette1.setBrush(QPalette::Inactive, QPalette::Window, brush8);
469 palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush6);
470 palette1.setBrush(QPalette::Inactive, QPalette::Highlight, brush9);
471 palette1.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush7);
472 palette1.setBrush(QPalette::Inactive, QPalette::Link, brush6);
473 palette1.setBrush(QPalette::Inactive, QPalette::LinkVisited, brush6);
474 palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush10);
475 palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush);
476 palette1.setBrush(QPalette::Disabled, QPalette::Button, brush11);
477 palette1.setBrush(QPalette::Disabled, QPalette::Light, brush12);
478 palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush13);
479 palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush14);
480 palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush15);
481 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush6);
482 palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush7);
483 palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush);
484 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush7);
485 palette1.setBrush(QPalette::Disabled, QPalette::Window, brush8);
486 palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush6);
487 palette1.setBrush(QPalette::Disabled, QPalette::Highlight, brush9);
488 palette1.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush7);
489 palette1.setBrush(QPalette::Disabled, QPalette::Link, brush6);
490 palette1.setBrush(QPalette::Disabled, QPalette::LinkVisited, brush6);
491 palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush10);
492 gslider->setPalette(palette1);
493 gslider->setMaximum(400);
494 gslider->setValue(100);
495 gslider->setOrientation(Qt::Horizontal);
496
497 gridLayout->addWidget(gslider, 4, 1, 1, 1);
498
499 glabel = new QLabel(GroupBox1);
500 glabel->setObjectName(QString::fromUtf8("glabel"));
501
502 gridLayout->addWidget(glabel, 4, 2, 1, 1);
503
504 TextLabel7 = new QLabel(GroupBox1);
505 TextLabel7->setObjectName(QString::fromUtf8("TextLabel7"));
506
507 gridLayout->addWidget(TextLabel7, 0, 0, 1, 1);
508
509 TextLabel8 = new QLabel(GroupBox1);
510 TextLabel8->setObjectName(QString::fromUtf8("TextLabel8"));
511
512 gridLayout->addWidget(TextLabel8, 0, 2, 1, 1);
513
514 gammaslider = new QSlider(GroupBox1);
515 gammaslider->setObjectName(QString::fromUtf8("gammaslider"));
516 QPalette palette2;
517 palette2.setBrush(QPalette::Active, QPalette::WindowText, brush);
518 palette2.setBrush(QPalette::Active, QPalette::Button, brush7);
519 palette2.setBrush(QPalette::Active, QPalette::Light, brush7);
520 palette2.setBrush(QPalette::Active, QPalette::Midlight, brush7);
521 QBrush brush16(QColor(127, 127, 127, 255));
522 brush16.setStyle(Qt::SolidPattern);
523 palette2.setBrush(QPalette::Active, QPalette::Dark, brush16);
524 QBrush brush17(QColor(170, 170, 170, 255));
525 brush17.setStyle(Qt::SolidPattern);
526 palette2.setBrush(QPalette::Active, QPalette::Mid, brush17);
527 palette2.setBrush(QPalette::Active, QPalette::Text, brush6);
528 palette2.setBrush(QPalette::Active, QPalette::BrightText, brush7);
529 palette2.setBrush(QPalette::Active, QPalette::ButtonText, brush);
530 palette2.setBrush(QPalette::Active, QPalette::Base, brush7);
531 palette2.setBrush(QPalette::Active, QPalette::Window, brush8);
532 palette2.setBrush(QPalette::Active, QPalette::Shadow, brush6);
533 palette2.setBrush(QPalette::Active, QPalette::Highlight, brush9);
534 palette2.setBrush(QPalette::Active, QPalette::HighlightedText, brush7);
535 palette2.setBrush(QPalette::Active, QPalette::Link, brush6);
536 palette2.setBrush(QPalette::Active, QPalette::LinkVisited, brush6);
537 palette2.setBrush(QPalette::Active, QPalette::AlternateBase, brush10);
538 palette2.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
539 palette2.setBrush(QPalette::Inactive, QPalette::Button, brush7);
540 palette2.setBrush(QPalette::Inactive, QPalette::Light, brush7);
541 palette2.setBrush(QPalette::Inactive, QPalette::Midlight, brush7);
542 palette2.setBrush(QPalette::Inactive, QPalette::Dark, brush16);
543 palette2.setBrush(QPalette::Inactive, QPalette::Mid, brush17);
544 palette2.setBrush(QPalette::Inactive, QPalette::Text, brush6);
545 palette2.setBrush(QPalette::Inactive, QPalette::BrightText, brush7);
546 palette2.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
547 palette2.setBrush(QPalette::Inactive, QPalette::Base, brush7);
548 palette2.setBrush(QPalette::Inactive, QPalette::Window, brush8);
549 palette2.setBrush(QPalette::Inactive, QPalette::Shadow, brush6);
550 palette2.setBrush(QPalette::Inactive, QPalette::Highlight, brush9);
551 palette2.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush7);
552 palette2.setBrush(QPalette::Inactive, QPalette::Link, brush6);
553 palette2.setBrush(QPalette::Inactive, QPalette::LinkVisited, brush6);
554 palette2.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush10);
555 palette2.setBrush(QPalette::Disabled, QPalette::WindowText, brush);
556 palette2.setBrush(QPalette::Disabled, QPalette::Button, brush7);
557 palette2.setBrush(QPalette::Disabled, QPalette::Light, brush7);
558 palette2.setBrush(QPalette::Disabled, QPalette::Midlight, brush7);
559 palette2.setBrush(QPalette::Disabled, QPalette::Dark, brush16);
560 palette2.setBrush(QPalette::Disabled, QPalette::Mid, brush17);
561 palette2.setBrush(QPalette::Disabled, QPalette::Text, brush6);
562 palette2.setBrush(QPalette::Disabled, QPalette::BrightText, brush7);
563 palette2.setBrush(QPalette::Disabled, QPalette::ButtonText, brush);
564 palette2.setBrush(QPalette::Disabled, QPalette::Base, brush7);
565 palette2.setBrush(QPalette::Disabled, QPalette::Window, brush8);
566 palette2.setBrush(QPalette::Disabled, QPalette::Shadow, brush6);
567 palette2.setBrush(QPalette::Disabled, QPalette::Highlight, brush9);
568 palette2.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush7);
569 palette2.setBrush(QPalette::Disabled, QPalette::Link, brush6);
570 palette2.setBrush(QPalette::Disabled, QPalette::LinkVisited, brush6);
571 palette2.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush10);
572 gammaslider->setPalette(palette2);
573 gammaslider->setMaximum(400);
574 gammaslider->setValue(100);
575 gammaslider->setOrientation(Qt::Horizontal);
576
577 gridLayout->addWidget(gammaslider, 0, 1, 1, 1);
578
579 TextLabel1_2 = new QLabel(GroupBox1);
580 TextLabel1_2->setObjectName(QString::fromUtf8("TextLabel1_2"));
581
582 gridLayout->addWidget(TextLabel1_2, 2, 0, 1, 1);
583
584 rlabel = new QLabel(GroupBox1);
585 rlabel->setObjectName(QString::fromUtf8("rlabel"));
586
587 gridLayout->addWidget(rlabel, 2, 2, 1, 1);
588
589 rslider = new QSlider(GroupBox1);
590 rslider->setObjectName(QString::fromUtf8("rslider"));
591 QPalette palette3;
592 palette3.setBrush(QPalette::Active, QPalette::WindowText, brush);
593 QBrush brush18(QColor(255, 0, 0, 255));
594 brush18.setStyle(Qt::SolidPattern);
595 palette3.setBrush(QPalette::Active, QPalette::Button, brush18);
596 QBrush brush19(QColor(255, 127, 127, 255));
597 brush19.setStyle(Qt::SolidPattern);
598 palette3.setBrush(QPalette::Active, QPalette::Light, brush19);
599 QBrush brush20(QColor(255, 38, 38, 255));
600 brush20.setStyle(Qt::SolidPattern);
601 palette3.setBrush(QPalette::Active, QPalette::Midlight, brush20);
602 QBrush brush21(QColor(127, 0, 0, 255));
603 brush21.setStyle(Qt::SolidPattern);
604 palette3.setBrush(QPalette::Active, QPalette::Dark, brush21);
605 QBrush brush22(QColor(170, 0, 0, 255));
606 brush22.setStyle(Qt::SolidPattern);
607 palette3.setBrush(QPalette::Active, QPalette::Mid, brush22);
608 palette3.setBrush(QPalette::Active, QPalette::Text, brush6);
609 palette3.setBrush(QPalette::Active, QPalette::BrightText, brush7);
610 palette3.setBrush(QPalette::Active, QPalette::ButtonText, brush);
611 palette3.setBrush(QPalette::Active, QPalette::Base, brush7);
612 palette3.setBrush(QPalette::Active, QPalette::Window, brush8);
613 palette3.setBrush(QPalette::Active, QPalette::Shadow, brush6);
614 palette3.setBrush(QPalette::Active, QPalette::Highlight, brush9);
615 palette3.setBrush(QPalette::Active, QPalette::HighlightedText, brush7);
616 palette3.setBrush(QPalette::Active, QPalette::Link, brush6);
617 palette3.setBrush(QPalette::Active, QPalette::LinkVisited, brush6);
618 palette3.setBrush(QPalette::Active, QPalette::AlternateBase, brush10);
619 palette3.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
620 palette3.setBrush(QPalette::Inactive, QPalette::Button, brush18);
621 palette3.setBrush(QPalette::Inactive, QPalette::Light, brush19);
622 palette3.setBrush(QPalette::Inactive, QPalette::Midlight, brush20);
623 palette3.setBrush(QPalette::Inactive, QPalette::Dark, brush21);
624 palette3.setBrush(QPalette::Inactive, QPalette::Mid, brush22);
625 palette3.setBrush(QPalette::Inactive, QPalette::Text, brush6);
626 palette3.setBrush(QPalette::Inactive, QPalette::BrightText, brush7);
627 palette3.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
628 palette3.setBrush(QPalette::Inactive, QPalette::Base, brush7);
629 palette3.setBrush(QPalette::Inactive, QPalette::Window, brush8);
630 palette3.setBrush(QPalette::Inactive, QPalette::Shadow, brush6);
631 palette3.setBrush(QPalette::Inactive, QPalette::Highlight, brush9);
632 palette3.setBrush(QPalette::Inactive, QPalette::HighlightedText, brush7);
633 palette3.setBrush(QPalette::Inactive, QPalette::Link, brush6);
634 palette3.setBrush(QPalette::Inactive, QPalette::LinkVisited, brush6);
635 palette3.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush10);
636 palette3.setBrush(QPalette::Disabled, QPalette::WindowText, brush);
637 palette3.setBrush(QPalette::Disabled, QPalette::Button, brush18);
638 palette3.setBrush(QPalette::Disabled, QPalette::Light, brush19);
639 palette3.setBrush(QPalette::Disabled, QPalette::Midlight, brush20);
640 palette3.setBrush(QPalette::Disabled, QPalette::Dark, brush21);
641 palette3.setBrush(QPalette::Disabled, QPalette::Mid, brush22);
642 palette3.setBrush(QPalette::Disabled, QPalette::Text, brush6);
643 palette3.setBrush(QPalette::Disabled, QPalette::BrightText, brush7);
644 palette3.setBrush(QPalette::Disabled, QPalette::ButtonText, brush);
645 palette3.setBrush(QPalette::Disabled, QPalette::Base, brush7);
646 palette3.setBrush(QPalette::Disabled, QPalette::Window, brush8);
647 palette3.setBrush(QPalette::Disabled, QPalette::Shadow, brush6);
648 palette3.setBrush(QPalette::Disabled, QPalette::Highlight, brush9);
649 palette3.setBrush(QPalette::Disabled, QPalette::HighlightedText, brush7);
650 palette3.setBrush(QPalette::Disabled, QPalette::Link, brush6);
651 palette3.setBrush(QPalette::Disabled, QPalette::LinkVisited, brush6);
652 palette3.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush10);
653 rslider->setPalette(palette3);
654 rslider->setMaximum(400);
655 rslider->setValue(100);
656 rslider->setOrientation(Qt::Horizontal);
657
658 gridLayout->addWidget(rslider, 2, 1, 1, 1);
659
660 PushButton3 = new QPushButton(GroupBox1);
661 PushButton3->setObjectName(QString::fromUtf8("PushButton3"));
662
663 gridLayout->addWidget(PushButton3, 8, 0, 1, 3);
664
665 MyCustomWidget1 = new GammaView(GroupBox1);
666 MyCustomWidget1->setObjectName(QString::fromUtf8("MyCustomWidget1"));
667
668 gridLayout->addWidget(MyCustomWidget1, 0, 3, 9, 1);
669
670
671 vboxLayout->addWidget(GroupBox1);
672
673 hboxLayout3 = new QHBoxLayout();
674 hboxLayout3->setSpacing(6);
675 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
676 hboxLayout3->setContentsMargins(0, 0, 0, 0);
677 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
678
679 hboxLayout3->addItem(spacerItem1);
680
681 buttonOk = new QPushButton(Config);
682 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
683 buttonOk->setAutoDefault(true);
684
685 hboxLayout3->addWidget(buttonOk);
686
687 buttonCancel = new QPushButton(Config);
688 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
689 buttonCancel->setAutoDefault(true);
690
691 hboxLayout3->addWidget(buttonCancel);
692
693
694 vboxLayout->addLayout(hboxLayout3);
695
696
697 retranslateUi(Config);
698 QObject::connect(size_width, SIGNAL(valueChanged(int)), size_custom, SLOT(click()));
699 QObject::connect(size_height, SIGNAL(valueChanged(int)), size_custom, SLOT(click()));
700
701 buttonOk->setDefault(true);
702
703
704 QMetaObject::connectSlotsByName(Config);
705 } // setupUi
706
707 void retranslateUi(QDialog *Config)
708 {
709 Config->setWindowTitle(QCoreApplication::translate("Config", "Configure", nullptr));
710 ButtonGroup1->setTitle(QCoreApplication::translate("Config", "Size", nullptr));
711 size_176_220->setText(QCoreApplication::translate("Config", "176x220 \"SmartPhone\"", nullptr));
712 size_240_320->setText(QCoreApplication::translate("Config", "240x320 \"PDA\"", nullptr));
713 size_320_240->setText(QCoreApplication::translate("Config", "320x240 \"TV\" / \"QVGA\"", nullptr));
714 size_640_480->setText(QCoreApplication::translate("Config", "640x480 \"VGA\"", nullptr));
715 size_800_600->setText(QCoreApplication::translate("Config", "800x600", nullptr));
716 size_1024_768->setText(QCoreApplication::translate("Config", "1024x768", nullptr));
717 size_custom->setText(QCoreApplication::translate("Config", "Custom", nullptr));
718 ButtonGroup2->setTitle(QCoreApplication::translate("Config", "Depth", nullptr));
719 depth_1->setText(QCoreApplication::translate("Config", "1 bit monochrome", nullptr));
720 depth_4gray->setText(QCoreApplication::translate("Config", "4 bit grayscale", nullptr));
721 depth_8->setText(QCoreApplication::translate("Config", "8 bit", nullptr));
722 depth_12->setText(QCoreApplication::translate("Config", "12 (16) bit", nullptr));
723 depth_15->setText(QCoreApplication::translate("Config", "15 bit", nullptr));
724 depth_16->setText(QCoreApplication::translate("Config", "16 bit", nullptr));
725 depth_18->setText(QCoreApplication::translate("Config", "18 bit", nullptr));
726 depth_24->setText(QCoreApplication::translate("Config", "24 bit", nullptr));
727 depth_32->setText(QCoreApplication::translate("Config", "32 bit", nullptr));
728 depth_32_argb->setText(QCoreApplication::translate("Config", "32 bit ARGB", nullptr));
729 TextLabel1_3->setText(QCoreApplication::translate("Config", "Skin", nullptr));
730 skin->setItemText(0, QCoreApplication::translate("Config", "None", nullptr));
731
732 touchScreen->setText(QCoreApplication::translate("Config", "Emulate touch screen (no mouse move)", nullptr));
733 lcdScreen->setText(QCoreApplication::translate("Config", "Emulate LCD screen (Only with fixed zoom of 3.0 times magnification)", nullptr));
734 TextLabel1->setText(QCoreApplication::translate("Config", "<p>Note that any applications using the virtual framebuffer will be terminated if you change the Size or Depth <i>above</i>. You may freely modify the Gamma <i>below</i>.", nullptr));
735 GroupBox1->setTitle(QCoreApplication::translate("Config", "Gamma", nullptr));
736 TextLabel3->setText(QCoreApplication::translate("Config", "Blue", nullptr));
737 blabel->setText(QCoreApplication::translate("Config", "1.0", nullptr));
738 TextLabel2->setText(QCoreApplication::translate("Config", "Green", nullptr));
739 glabel->setText(QCoreApplication::translate("Config", "1.0", nullptr));
740 TextLabel7->setText(QCoreApplication::translate("Config", "All", nullptr));
741 TextLabel8->setText(QCoreApplication::translate("Config", "1.0", nullptr));
742 TextLabel1_2->setText(QCoreApplication::translate("Config", "Red", nullptr));
743 rlabel->setText(QCoreApplication::translate("Config", "1.0", nullptr));
744 PushButton3->setText(QCoreApplication::translate("Config", "Set all to 1.0", nullptr));
745 buttonOk->setText(QCoreApplication::translate("Config", "&OK", nullptr));
746 buttonCancel->setText(QCoreApplication::translate("Config", "&Cancel", nullptr));
747 } // retranslateUi
748
749 };
750
751 namespace Ui {
752 class Config: public Ui_Config {};
753 } // namespace Ui
754
755 QT_END_NAMESPACE
756
757 #endif // CONFIG_H