|
1 /* |
|
2 ********************************************************************* |
|
3 ** |
|
4 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
5 ** All rights reserved. |
|
6 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
7 ** |
|
8 ** This file is part of the test suite of the Qt Toolkit. |
|
9 ** |
|
10 ** $QT_BEGIN_LICENSE:LGPL$ |
|
11 ** No Commercial Usage |
|
12 ** This file contains pre-release code and may not be distributed. |
|
13 ** You may use this file in accordance with the terms and conditions |
|
14 ** contained in the Technology Preview License Agreement accompanying |
|
15 ** this package. |
|
16 ** |
|
17 ** GNU Lesser General Public License Usage |
|
18 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
19 ** General Public License version 2.1 as published by the Free Software |
|
20 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
21 ** packaging of this file. Please review the following information to |
|
22 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
24 ** |
|
25 ** In addition, as a special exception, Nokia gives you certain additional |
|
26 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
28 ** |
|
29 ** If you have questions regarding the use of this file, please contact |
|
30 ** Nokia at qt-info@nokia.com. |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** $QT_END_LICENSE$ |
|
40 ** |
|
41 ********************************************************************* |
|
42 */ |
|
43 |
|
44 /******************************************************************************** |
|
45 ** Form generated from reading UI file 'config_fromuic3.ui' |
|
46 ** |
|
47 ** Created: Thu Dec 17 12:48:42 2009 |
|
48 ** by: Qt User Interface Compiler version 4.6.3 |
|
49 ** |
|
50 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
51 ********************************************************************************/ |
|
52 |
|
53 #ifndef CONFIG_FROMUIC3_H |
|
54 #define CONFIG_FROMUIC3_H |
|
55 |
|
56 #include <Qt3Support/Q3ButtonGroup> |
|
57 #include <Qt3Support/Q3GroupBox> |
|
58 #include <QtCore/QVariant> |
|
59 #include <QtGui/QAction> |
|
60 #include <QtGui/QApplication> |
|
61 #include <QtGui/QButtonGroup> |
|
62 #include <QtGui/QCheckBox> |
|
63 #include <QtGui/QComboBox> |
|
64 #include <QtGui/QDialog> |
|
65 #include <QtGui/QGridLayout> |
|
66 #include <QtGui/QHBoxLayout> |
|
67 #include <QtGui/QHeaderView> |
|
68 #include <QtGui/QLabel> |
|
69 #include <QtGui/QPushButton> |
|
70 #include <QtGui/QRadioButton> |
|
71 #include <QtGui/QSlider> |
|
72 #include <QtGui/QSpacerItem> |
|
73 #include <QtGui/QSpinBox> |
|
74 #include <QtGui/QVBoxLayout> |
|
75 #include "gammaview.h" |
|
76 |
|
77 QT_BEGIN_NAMESPACE |
|
78 |
|
79 class Ui_Config |
|
80 { |
|
81 public: |
|
82 QGridLayout *gridLayout; |
|
83 Q3ButtonGroup *ButtonGroup2; |
|
84 QRadioButton *depth_1; |
|
85 QRadioButton *depth_4gray; |
|
86 QRadioButton *depth_8; |
|
87 QRadioButton *depth_12; |
|
88 QRadioButton *depth_16; |
|
89 QRadioButton *depth_32; |
|
90 QHBoxLayout *hboxLayout; |
|
91 QSpacerItem *Horizontal_Spacing2; |
|
92 QPushButton *buttonOk; |
|
93 QPushButton *buttonCancel; |
|
94 QCheckBox *touchScreen; |
|
95 Q3GroupBox *GroupBox1; |
|
96 QGridLayout *gridLayout1; |
|
97 QLabel *TextLabel3; |
|
98 QSlider *bslider; |
|
99 QLabel *blabel; |
|
100 QSpacerItem *Spacer3; |
|
101 QLabel *TextLabel2; |
|
102 QSlider *gslider; |
|
103 QLabel *glabel; |
|
104 QLabel *TextLabel7; |
|
105 QLabel *TextLabel8; |
|
106 QSlider *gammaslider; |
|
107 QLabel *TextLabel1_2; |
|
108 QLabel *rlabel; |
|
109 QSlider *rslider; |
|
110 QSpacerItem *Spacer2; |
|
111 QSpacerItem *Spacer4; |
|
112 QPushButton *PushButton3; |
|
113 GammaView *MyCustomWidget1; |
|
114 QSpacerItem *Spacer5; |
|
115 Q3ButtonGroup *ButtonGroup1; |
|
116 QVBoxLayout *vboxLayout; |
|
117 QRadioButton *size_240_320; |
|
118 QRadioButton *size_320_240; |
|
119 QRadioButton *size_640_480; |
|
120 QHBoxLayout *hboxLayout1; |
|
121 QRadioButton *size_custom; |
|
122 QSpinBox *size_width; |
|
123 QSpinBox *size_height; |
|
124 QHBoxLayout *hboxLayout2; |
|
125 QRadioButton *size_skin; |
|
126 QComboBox *skin; |
|
127 QLabel *TextLabel1; |
|
128 QRadioButton *test_for_useless_buttongroupId; |
|
129 |
|
130 void setupUi(QDialog *Config) |
|
131 { |
|
132 if (Config->objectName().isEmpty()) |
|
133 Config->setObjectName(QString::fromUtf8("Config")); |
|
134 Config->resize(481, 645); |
|
135 Config->setWindowIcon(QPixmap(QString::fromUtf8("logo.png"))); |
|
136 Config->setSizeGripEnabled(true); |
|
137 gridLayout = new QGridLayout(Config); |
|
138 gridLayout->setSpacing(6); |
|
139 gridLayout->setContentsMargins(11, 11, 11, 11); |
|
140 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
141 ButtonGroup2 = new Q3ButtonGroup(Config); |
|
142 ButtonGroup2->setObjectName(QString::fromUtf8("ButtonGroup2")); |
|
143 depth_1 = new QRadioButton(ButtonGroup2); |
|
144 depth_1->setObjectName(QString::fromUtf8("depth_1")); |
|
145 depth_1->setGeometry(QRect(11, 19, 229, 19)); |
|
146 depth_4gray = new QRadioButton(ButtonGroup2); |
|
147 depth_4gray->setObjectName(QString::fromUtf8("depth_4gray")); |
|
148 depth_4gray->setGeometry(QRect(11, 44, 229, 19)); |
|
149 depth_8 = new QRadioButton(ButtonGroup2); |
|
150 depth_8->setObjectName(QString::fromUtf8("depth_8")); |
|
151 depth_8->setGeometry(QRect(11, 69, 229, 19)); |
|
152 depth_12 = new QRadioButton(ButtonGroup2); |
|
153 depth_12->setObjectName(QString::fromUtf8("depth_12")); |
|
154 depth_12->setGeometry(QRect(11, 94, 229, 19)); |
|
155 depth_16 = new QRadioButton(ButtonGroup2); |
|
156 depth_16->setObjectName(QString::fromUtf8("depth_16")); |
|
157 depth_16->setGeometry(QRect(11, 119, 229, 19)); |
|
158 depth_32 = new QRadioButton(ButtonGroup2); |
|
159 depth_32->setObjectName(QString::fromUtf8("depth_32")); |
|
160 depth_32->setGeometry(QRect(11, 144, 229, 19)); |
|
161 |
|
162 gridLayout->addWidget(ButtonGroup2, 0, 1, 1, 1); |
|
163 |
|
164 hboxLayout = new QHBoxLayout(); |
|
165 hboxLayout->setSpacing(6); |
|
166 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
167 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
168 Horizontal_Spacing2 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
169 |
|
170 hboxLayout->addItem(Horizontal_Spacing2); |
|
171 |
|
172 buttonOk = new QPushButton(Config); |
|
173 buttonOk->setObjectName(QString::fromUtf8("buttonOk")); |
|
174 buttonOk->setAutoDefault(true); |
|
175 buttonOk->setDefault(true); |
|
176 |
|
177 hboxLayout->addWidget(buttonOk); |
|
178 |
|
179 buttonCancel = new QPushButton(Config); |
|
180 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); |
|
181 buttonCancel->setAutoDefault(true); |
|
182 |
|
183 hboxLayout->addWidget(buttonCancel); |
|
184 |
|
185 |
|
186 gridLayout->addLayout(hboxLayout, 4, 0, 1, 2); |
|
187 |
|
188 touchScreen = new QCheckBox(Config); |
|
189 touchScreen->setObjectName(QString::fromUtf8("touchScreen")); |
|
190 |
|
191 gridLayout->addWidget(touchScreen, 2, 0, 1, 2); |
|
192 |
|
193 GroupBox1 = new Q3GroupBox(Config); |
|
194 GroupBox1->setObjectName(QString::fromUtf8("GroupBox1")); |
|
195 GroupBox1->setColumnLayout(0, Qt::Vertical); |
|
196 GroupBox1->layout()->setSpacing(6); |
|
197 GroupBox1->layout()->setContentsMargins(11, 11, 11, 11); |
|
198 gridLayout1 = new QGridLayout(); |
|
199 QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(GroupBox1->layout()); |
|
200 if (boxlayout) |
|
201 boxlayout->addLayout(gridLayout1); |
|
202 gridLayout1->setAlignment(Qt::AlignTop); |
|
203 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); |
|
204 TextLabel3 = new QLabel(GroupBox1); |
|
205 TextLabel3->setObjectName(QString::fromUtf8("TextLabel3")); |
|
206 TextLabel3->setWordWrap(false); |
|
207 |
|
208 gridLayout1->addWidget(TextLabel3, 6, 0, 1, 1); |
|
209 |
|
210 bslider = new QSlider(GroupBox1); |
|
211 bslider->setObjectName(QString::fromUtf8("bslider")); |
|
212 QPalette palette; |
|
213 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
214 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(0, 0, 255)); |
|
215 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(127, 127, 255)); |
|
216 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(63, 63, 255)); |
|
217 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(0, 0, 127)); |
|
218 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(0, 0, 170)); |
|
219 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
220 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
221 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
222 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
223 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
224 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
225 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
226 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
227 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
228 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
229 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
230 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(0, 0, 255)); |
|
231 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(127, 127, 255)); |
|
232 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(38, 38, 255)); |
|
233 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(0, 0, 127)); |
|
234 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(0, 0, 170)); |
|
235 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
236 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
237 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
238 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
239 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
240 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
241 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
242 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
243 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
244 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
245 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(128, 128, 128)); |
|
246 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(0, 0, 255)); |
|
247 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(127, 127, 255)); |
|
248 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(38, 38, 255)); |
|
249 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(0, 0, 127)); |
|
250 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(0, 0, 170)); |
|
251 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
252 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
253 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(128, 128, 128)); |
|
254 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
255 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
256 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
257 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
258 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
259 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
260 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
261 bslider->setPalette(palette); |
|
262 bslider->setMaximum(400); |
|
263 bslider->setValue(100); |
|
264 bslider->setOrientation(Qt::Horizontal); |
|
265 |
|
266 gridLayout1->addWidget(bslider, 6, 1, 1, 1); |
|
267 |
|
268 blabel = new QLabel(GroupBox1); |
|
269 blabel->setObjectName(QString::fromUtf8("blabel")); |
|
270 blabel->setWordWrap(false); |
|
271 |
|
272 gridLayout1->addWidget(blabel, 6, 2, 1, 1); |
|
273 |
|
274 Spacer3 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
275 |
|
276 gridLayout1->addItem(Spacer3, 5, 1, 1, 1); |
|
277 |
|
278 TextLabel2 = new QLabel(GroupBox1); |
|
279 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2")); |
|
280 TextLabel2->setWordWrap(false); |
|
281 |
|
282 gridLayout1->addWidget(TextLabel2, 4, 0, 1, 1); |
|
283 |
|
284 gslider = new QSlider(GroupBox1); |
|
285 gslider->setObjectName(QString::fromUtf8("gslider")); |
|
286 QPalette palette1; |
|
287 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
288 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(0, 255, 0)); |
|
289 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(127, 255, 127)); |
|
290 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(63, 255, 63)); |
|
291 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(0, 127, 0)); |
|
292 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(0, 170, 0)); |
|
293 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
294 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
295 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
296 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
297 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
298 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
299 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
300 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
301 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
302 palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
303 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
304 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(0, 255, 0)); |
|
305 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(127, 255, 127)); |
|
306 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(38, 255, 38)); |
|
307 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(0, 127, 0)); |
|
308 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(0, 170, 0)); |
|
309 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
310 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
311 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
312 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
313 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
314 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
315 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
316 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
317 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
318 palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
319 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(128, 128, 128)); |
|
320 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(0, 255, 0)); |
|
321 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(127, 255, 127)); |
|
322 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(38, 255, 38)); |
|
323 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(0, 127, 0)); |
|
324 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(0, 170, 0)); |
|
325 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
326 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
327 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(128, 128, 128)); |
|
328 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
329 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
330 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
331 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
332 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
333 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
334 palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
335 gslider->setPalette(palette1); |
|
336 gslider->setMaximum(400); |
|
337 gslider->setValue(100); |
|
338 gslider->setOrientation(Qt::Horizontal); |
|
339 |
|
340 gridLayout1->addWidget(gslider, 4, 1, 1, 1); |
|
341 |
|
342 glabel = new QLabel(GroupBox1); |
|
343 glabel->setObjectName(QString::fromUtf8("glabel")); |
|
344 glabel->setWordWrap(false); |
|
345 |
|
346 gridLayout1->addWidget(glabel, 4, 2, 1, 1); |
|
347 |
|
348 TextLabel7 = new QLabel(GroupBox1); |
|
349 TextLabel7->setObjectName(QString::fromUtf8("TextLabel7")); |
|
350 TextLabel7->setWordWrap(false); |
|
351 |
|
352 gridLayout1->addWidget(TextLabel7, 0, 0, 1, 1); |
|
353 |
|
354 TextLabel8 = new QLabel(GroupBox1); |
|
355 TextLabel8->setObjectName(QString::fromUtf8("TextLabel8")); |
|
356 TextLabel8->setWordWrap(false); |
|
357 |
|
358 gridLayout1->addWidget(TextLabel8, 0, 2, 1, 1); |
|
359 |
|
360 gammaslider = new QSlider(GroupBox1); |
|
361 gammaslider->setObjectName(QString::fromUtf8("gammaslider")); |
|
362 QPalette palette2; |
|
363 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
364 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(255, 255, 255)); |
|
365 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255)); |
|
366 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255)); |
|
367 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(127, 127, 127)); |
|
368 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(170, 170, 170)); |
|
369 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
370 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
371 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
372 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
373 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
374 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
375 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
376 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
377 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
378 palette2.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
379 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
380 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(255, 255, 255)); |
|
381 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255)); |
|
382 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255)); |
|
383 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(127, 127, 127)); |
|
384 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(170, 170, 170)); |
|
385 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
386 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
387 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
388 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
389 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
390 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
391 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
392 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
393 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
394 palette2.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
395 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(128, 128, 128)); |
|
396 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(255, 255, 255)); |
|
397 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255)); |
|
398 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255)); |
|
399 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(127, 127, 127)); |
|
400 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(170, 170, 170)); |
|
401 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
402 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
403 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(128, 128, 128)); |
|
404 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
405 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
406 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
407 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
408 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
409 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
410 palette2.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
411 gammaslider->setPalette(palette2); |
|
412 gammaslider->setMaximum(400); |
|
413 gammaslider->setValue(100); |
|
414 gammaslider->setOrientation(Qt::Horizontal); |
|
415 |
|
416 gridLayout1->addWidget(gammaslider, 0, 1, 1, 1); |
|
417 |
|
418 TextLabel1_2 = new QLabel(GroupBox1); |
|
419 TextLabel1_2->setObjectName(QString::fromUtf8("TextLabel1_2")); |
|
420 TextLabel1_2->setWordWrap(false); |
|
421 |
|
422 gridLayout1->addWidget(TextLabel1_2, 2, 0, 1, 1); |
|
423 |
|
424 rlabel = new QLabel(GroupBox1); |
|
425 rlabel->setObjectName(QString::fromUtf8("rlabel")); |
|
426 rlabel->setWordWrap(false); |
|
427 |
|
428 gridLayout1->addWidget(rlabel, 2, 2, 1, 1); |
|
429 |
|
430 rslider = new QSlider(GroupBox1); |
|
431 rslider->setObjectName(QString::fromUtf8("rslider")); |
|
432 QPalette palette3; |
|
433 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
434 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(255, 0, 0)); |
|
435 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(255, 127, 127)); |
|
436 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(255, 63, 63)); |
|
437 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(127, 0, 0)); |
|
438 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(170, 0, 0)); |
|
439 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
440 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
441 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
442 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
443 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
444 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
445 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
446 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
447 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
448 palette3.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
449 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0)); |
|
450 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(255, 0, 0)); |
|
451 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(255, 127, 127)); |
|
452 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(255, 38, 38)); |
|
453 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(127, 0, 0)); |
|
454 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(170, 0, 0)); |
|
455 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
456 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
457 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0)); |
|
458 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
459 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
460 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
461 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
462 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
463 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
464 palette3.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
465 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(128, 128, 128)); |
|
466 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(255, 0, 0)); |
|
467 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(255, 127, 127)); |
|
468 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(255, 38, 38)); |
|
469 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(127, 0, 0)); |
|
470 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(170, 0, 0)); |
|
471 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0)); |
|
472 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255)); |
|
473 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(128, 128, 128)); |
|
474 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255)); |
|
475 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(220, 220, 220)); |
|
476 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0)); |
|
477 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(10, 95, 137)); |
|
478 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255)); |
|
479 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 0)); |
|
480 palette3.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(0, 0, 0)); |
|
481 rslider->setPalette(palette3); |
|
482 rslider->setMaximum(400); |
|
483 rslider->setValue(100); |
|
484 rslider->setOrientation(Qt::Horizontal); |
|
485 |
|
486 gridLayout1->addWidget(rslider, 2, 1, 1, 1); |
|
487 |
|
488 Spacer2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
489 |
|
490 gridLayout1->addItem(Spacer2, 3, 1, 1, 1); |
|
491 |
|
492 Spacer4 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
493 |
|
494 gridLayout1->addItem(Spacer4, 1, 1, 1, 1); |
|
495 |
|
496 PushButton3 = new QPushButton(GroupBox1); |
|
497 PushButton3->setObjectName(QString::fromUtf8("PushButton3")); |
|
498 |
|
499 gridLayout1->addWidget(PushButton3, 8, 0, 1, 3); |
|
500 |
|
501 MyCustomWidget1 = new GammaView(GroupBox1); |
|
502 MyCustomWidget1->setObjectName(QString::fromUtf8("MyCustomWidget1")); |
|
503 |
|
504 gridLayout1->addWidget(MyCustomWidget1, 0, 3, 9, 1); |
|
505 |
|
506 Spacer5 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
507 |
|
508 gridLayout1->addItem(Spacer5, 7, 1, 1, 1); |
|
509 |
|
510 |
|
511 gridLayout->addWidget(GroupBox1, 3, 0, 1, 2); |
|
512 |
|
513 ButtonGroup1 = new Q3ButtonGroup(Config); |
|
514 ButtonGroup1->setObjectName(QString::fromUtf8("ButtonGroup1")); |
|
515 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5)); |
|
516 sizePolicy.setHorizontalStretch(0); |
|
517 sizePolicy.setVerticalStretch(0); |
|
518 sizePolicy.setHeightForWidth(ButtonGroup1->sizePolicy().hasHeightForWidth()); |
|
519 ButtonGroup1->setSizePolicy(sizePolicy); |
|
520 ButtonGroup1->setColumnLayout(0, Qt::Vertical); |
|
521 ButtonGroup1->layout()->setSpacing(6); |
|
522 ButtonGroup1->layout()->setContentsMargins(11, 11, 11, 11); |
|
523 vboxLayout = new QVBoxLayout(); |
|
524 QBoxLayout *boxlayout1 = qobject_cast<QBoxLayout *>(ButtonGroup1->layout()); |
|
525 if (boxlayout1) |
|
526 boxlayout1->addLayout(vboxLayout); |
|
527 vboxLayout->setAlignment(Qt::AlignTop); |
|
528 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
529 size_240_320 = new QRadioButton(ButtonGroup1); |
|
530 size_240_320->setObjectName(QString::fromUtf8("size_240_320")); |
|
531 |
|
532 vboxLayout->addWidget(size_240_320); |
|
533 |
|
534 size_320_240 = new QRadioButton(ButtonGroup1); |
|
535 size_320_240->setObjectName(QString::fromUtf8("size_320_240")); |
|
536 |
|
537 vboxLayout->addWidget(size_320_240); |
|
538 |
|
539 size_640_480 = new QRadioButton(ButtonGroup1); |
|
540 size_640_480->setObjectName(QString::fromUtf8("size_640_480")); |
|
541 |
|
542 vboxLayout->addWidget(size_640_480); |
|
543 |
|
544 hboxLayout1 = new QHBoxLayout(); |
|
545 hboxLayout1->setSpacing(6); |
|
546 hboxLayout1->setContentsMargins(0, 0, 0, 0); |
|
547 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
|
548 size_custom = new QRadioButton(ButtonGroup1); |
|
549 size_custom->setObjectName(QString::fromUtf8("size_custom")); |
|
550 |
|
551 hboxLayout1->addWidget(size_custom); |
|
552 |
|
553 size_width = new QSpinBox(ButtonGroup1); |
|
554 size_width->setObjectName(QString::fromUtf8("size_width")); |
|
555 size_width->setMaximum(1280); |
|
556 size_width->setMinimum(1); |
|
557 size_width->setSingleStep(16); |
|
558 size_width->setValue(400); |
|
559 |
|
560 hboxLayout1->addWidget(size_width); |
|
561 |
|
562 size_height = new QSpinBox(ButtonGroup1); |
|
563 size_height->setObjectName(QString::fromUtf8("size_height")); |
|
564 size_height->setMaximum(1024); |
|
565 size_height->setMinimum(1); |
|
566 size_height->setSingleStep(16); |
|
567 size_height->setValue(300); |
|
568 |
|
569 hboxLayout1->addWidget(size_height); |
|
570 |
|
571 |
|
572 vboxLayout->addLayout(hboxLayout1); |
|
573 |
|
574 hboxLayout2 = new QHBoxLayout(); |
|
575 hboxLayout2->setSpacing(6); |
|
576 hboxLayout2->setContentsMargins(0, 0, 0, 0); |
|
577 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); |
|
578 size_skin = new QRadioButton(ButtonGroup1); |
|
579 size_skin->setObjectName(QString::fromUtf8("size_skin")); |
|
580 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0)); |
|
581 sizePolicy1.setHorizontalStretch(0); |
|
582 sizePolicy1.setVerticalStretch(0); |
|
583 sizePolicy1.setHeightForWidth(size_skin->sizePolicy().hasHeightForWidth()); |
|
584 size_skin->setSizePolicy(sizePolicy1); |
|
585 |
|
586 hboxLayout2->addWidget(size_skin); |
|
587 |
|
588 skin = new QComboBox(ButtonGroup1); |
|
589 skin->setObjectName(QString::fromUtf8("skin")); |
|
590 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0)); |
|
591 sizePolicy2.setHorizontalStretch(0); |
|
592 sizePolicy2.setVerticalStretch(0); |
|
593 sizePolicy2.setHeightForWidth(skin->sizePolicy().hasHeightForWidth()); |
|
594 skin->setSizePolicy(sizePolicy2); |
|
595 |
|
596 hboxLayout2->addWidget(skin); |
|
597 |
|
598 |
|
599 vboxLayout->addLayout(hboxLayout2); |
|
600 |
|
601 |
|
602 gridLayout->addWidget(ButtonGroup1, 0, 0, 1, 1); |
|
603 |
|
604 TextLabel1 = new QLabel(Config); |
|
605 TextLabel1->setObjectName(QString::fromUtf8("TextLabel1")); |
|
606 TextLabel1->setWordWrap(false); |
|
607 |
|
608 gridLayout->addWidget(TextLabel1, 1, 0, 1, 2); |
|
609 |
|
610 test_for_useless_buttongroupId = new QRadioButton(Config); |
|
611 test_for_useless_buttongroupId->setObjectName(QString::fromUtf8("test_for_useless_buttongroupId")); |
|
612 |
|
613 gridLayout->addWidget(test_for_useless_buttongroupId, 0, 0, 1, 1); |
|
614 |
|
615 |
|
616 retranslateUi(Config); |
|
617 QObject::connect(buttonOk, SIGNAL(clicked()), Config, SLOT(accept())); |
|
618 QObject::connect(buttonCancel, SIGNAL(clicked()), Config, SLOT(reject())); |
|
619 |
|
620 QMetaObject::connectSlotsByName(Config); |
|
621 } // setupUi |
|
622 |
|
623 void retranslateUi(QDialog *Config) |
|
624 { |
|
625 Config->setWindowTitle(QApplication::translate("Config", "Configure", 0, QApplication::UnicodeUTF8)); |
|
626 ButtonGroup2->setTitle(QApplication::translate("Config", "Depth", 0, QApplication::UnicodeUTF8)); |
|
627 depth_1->setText(QApplication::translate("Config", "1 bit monochrome", 0, QApplication::UnicodeUTF8)); |
|
628 depth_4gray->setText(QApplication::translate("Config", "4 bit grayscale", 0, QApplication::UnicodeUTF8)); |
|
629 depth_8->setText(QApplication::translate("Config", "8 bit", 0, QApplication::UnicodeUTF8)); |
|
630 depth_12->setText(QApplication::translate("Config", "12 (16) bit", 0, QApplication::UnicodeUTF8)); |
|
631 depth_16->setText(QApplication::translate("Config", "16 bit", 0, QApplication::UnicodeUTF8)); |
|
632 depth_32->setText(QApplication::translate("Config", "32 bit", 0, QApplication::UnicodeUTF8)); |
|
633 buttonOk->setText(QApplication::translate("Config", "&OK", 0, QApplication::UnicodeUTF8)); |
|
634 buttonCancel->setText(QApplication::translate("Config", "&Cancel", 0, QApplication::UnicodeUTF8)); |
|
635 touchScreen->setText(QApplication::translate("Config", "Emulate touch screen (no mouse move).", 0, QApplication::UnicodeUTF8)); |
|
636 GroupBox1->setTitle(QApplication::translate("Config", "Gamma", 0, QApplication::UnicodeUTF8)); |
|
637 TextLabel3->setText(QApplication::translate("Config", "Blue", 0, QApplication::UnicodeUTF8)); |
|
638 blabel->setText(QApplication::translate("Config", "1.0", 0, QApplication::UnicodeUTF8)); |
|
639 TextLabel2->setText(QApplication::translate("Config", "Green", 0, QApplication::UnicodeUTF8)); |
|
640 glabel->setText(QApplication::translate("Config", "1.0", 0, QApplication::UnicodeUTF8)); |
|
641 TextLabel7->setText(QApplication::translate("Config", "All", 0, QApplication::UnicodeUTF8)); |
|
642 TextLabel8->setText(QApplication::translate("Config", "1.0", 0, QApplication::UnicodeUTF8)); |
|
643 TextLabel1_2->setText(QApplication::translate("Config", "Red", 0, QApplication::UnicodeUTF8)); |
|
644 rlabel->setText(QApplication::translate("Config", "1.0", 0, QApplication::UnicodeUTF8)); |
|
645 PushButton3->setText(QApplication::translate("Config", "Set all to 1.0", 0, QApplication::UnicodeUTF8)); |
|
646 ButtonGroup1->setTitle(QApplication::translate("Config", "Size", 0, QApplication::UnicodeUTF8)); |
|
647 size_240_320->setText(QApplication::translate("Config", "240x320 \"PDA\"", 0, QApplication::UnicodeUTF8)); |
|
648 size_320_240->setText(QApplication::translate("Config", "320x240 \"TV\"", 0, QApplication::UnicodeUTF8)); |
|
649 size_640_480->setText(QApplication::translate("Config", "640x480 \"VGA\"", 0, QApplication::UnicodeUTF8)); |
|
650 size_custom->setText(QApplication::translate("Config", "Custom", 0, QApplication::UnicodeUTF8)); |
|
651 size_skin->setText(QApplication::translate("Config", "Skin", 0, QApplication::UnicodeUTF8)); |
|
652 skin->clear(); |
|
653 skin->insertItems(0, QStringList() |
|
654 << QApplication::translate("Config", "pda.skin", 0, QApplication::UnicodeUTF8) |
|
655 << QApplication::translate("Config", "ipaq.skin", 0, QApplication::UnicodeUTF8) |
|
656 << QApplication::translate("Config", "qpe.skin", 0, QApplication::UnicodeUTF8) |
|
657 << QApplication::translate("Config", "cassiopeia.skin", 0, QApplication::UnicodeUTF8) |
|
658 << QApplication::translate("Config", "other.skin", 0, QApplication::UnicodeUTF8) |
|
659 ); |
|
660 TextLabel1->setText(QApplication::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>.", 0, QApplication::UnicodeUTF8)); |
|
661 test_for_useless_buttongroupId->setText(QApplication::translate("Config", "Test", 0, QApplication::UnicodeUTF8)); |
|
662 } // retranslateUi |
|
663 |
|
664 |
|
665 protected: |
|
666 enum IconID |
|
667 { |
|
668 image0_ID, |
|
669 unknown_ID |
|
670 }; |
|
671 static QPixmap qt_get_icon(IconID id) |
|
672 { |
|
673 static const char* const image0_data[] = { |
|
674 "22 22 2 1", |
|
675 ". c None", |
|
676 "# c #a4c610", |
|
677 "........######........", |
|
678 ".....###########......", |
|
679 "....##############....", |
|
680 "...################...", |
|
681 "..######......######..", |
|
682 "..#####........#####..", |
|
683 ".#####.......#..#####.", |
|
684 ".####.......###..####.", |
|
685 "####.......#####..####", |
|
686 "####......#####...####", |
|
687 "####....#######...####", |
|
688 "####....######....####", |
|
689 "####...########...####", |
|
690 ".####.##########..####", |
|
691 ".####..####.#########.", |
|
692 ".#####..##...########.", |
|
693 "..#####.......#######.", |
|
694 "..######......######..", |
|
695 "...###################", |
|
696 "....##################", |
|
697 "......###########.###.", |
|
698 "........######.....#.."}; |
|
699 |
|
700 |
|
701 switch (id) { |
|
702 case image0_ID: return QPixmap((const char**)image0_data); |
|
703 default: return QPixmap(); |
|
704 } // switch |
|
705 } // icon |
|
706 |
|
707 }; |
|
708 |
|
709 namespace Ui { |
|
710 class Config: public Ui_Config {}; |
|
711 } // namespace Ui |
|
712 |
|
713 QT_END_NAMESPACE |
|
714 |
|
715 #endif // CONFIG_FROMUIC3_H |