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