1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
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
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
|
/*
*********************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia. For licensing terms and
** conditions see http://qt.digia.com/licensing. For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Digia gives you certain additional
** rights. These rights are described in the Digia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
**
** $QT_END_LICENSE$
**
*********************************************************************
*/
/********************************************************************************
** Form generated from reading UI file 'qtgradienteditor.ui'
**
** Created by: Qt User Interface Compiler version 4.8.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef QTGRADIENTEDITOR_H
#define QTGRADIENTEDITOR_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QFrame>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "qtcolorbutton.h"
#include "qtcolorline.h"
#include "qtgradientstopswidget.h"
#include "qtgradientwidget.h"
QT_BEGIN_NAMESPACE
class Ui_QtGradientEditor
{
public:
QFrame *frame;
QVBoxLayout *vboxLayout;
QtGradientWidget *gradientWidget;
QLabel *label1;
QDoubleSpinBox *spinBox1;
QLabel *label2;
QDoubleSpinBox *spinBox2;
QLabel *label3;
QDoubleSpinBox *spinBox3;
QLabel *label4;
QDoubleSpinBox *spinBox4;
QLabel *label5;
QDoubleSpinBox *spinBox5;
QtGradientStopsWidget *gradientStopsWidget;
QLabel *zoomLabel;
QToolButton *zoomAllButton;
QLabel *positionLabel;
QLabel *hLabel;
QFrame *frame_2;
QHBoxLayout *hboxLayout;
QtColorLine *hueColorLine;
QLabel *hueLabel;
QLabel *sLabel;
QFrame *frame_5;
QHBoxLayout *hboxLayout1;
QtColorLine *saturationColorLine;
QLabel *saturationLabel;
QLabel *vLabel;
QFrame *frame_3;
QHBoxLayout *hboxLayout2;
QtColorLine *valueColorLine;
QLabel *valueLabel;
QLabel *aLabel;
QFrame *frame_4;
QHBoxLayout *hboxLayout3;
QtColorLine *alphaColorLine;
QLabel *alphaLabel;
QComboBox *typeComboBox;
QComboBox *spreadComboBox;
QLabel *colorLabel;
QtColorButton *colorButton;
QRadioButton *hsvRadioButton;
QRadioButton *rgbRadioButton;
QWidget *positionWidget;
QVBoxLayout *vboxLayout1;
QDoubleSpinBox *positionSpinBox;
QWidget *hueWidget;
QVBoxLayout *vboxLayout2;
QSpinBox *hueSpinBox;
QWidget *saturationWidget;
QVBoxLayout *vboxLayout3;
QSpinBox *saturationSpinBox;
QWidget *valueWidget;
QVBoxLayout *vboxLayout4;
QSpinBox *valueSpinBox;
QWidget *alphaWidget;
QVBoxLayout *vboxLayout5;
QSpinBox *alphaSpinBox;
QWidget *zoomWidget;
QVBoxLayout *vboxLayout6;
QSpinBox *zoomSpinBox;
QWidget *line1Widget;
QVBoxLayout *vboxLayout7;
QFrame *line1;
QWidget *line2Widget;
QVBoxLayout *vboxLayout8;
QFrame *line2;
QWidget *zoomButtonsWidget;
QHBoxLayout *hboxLayout4;
QToolButton *zoomInButton;
QToolButton *zoomOutButton;
QSpacerItem *spacerItem;
QToolButton *detailsButton;
QToolButton *linearButton;
QToolButton *radialButton;
QToolButton *conicalButton;
QToolButton *padButton;
QToolButton *repeatButton;
QToolButton *reflectButton;
void setupUi(QWidget *QtGradientEditor)
{
if (QtGradientEditor->objectName().isEmpty())
QtGradientEditor->setObjectName(QString::fromUtf8("QtGradientEditor"));
QtGradientEditor->resize(364, 518);
frame = new QFrame(QtGradientEditor);
frame->setObjectName(QString::fromUtf8("frame"));
frame->setGeometry(QRect(10, 69, 193, 150));
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
frame->setSizePolicy(sizePolicy);
frame->setFrameShape(QFrame::StyledPanel);
frame->setFrameShadow(QFrame::Raised);
vboxLayout = new QVBoxLayout(frame);
vboxLayout->setSpacing(6);
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
vboxLayout->setContentsMargins(0, 0, 0, 0);
gradientWidget = new QtGradientWidget(frame);
gradientWidget->setObjectName(QString::fromUtf8("gradientWidget"));
sizePolicy.setHeightForWidth(gradientWidget->sizePolicy().hasHeightForWidth());
gradientWidget->setSizePolicy(sizePolicy);
vboxLayout->addWidget(gradientWidget);
label1 = new QLabel(QtGradientEditor);
label1->setObjectName(QString::fromUtf8("label1"));
label1->setGeometry(QRect(209, 69, 64, 23));
spinBox1 = new QDoubleSpinBox(QtGradientEditor);
spinBox1->setObjectName(QString::fromUtf8("spinBox1"));
spinBox1->setGeometry(QRect(279, 69, 73, 23));
spinBox1->setKeyboardTracking(false);
spinBox1->setDecimals(3);
spinBox1->setMaximum(1);
spinBox1->setSingleStep(0.01);
label2 = new QLabel(QtGradientEditor);
label2->setObjectName(QString::fromUtf8("label2"));
label2->setGeometry(QRect(209, 99, 64, 23));
spinBox2 = new QDoubleSpinBox(QtGradientEditor);
spinBox2->setObjectName(QString::fromUtf8("spinBox2"));
spinBox2->setGeometry(QRect(279, 99, 73, 23));
spinBox2->setKeyboardTracking(false);
spinBox2->setDecimals(3);
spinBox2->setMaximum(1);
spinBox2->setSingleStep(0.01);
label3 = new QLabel(QtGradientEditor);
label3->setObjectName(QString::fromUtf8("label3"));
label3->setGeometry(QRect(209, 129, 64, 23));
spinBox3 = new QDoubleSpinBox(QtGradientEditor);
spinBox3->setObjectName(QString::fromUtf8("spinBox3"));
spinBox3->setGeometry(QRect(279, 129, 73, 23));
spinBox3->setKeyboardTracking(false);
spinBox3->setDecimals(3);
spinBox3->setMaximum(1);
spinBox3->setSingleStep(0.01);
label4 = new QLabel(QtGradientEditor);
label4->setObjectName(QString::fromUtf8("label4"));
label4->setGeometry(QRect(209, 159, 64, 23));
spinBox4 = new QDoubleSpinBox(QtGradientEditor);
spinBox4->setObjectName(QString::fromUtf8("spinBox4"));
spinBox4->setGeometry(QRect(279, 159, 73, 23));
spinBox4->setKeyboardTracking(false);
spinBox4->setDecimals(3);
spinBox4->setMaximum(1);
spinBox4->setSingleStep(0.01);
label5 = new QLabel(QtGradientEditor);
label5->setObjectName(QString::fromUtf8("label5"));
label5->setGeometry(QRect(209, 189, 64, 23));
spinBox5 = new QDoubleSpinBox(QtGradientEditor);
spinBox5->setObjectName(QString::fromUtf8("spinBox5"));
spinBox5->setGeometry(QRect(279, 189, 73, 23));
spinBox5->setKeyboardTracking(false);
spinBox5->setDecimals(3);
spinBox5->setMaximum(1);
spinBox5->setSingleStep(0.01);
gradientStopsWidget = new QtGradientStopsWidget(QtGradientEditor);
gradientStopsWidget->setObjectName(QString::fromUtf8("gradientStopsWidget"));
gradientStopsWidget->setGeometry(QRect(10, 225, 193, 67));
zoomLabel = new QLabel(QtGradientEditor);
zoomLabel->setObjectName(QString::fromUtf8("zoomLabel"));
zoomLabel->setGeometry(QRect(209, 231, 64, 23));
zoomAllButton = new QToolButton(QtGradientEditor);
zoomAllButton->setObjectName(QString::fromUtf8("zoomAllButton"));
zoomAllButton->setGeometry(QRect(279, 260, 72, 26));
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(zoomAllButton->sizePolicy().hasHeightForWidth());
zoomAllButton->setSizePolicy(sizePolicy1);
positionLabel = new QLabel(QtGradientEditor);
positionLabel->setObjectName(QString::fromUtf8("positionLabel"));
positionLabel->setGeometry(QRect(209, 304, 64, 23));
hLabel = new QLabel(QtGradientEditor);
hLabel->setObjectName(QString::fromUtf8("hLabel"));
hLabel->setGeometry(QRect(10, 335, 32, 18));
sizePolicy1.setHeightForWidth(hLabel->sizePolicy().hasHeightForWidth());
hLabel->setSizePolicy(sizePolicy1);
frame_2 = new QFrame(QtGradientEditor);
frame_2->setObjectName(QString::fromUtf8("frame_2"));
frame_2->setGeometry(QRect(48, 333, 155, 23));
QSizePolicy sizePolicy2(QSizePolicy::Ignored, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(frame_2->sizePolicy().hasHeightForWidth());
frame_2->setSizePolicy(sizePolicy2);
frame_2->setFrameShape(QFrame::StyledPanel);
frame_2->setFrameShadow(QFrame::Raised);
hboxLayout = new QHBoxLayout(frame_2);
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
hboxLayout->setContentsMargins(0, 0, 0, 0);
hueColorLine = new QtColorLine(frame_2);
hueColorLine->setObjectName(QString::fromUtf8("hueColorLine"));
QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Preferred);
sizePolicy3.setHorizontalStretch(0);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(hueColorLine->sizePolicy().hasHeightForWidth());
hueColorLine->setSizePolicy(sizePolicy3);
hboxLayout->addWidget(hueColorLine);
hueLabel = new QLabel(QtGradientEditor);
hueLabel->setObjectName(QString::fromUtf8("hueLabel"));
hueLabel->setGeometry(QRect(209, 335, 64, 18));
sizePolicy1.setHeightForWidth(hueLabel->sizePolicy().hasHeightForWidth());
hueLabel->setSizePolicy(sizePolicy1);
sLabel = new QLabel(QtGradientEditor);
sLabel->setObjectName(QString::fromUtf8("sLabel"));
sLabel->setGeometry(QRect(10, 364, 32, 18));
sizePolicy1.setHeightForWidth(sLabel->sizePolicy().hasHeightForWidth());
sLabel->setSizePolicy(sizePolicy1);
frame_5 = new QFrame(QtGradientEditor);
frame_5->setObjectName(QString::fromUtf8("frame_5"));
frame_5->setGeometry(QRect(48, 362, 155, 23));
sizePolicy2.setHeightForWidth(frame_5->sizePolicy().hasHeightForWidth());
frame_5->setSizePolicy(sizePolicy2);
frame_5->setFrameShape(QFrame::StyledPanel);
frame_5->setFrameShadow(QFrame::Raised);
hboxLayout1 = new QHBoxLayout(frame_5);
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
hboxLayout1->setContentsMargins(0, 0, 0, 0);
saturationColorLine = new QtColorLine(frame_5);
saturationColorLine->setObjectName(QString::fromUtf8("saturationColorLine"));
sizePolicy3.setHeightForWidth(saturationColorLine->sizePolicy().hasHeightForWidth());
saturationColorLine->setSizePolicy(sizePolicy3);
hboxLayout1->addWidget(saturationColorLine);
saturationLabel = new QLabel(QtGradientEditor);
saturationLabel->setObjectName(QString::fromUtf8("saturationLabel"));
saturationLabel->setGeometry(QRect(209, 364, 64, 18));
sizePolicy1.setHeightForWidth(saturationLabel->sizePolicy().hasHeightForWidth());
saturationLabel->setSizePolicy(sizePolicy1);
vLabel = new QLabel(QtGradientEditor);
vLabel->setObjectName(QString::fromUtf8("vLabel"));
vLabel->setGeometry(QRect(10, 393, 32, 18));
sizePolicy1.setHeightForWidth(vLabel->sizePolicy().hasHeightForWidth());
vLabel->setSizePolicy(sizePolicy1);
frame_3 = new QFrame(QtGradientEditor);
frame_3->setObjectName(QString::fromUtf8("frame_3"));
frame_3->setGeometry(QRect(48, 391, 155, 23));
sizePolicy2.setHeightForWidth(frame_3->sizePolicy().hasHeightForWidth());
frame_3->setSizePolicy(sizePolicy2);
frame_3->setFrameShape(QFrame::StyledPanel);
frame_3->setFrameShadow(QFrame::Raised);
hboxLayout2 = new QHBoxLayout(frame_3);
hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
hboxLayout2->setContentsMargins(0, 0, 0, 0);
valueColorLine = new QtColorLine(frame_3);
valueColorLine->setObjectName(QString::fromUtf8("valueColorLine"));
sizePolicy3.setHeightForWidth(valueColorLine->sizePolicy().hasHeightForWidth());
valueColorLine->setSizePolicy(sizePolicy3);
hboxLayout2->addWidget(valueColorLine);
valueLabel = new QLabel(QtGradientEditor);
valueLabel->setObjectName(QString::fromUtf8("valueLabel"));
valueLabel->setGeometry(QRect(209, 393, 64, 18));
sizePolicy1.setHeightForWidth(valueLabel->sizePolicy().hasHeightForWidth());
valueLabel->setSizePolicy(sizePolicy1);
aLabel = new QLabel(QtGradientEditor);
aLabel->setObjectName(QString::fromUtf8("aLabel"));
aLabel->setGeometry(QRect(10, 422, 32, 18));
sizePolicy1.setHeightForWidth(aLabel->sizePolicy().hasHeightForWidth());
aLabel->setSizePolicy(sizePolicy1);
frame_4 = new QFrame(QtGradientEditor);
frame_4->setObjectName(QString::fromUtf8("frame_4"));
frame_4->setGeometry(QRect(48, 420, 155, 23));
sizePolicy2.setHeightForWidth(frame_4->sizePolicy().hasHeightForWidth());
frame_4->setSizePolicy(sizePolicy2);
frame_4->setFrameShape(QFrame::StyledPanel);
frame_4->setFrameShadow(QFrame::Raised);
hboxLayout3 = new QHBoxLayout(frame_4);
hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
hboxLayout3->setContentsMargins(0, 0, 0, 0);
alphaColorLine = new QtColorLine(frame_4);
alphaColorLine->setObjectName(QString::fromUtf8("alphaColorLine"));
sizePolicy3.setHeightForWidth(alphaColorLine->sizePolicy().hasHeightForWidth());
alphaColorLine->setSizePolicy(sizePolicy3);
hboxLayout3->addWidget(alphaColorLine);
alphaLabel = new QLabel(QtGradientEditor);
alphaLabel->setObjectName(QString::fromUtf8("alphaLabel"));
alphaLabel->setGeometry(QRect(209, 422, 64, 18));
sizePolicy1.setHeightForWidth(alphaLabel->sizePolicy().hasHeightForWidth());
alphaLabel->setSizePolicy(sizePolicy1);
typeComboBox = new QComboBox(QtGradientEditor);
typeComboBox->setObjectName(QString::fromUtf8("typeComboBox"));
typeComboBox->setGeometry(QRect(10, 40, 79, 22));
spreadComboBox = new QComboBox(QtGradientEditor);
spreadComboBox->setObjectName(QString::fromUtf8("spreadComboBox"));
spreadComboBox->setGeometry(QRect(96, 40, 72, 22));
colorLabel = new QLabel(QtGradientEditor);
colorLabel->setObjectName(QString::fromUtf8("colorLabel"));
colorLabel->setGeometry(QRect(10, 298, 32, 29));
QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Preferred);
sizePolicy4.setHorizontalStretch(0);
sizePolicy4.setVerticalStretch(0);
sizePolicy4.setHeightForWidth(colorLabel->sizePolicy().hasHeightForWidth());
colorLabel->setSizePolicy(sizePolicy4);
colorButton = new QtColorButton(QtGradientEditor);
colorButton->setObjectName(QString::fromUtf8("colorButton"));
colorButton->setGeometry(QRect(48, 300, 26, 25));
hsvRadioButton = new QRadioButton(QtGradientEditor);
hsvRadioButton->setObjectName(QString::fromUtf8("hsvRadioButton"));
hsvRadioButton->setGeometry(QRect(80, 301, 49, 23));
QSizePolicy sizePolicy5(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy5.setHorizontalStretch(0);
sizePolicy5.setVerticalStretch(0);
sizePolicy5.setHeightForWidth(hsvRadioButton->sizePolicy().hasHeightForWidth());
hsvRadioButton->setSizePolicy(sizePolicy5);
hsvRadioButton->setChecked(true);
rgbRadioButton = new QRadioButton(QtGradientEditor);
rgbRadioButton->setObjectName(QString::fromUtf8("rgbRadioButton"));
rgbRadioButton->setGeometry(QRect(135, 301, 49, 23));
sizePolicy5.setHeightForWidth(rgbRadioButton->sizePolicy().hasHeightForWidth());
rgbRadioButton->setSizePolicy(sizePolicy5);
positionWidget = new QWidget(QtGradientEditor);
positionWidget->setObjectName(QString::fromUtf8("positionWidget"));
positionWidget->setGeometry(QRect(279, 304, 73, 23));
vboxLayout1 = new QVBoxLayout(positionWidget);
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
vboxLayout1->setContentsMargins(0, 0, 0, 0);
positionSpinBox = new QDoubleSpinBox(positionWidget);
positionSpinBox->setObjectName(QString::fromUtf8("positionSpinBox"));
positionSpinBox->setKeyboardTracking(false);
positionSpinBox->setDecimals(3);
positionSpinBox->setMinimum(0);
positionSpinBox->setMaximum(1);
positionSpinBox->setSingleStep(0.01);
positionSpinBox->setValue(0);
vboxLayout1->addWidget(positionSpinBox);
hueWidget = new QWidget(QtGradientEditor);
hueWidget->setObjectName(QString::fromUtf8("hueWidget"));
hueWidget->setGeometry(QRect(279, 333, 73, 23));
vboxLayout2 = new QVBoxLayout(hueWidget);
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
vboxLayout2->setContentsMargins(0, 0, 0, 0);
hueSpinBox = new QSpinBox(hueWidget);
hueSpinBox->setObjectName(QString::fromUtf8("hueSpinBox"));
hueSpinBox->setKeyboardTracking(false);
hueSpinBox->setMaximum(359);
vboxLayout2->addWidget(hueSpinBox);
saturationWidget = new QWidget(QtGradientEditor);
saturationWidget->setObjectName(QString::fromUtf8("saturationWidget"));
saturationWidget->setGeometry(QRect(279, 362, 73, 23));
vboxLayout3 = new QVBoxLayout(saturationWidget);
vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
vboxLayout3->setContentsMargins(0, 0, 0, 0);
saturationSpinBox = new QSpinBox(saturationWidget);
saturationSpinBox->setObjectName(QString::fromUtf8("saturationSpinBox"));
saturationSpinBox->setKeyboardTracking(false);
saturationSpinBox->setMaximum(255);
vboxLayout3->addWidget(saturationSpinBox);
valueWidget = new QWidget(QtGradientEditor);
valueWidget->setObjectName(QString::fromUtf8("valueWidget"));
valueWidget->setGeometry(QRect(279, 391, 73, 23));
vboxLayout4 = new QVBoxLayout(valueWidget);
vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
vboxLayout4->setContentsMargins(0, 0, 0, 0);
valueSpinBox = new QSpinBox(valueWidget);
valueSpinBox->setObjectName(QString::fromUtf8("valueSpinBox"));
valueSpinBox->setKeyboardTracking(false);
valueSpinBox->setMaximum(255);
vboxLayout4->addWidget(valueSpinBox);
alphaWidget = new QWidget(QtGradientEditor);
alphaWidget->setObjectName(QString::fromUtf8("alphaWidget"));
alphaWidget->setGeometry(QRect(279, 420, 73, 23));
vboxLayout5 = new QVBoxLayout(alphaWidget);
vboxLayout5->setObjectName(QString::fromUtf8("vboxLayout5"));
vboxLayout5->setContentsMargins(0, 0, 0, 0);
alphaSpinBox = new QSpinBox(alphaWidget);
alphaSpinBox->setObjectName(QString::fromUtf8("alphaSpinBox"));
alphaSpinBox->setKeyboardTracking(false);
alphaSpinBox->setMaximum(255);
vboxLayout5->addWidget(alphaSpinBox);
zoomWidget = new QWidget(QtGradientEditor);
zoomWidget->setObjectName(QString::fromUtf8("zoomWidget"));
zoomWidget->setGeometry(QRect(279, 231, 73, 23));
vboxLayout6 = new QVBoxLayout(zoomWidget);
vboxLayout6->setObjectName(QString::fromUtf8("vboxLayout6"));
vboxLayout6->setContentsMargins(0, 0, 0, 0);
zoomSpinBox = new QSpinBox(zoomWidget);
zoomSpinBox->setObjectName(QString::fromUtf8("zoomSpinBox"));
zoomSpinBox->setKeyboardTracking(false);
zoomSpinBox->setMinimum(100);
zoomSpinBox->setMaximum(10000);
zoomSpinBox->setSingleStep(100);
zoomSpinBox->setValue(100);
vboxLayout6->addWidget(zoomSpinBox);
line1Widget = new QWidget(QtGradientEditor);
line1Widget->setObjectName(QString::fromUtf8("line1Widget"));
line1Widget->setGeometry(QRect(209, 219, 143, 16));
vboxLayout7 = new QVBoxLayout(line1Widget);
vboxLayout7->setObjectName(QString::fromUtf8("vboxLayout7"));
vboxLayout7->setContentsMargins(0, 0, 0, 0);
line1 = new QFrame(line1Widget);
line1->setObjectName(QString::fromUtf8("line1"));
line1->setFrameShape(QFrame::HLine);
line1->setFrameShadow(QFrame::Sunken);
vboxLayout7->addWidget(line1);
line2Widget = new QWidget(QtGradientEditor);
line2Widget->setObjectName(QString::fromUtf8("line2Widget"));
line2Widget->setGeometry(QRect(209, 292, 143, 16));
vboxLayout8 = new QVBoxLayout(line2Widget);
vboxLayout8->setObjectName(QString::fromUtf8("vboxLayout8"));
vboxLayout8->setContentsMargins(0, 0, 0, 0);
line2 = new QFrame(line2Widget);
line2->setObjectName(QString::fromUtf8("line2"));
line2->setFrameShape(QFrame::HLine);
line2->setFrameShadow(QFrame::Sunken);
vboxLayout8->addWidget(line2);
zoomButtonsWidget = new QWidget(QtGradientEditor);
zoomButtonsWidget->setObjectName(QString::fromUtf8("zoomButtonsWidget"));
zoomButtonsWidget->setGeometry(QRect(209, 260, 64, 26));
QSizePolicy sizePolicy6(QSizePolicy::Maximum, QSizePolicy::Preferred);
sizePolicy6.setHorizontalStretch(0);
sizePolicy6.setVerticalStretch(0);
sizePolicy6.setHeightForWidth(zoomButtonsWidget->sizePolicy().hasHeightForWidth());
zoomButtonsWidget->setSizePolicy(sizePolicy6);
hboxLayout4 = new QHBoxLayout(zoomButtonsWidget);
hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
hboxLayout4->setContentsMargins(0, 0, 0, 0);
zoomInButton = new QToolButton(zoomButtonsWidget);
zoomInButton->setObjectName(QString::fromUtf8("zoomInButton"));
hboxLayout4->addWidget(zoomInButton);
zoomOutButton = new QToolButton(zoomButtonsWidget);
zoomOutButton->setObjectName(QString::fromUtf8("zoomOutButton"));
hboxLayout4->addWidget(zoomOutButton);
spacerItem = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout4->addItem(spacerItem);
detailsButton = new QToolButton(QtGradientEditor);
detailsButton->setObjectName(QString::fromUtf8("detailsButton"));
detailsButton->setGeometry(QRect(176, 40, 25, 22));
QSizePolicy sizePolicy7(QSizePolicy::Fixed, QSizePolicy::Ignored);
sizePolicy7.setHorizontalStretch(0);
sizePolicy7.setVerticalStretch(0);
sizePolicy7.setHeightForWidth(detailsButton->sizePolicy().hasHeightForWidth());
detailsButton->setSizePolicy(sizePolicy7);
detailsButton->setCheckable(true);
detailsButton->setAutoRaise(true);
linearButton = new QToolButton(QtGradientEditor);
linearButton->setObjectName(QString::fromUtf8("linearButton"));
linearButton->setGeometry(QRect(10, 10, 30, 26));
linearButton->setCheckable(true);
linearButton->setAutoRaise(true);
radialButton = new QToolButton(QtGradientEditor);
radialButton->setObjectName(QString::fromUtf8("radialButton"));
radialButton->setGeometry(QRect(40, 10, 30, 26));
radialButton->setCheckable(true);
radialButton->setAutoRaise(true);
conicalButton = new QToolButton(QtGradientEditor);
conicalButton->setObjectName(QString::fromUtf8("conicalButton"));
conicalButton->setGeometry(QRect(70, 10, 30, 26));
conicalButton->setCheckable(true);
conicalButton->setAutoRaise(true);
padButton = new QToolButton(QtGradientEditor);
padButton->setObjectName(QString::fromUtf8("padButton"));
padButton->setGeometry(QRect(110, 10, 30, 26));
padButton->setCheckable(true);
padButton->setAutoRaise(true);
repeatButton = new QToolButton(QtGradientEditor);
repeatButton->setObjectName(QString::fromUtf8("repeatButton"));
repeatButton->setGeometry(QRect(140, 10, 30, 26));
repeatButton->setCheckable(true);
repeatButton->setAutoRaise(true);
reflectButton = new QToolButton(QtGradientEditor);
reflectButton->setObjectName(QString::fromUtf8("reflectButton"));
reflectButton->setGeometry(QRect(170, 10, 30, 26));
reflectButton->setCheckable(true);
reflectButton->setAutoRaise(true);
QWidget::setTabOrder(typeComboBox, spreadComboBox);
QWidget::setTabOrder(spreadComboBox, detailsButton);
QWidget::setTabOrder(detailsButton, spinBox1);
QWidget::setTabOrder(spinBox1, spinBox2);
QWidget::setTabOrder(spinBox2, spinBox3);
QWidget::setTabOrder(spinBox3, spinBox4);
QWidget::setTabOrder(spinBox4, spinBox5);
QWidget::setTabOrder(spinBox5, zoomSpinBox);
QWidget::setTabOrder(zoomSpinBox, zoomInButton);
QWidget::setTabOrder(zoomInButton, zoomOutButton);
QWidget::setTabOrder(zoomOutButton, zoomAllButton);
QWidget::setTabOrder(zoomAllButton, colorButton);
QWidget::setTabOrder(colorButton, hsvRadioButton);
QWidget::setTabOrder(hsvRadioButton, rgbRadioButton);
QWidget::setTabOrder(rgbRadioButton, positionSpinBox);
QWidget::setTabOrder(positionSpinBox, hueSpinBox);
QWidget::setTabOrder(hueSpinBox, saturationSpinBox);
QWidget::setTabOrder(saturationSpinBox, valueSpinBox);
QWidget::setTabOrder(valueSpinBox, alphaSpinBox);
retranslateUi(QtGradientEditor);
QMetaObject::connectSlotsByName(QtGradientEditor);
} // setupUi
void retranslateUi(QWidget *QtGradientEditor)
{
QtGradientEditor->setWindowTitle(QApplication::translate("QtGradientEditor", "Form", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
gradientWidget->setToolTip(QApplication::translate("QtGradientEditor", "Gradient Editor", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_WHATSTHIS
gradientWidget->setWhatsThis(QApplication::translate("QtGradientEditor", "This area shows a preview of the gradient being edited. It also allows you to edit parameters specific to the gradient's type such as start and final point, radius, etc. by drag & drop.", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_WHATSTHIS
label1->setText(QApplication::translate("QtGradientEditor", "1", 0, QApplication::UnicodeUTF8));
label2->setText(QApplication::translate("QtGradientEditor", "2", 0, QApplication::UnicodeUTF8));
label3->setText(QApplication::translate("QtGradientEditor", "3", 0, QApplication::UnicodeUTF8));
label4->setText(QApplication::translate("QtGradientEditor", "4", 0, QApplication::UnicodeUTF8));
label5->setText(QApplication::translate("QtGradientEditor", "5", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
gradientStopsWidget->setToolTip(QApplication::translate("QtGradientEditor", "Gradient Stops Editor", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_WHATSTHIS
gradientStopsWidget->setWhatsThis(QApplication::translate("QtGradientEditor", "This area allows you to edit gradient stops. Double click on the existing stop handle to duplicate it. Double click outside of the existing stop handles to create a new stop. Drag & drop the handle to reposition it. Use right mouse button to popup context menu with extra actions.", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_WHATSTHIS
zoomLabel->setText(QApplication::translate("QtGradientEditor", "Zoom", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
zoomAllButton->setToolTip(QApplication::translate("QtGradientEditor", "Reset Zoom", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
zoomAllButton->setText(QApplication::translate("QtGradientEditor", "Reset Zoom", 0, QApplication::UnicodeUTF8));
positionLabel->setText(QApplication::translate("QtGradientEditor", "Position", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
hLabel->setToolTip(QApplication::translate("QtGradientEditor", "Hue", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
hLabel->setText(QApplication::translate("QtGradientEditor", "H", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
hueColorLine->setToolTip(QApplication::translate("QtGradientEditor", "Hue", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
hueLabel->setText(QApplication::translate("QtGradientEditor", "Hue", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
sLabel->setToolTip(QApplication::translate("QtGradientEditor", "Saturation", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
sLabel->setText(QApplication::translate("QtGradientEditor", "S", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
saturationColorLine->setToolTip(QApplication::translate("QtGradientEditor", "Saturation", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
saturationLabel->setText(QApplication::translate("QtGradientEditor", "Sat", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
vLabel->setToolTip(QApplication::translate("QtGradientEditor", "Value", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
vLabel->setText(QApplication::translate("QtGradientEditor", "V", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
valueColorLine->setToolTip(QApplication::translate("QtGradientEditor", "Value", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
valueLabel->setText(QApplication::translate("QtGradientEditor", "Val", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
aLabel->setToolTip(QApplication::translate("QtGradientEditor", "Alpha", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
aLabel->setText(QApplication::translate("QtGradientEditor", "A", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
alphaColorLine->setToolTip(QApplication::translate("QtGradientEditor", "Alpha", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
alphaLabel->setText(QApplication::translate("QtGradientEditor", "Alpha", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
typeComboBox->setToolTip(QApplication::translate("QtGradientEditor", "Type", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
spreadComboBox->setToolTip(QApplication::translate("QtGradientEditor", "Spread", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
colorLabel->setText(QApplication::translate("QtGradientEditor", "Color", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
colorButton->setToolTip(QApplication::translate("QtGradientEditor", "Current stop's color", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
colorButton->setText(QString());
#ifndef QT_NO_TOOLTIP
hsvRadioButton->setToolTip(QApplication::translate("QtGradientEditor", "Show HSV specification", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
hsvRadioButton->setText(QApplication::translate("QtGradientEditor", "HSV", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
rgbRadioButton->setToolTip(QApplication::translate("QtGradientEditor", "Show RGB specification", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
rgbRadioButton->setText(QApplication::translate("QtGradientEditor", "RGB", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
positionSpinBox->setToolTip(QApplication::translate("QtGradientEditor", "Current stop's position", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
zoomSpinBox->setSuffix(QApplication::translate("QtGradientEditor", "%", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
zoomInButton->setToolTip(QApplication::translate("QtGradientEditor", "Zoom In", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
zoomOutButton->setToolTip(QApplication::translate("QtGradientEditor", "Zoom Out", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
detailsButton->setToolTip(QApplication::translate("QtGradientEditor", "Toggle details extension", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
detailsButton->setText(QApplication::translate("QtGradientEditor", ">", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
linearButton->setToolTip(QApplication::translate("QtGradientEditor", "Linear Type", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
linearButton->setText(QApplication::translate("QtGradientEditor", "...", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
radialButton->setToolTip(QApplication::translate("QtGradientEditor", "Radial Type", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
radialButton->setText(QApplication::translate("QtGradientEditor", "...", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
conicalButton->setToolTip(QApplication::translate("QtGradientEditor", "Conical Type", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
conicalButton->setText(QApplication::translate("QtGradientEditor", "...", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
padButton->setToolTip(QApplication::translate("QtGradientEditor", "Pad Spread", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
padButton->setText(QApplication::translate("QtGradientEditor", "...", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
repeatButton->setToolTip(QApplication::translate("QtGradientEditor", "Repeat Spread", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
repeatButton->setText(QApplication::translate("QtGradientEditor", "...", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
reflectButton->setToolTip(QApplication::translate("QtGradientEditor", "Reflect Spread", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
reflectButton->setText(QApplication::translate("QtGradientEditor", "...", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class QtGradientEditor: public Ui_QtGradientEditor {};
} // namespace Ui
QT_END_NAMESPACE
#endif // QTGRADIENTEDITOR_H
|