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.15.9
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(str: "QtGradientEditor"));
160 QtGradientEditor->resize(w: 364, h: 518);
161 frame = new QFrame(QtGradientEditor);
162 frame->setObjectName(QString::fromUtf8(str: "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(str: "vboxLayout"));
174 vboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
175 gradientWidget = new QtGradientWidget(frame);
176 gradientWidget->setObjectName(QString::fromUtf8(str: "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(str: "label1"));
184 label1->setGeometry(QRect(209, 69, 64, 23));
185 spinBox1 = new QDoubleSpinBox(QtGradientEditor);
186 spinBox1->setObjectName(QString::fromUtf8(str: "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(str: "label2"));
194 label2->setGeometry(QRect(209, 99, 64, 23));
195 spinBox2 = new QDoubleSpinBox(QtGradientEditor);
196 spinBox2->setObjectName(QString::fromUtf8(str: "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(str: "label3"));
204 label3->setGeometry(QRect(209, 129, 64, 23));
205 spinBox3 = new QDoubleSpinBox(QtGradientEditor);
206 spinBox3->setObjectName(QString::fromUtf8(str: "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(str: "label4"));
214 label4->setGeometry(QRect(209, 159, 64, 23));
215 spinBox4 = new QDoubleSpinBox(QtGradientEditor);
216 spinBox4->setObjectName(QString::fromUtf8(str: "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(str: "label5"));
224 label5->setGeometry(QRect(209, 189, 64, 23));
225 spinBox5 = new QDoubleSpinBox(QtGradientEditor);
226 spinBox5->setObjectName(QString::fromUtf8(str: "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(str: "gradientStopsWidget"));
234 gradientStopsWidget->setGeometry(QRect(10, 225, 193, 67));
235 zoomLabel = new QLabel(QtGradientEditor);
236 zoomLabel->setObjectName(QString::fromUtf8(str: "zoomLabel"));
237 zoomLabel->setGeometry(QRect(209, 231, 64, 23));
238 zoomAllButton = new QToolButton(QtGradientEditor);
239 zoomAllButton->setObjectName(QString::fromUtf8(str: "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(str: "positionLabel"));
248 positionLabel->setGeometry(QRect(209, 304, 64, 23));
249 hLabel = new QLabel(QtGradientEditor);
250 hLabel->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "hboxLayout"));
266 hboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
267 hueColorLine = new QtColorLine(frame_2);
268 hueColorLine->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "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(str: "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(str: "hboxLayout1"));
296 hboxLayout1->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
297 saturationColorLine = new QtColorLine(frame_5);
298 saturationColorLine->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "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(str: "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(str: "hboxLayout2"));
323 hboxLayout2->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
324 valueColorLine = new QtColorLine(frame_3);
325 valueColorLine->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "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(str: "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(str: "hboxLayout3"));
350 hboxLayout3->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
351 alphaColorLine = new QtColorLine(frame_4);
352 alphaColorLine->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "typeComboBox"));
365 typeComboBox->setGeometry(QRect(10, 40, 79, 22));
366 spreadComboBox = new QComboBox(QtGradientEditor);
367 spreadComboBox->setObjectName(QString::fromUtf8(str: "spreadComboBox"));
368 spreadComboBox->setGeometry(QRect(96, 40, 72, 22));
369 colorLabel = new QLabel(QtGradientEditor);
370 colorLabel->setObjectName(QString::fromUtf8(str: "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(str: "colorButton"));
379 colorButton->setGeometry(QRect(48, 300, 26, 25));
380 hsvRadioButton = new QRadioButton(QtGradientEditor);
381 hsvRadioButton->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "positionWidget"));
396 positionWidget->setGeometry(QRect(279, 304, 73, 23));
397 vboxLayout1 = new QVBoxLayout(positionWidget);
398 vboxLayout1->setObjectName(QString::fromUtf8(str: "vboxLayout1"));
399 vboxLayout1->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
400 positionSpinBox = new QDoubleSpinBox(positionWidget);
401 positionSpinBox->setObjectName(QString::fromUtf8(str: "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(str: "hueWidget"));
413 hueWidget->setGeometry(QRect(279, 333, 73, 23));
414 vboxLayout2 = new QVBoxLayout(hueWidget);
415 vboxLayout2->setObjectName(QString::fromUtf8(str: "vboxLayout2"));
416 vboxLayout2->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
417 hueSpinBox = new QSpinBox(hueWidget);
418 hueSpinBox->setObjectName(QString::fromUtf8(str: "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(str: "saturationWidget"));
426 saturationWidget->setGeometry(QRect(279, 362, 73, 23));
427 vboxLayout3 = new QVBoxLayout(saturationWidget);
428 vboxLayout3->setObjectName(QString::fromUtf8(str: "vboxLayout3"));
429 vboxLayout3->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
430 saturationSpinBox = new QSpinBox(saturationWidget);
431 saturationSpinBox->setObjectName(QString::fromUtf8(str: "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(str: "valueWidget"));
439 valueWidget->setGeometry(QRect(279, 391, 73, 23));
440 vboxLayout4 = new QVBoxLayout(valueWidget);
441 vboxLayout4->setObjectName(QString::fromUtf8(str: "vboxLayout4"));
442 vboxLayout4->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
443 valueSpinBox = new QSpinBox(valueWidget);
444 valueSpinBox->setObjectName(QString::fromUtf8(str: "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(str: "alphaWidget"));
452 alphaWidget->setGeometry(QRect(279, 420, 73, 23));
453 vboxLayout5 = new QVBoxLayout(alphaWidget);
454 vboxLayout5->setObjectName(QString::fromUtf8(str: "vboxLayout5"));
455 vboxLayout5->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
456 alphaSpinBox = new QSpinBox(alphaWidget);
457 alphaSpinBox->setObjectName(QString::fromUtf8(str: "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(str: "zoomWidget"));
465 zoomWidget->setGeometry(QRect(279, 231, 73, 23));
466 vboxLayout6 = new QVBoxLayout(zoomWidget);
467 vboxLayout6->setObjectName(QString::fromUtf8(str: "vboxLayout6"));
468 vboxLayout6->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
469 zoomSpinBox = new QSpinBox(zoomWidget);
470 zoomSpinBox->setObjectName(QString::fromUtf8(str: "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(str: "line1Widget"));
481 line1Widget->setGeometry(QRect(209, 219, 143, 16));
482 vboxLayout7 = new QVBoxLayout(line1Widget);
483 vboxLayout7->setObjectName(QString::fromUtf8(str: "vboxLayout7"));
484 vboxLayout7->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
485 line1 = new QFrame(line1Widget);
486 line1->setObjectName(QString::fromUtf8(str: "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(str: "line2Widget"));
494 line2Widget->setGeometry(QRect(209, 292, 143, 16));
495 vboxLayout8 = new QVBoxLayout(line2Widget);
496 vboxLayout8->setObjectName(QString::fromUtf8(str: "vboxLayout8"));
497 vboxLayout8->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
498 line2 = new QFrame(line2Widget);
499 line2->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "hboxLayout4"));
515 hboxLayout4->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
516 zoomInButton = new QToolButton(zoomButtonsWidget);
517 zoomInButton->setObjectName(QString::fromUtf8(str: "zoomInButton"));
518
519 hboxLayout4->addWidget(zoomInButton);
520
521 zoomOutButton = new QToolButton(zoomButtonsWidget);
522 zoomOutButton->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "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(str: "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(str: "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(str: "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(str: "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(str: "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(o: QtGradientEditor);
593 } // setupUi
594
595 void retranslateUi(QWidget *QtGradientEditor)
596 {
597 QtGradientEditor->setWindowTitle(QCoreApplication::translate(context: "QtGradientEditor", key: "Form", disambiguation: nullptr));
598#if QT_CONFIG(tooltip)
599 gradientWidget->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Gradient Editor", disambiguation: nullptr));
600#endif // QT_CONFIG(tooltip)
601#if QT_CONFIG(whatsthis)
602 gradientWidget->setWhatsThis(QCoreApplication::translate(context: "QtGradientEditor", key: "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.", disambiguation: nullptr));
603#endif // QT_CONFIG(whatsthis)
604 label1->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "1", disambiguation: nullptr));
605 label2->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "2", disambiguation: nullptr));
606 label3->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "3", disambiguation: nullptr));
607 label4->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "4", disambiguation: nullptr));
608 label5->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "5", disambiguation: nullptr));
609#if QT_CONFIG(tooltip)
610 gradientStopsWidget->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Gradient Stops Editor", disambiguation: nullptr));
611#endif // QT_CONFIG(tooltip)
612#if QT_CONFIG(whatsthis)
613 gradientStopsWidget->setWhatsThis(QCoreApplication::translate(context: "QtGradientEditor", key: "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.", disambiguation: nullptr));
614#endif // QT_CONFIG(whatsthis)
615 zoomLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Zoom", disambiguation: nullptr));
616#if QT_CONFIG(tooltip)
617 zoomAllButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Reset Zoom", disambiguation: nullptr));
618#endif // QT_CONFIG(tooltip)
619 zoomAllButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Reset Zoom", disambiguation: nullptr));
620 positionLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Position", disambiguation: nullptr));
621#if QT_CONFIG(tooltip)
622 hLabel->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Hue", disambiguation: nullptr));
623#endif // QT_CONFIG(tooltip)
624 hLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "H", disambiguation: nullptr));
625#if QT_CONFIG(tooltip)
626 hueColorLine->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Hue", disambiguation: nullptr));
627#endif // QT_CONFIG(tooltip)
628 hueLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Hue", disambiguation: nullptr));
629#if QT_CONFIG(tooltip)
630 sLabel->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Saturation", disambiguation: nullptr));
631#endif // QT_CONFIG(tooltip)
632 sLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "S", disambiguation: nullptr));
633#if QT_CONFIG(tooltip)
634 saturationColorLine->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Saturation", disambiguation: nullptr));
635#endif // QT_CONFIG(tooltip)
636 saturationLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Sat", disambiguation: nullptr));
637#if QT_CONFIG(tooltip)
638 vLabel->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Value", disambiguation: nullptr));
639#endif // QT_CONFIG(tooltip)
640 vLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "V", disambiguation: nullptr));
641#if QT_CONFIG(tooltip)
642 valueColorLine->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Value", disambiguation: nullptr));
643#endif // QT_CONFIG(tooltip)
644 valueLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Val", disambiguation: nullptr));
645#if QT_CONFIG(tooltip)
646 aLabel->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Alpha", disambiguation: nullptr));
647#endif // QT_CONFIG(tooltip)
648 aLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "A", disambiguation: nullptr));
649#if QT_CONFIG(tooltip)
650 alphaColorLine->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Alpha", disambiguation: nullptr));
651#endif // QT_CONFIG(tooltip)
652 alphaLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Alpha", disambiguation: nullptr));
653#if QT_CONFIG(tooltip)
654 typeComboBox->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Type", disambiguation: nullptr));
655#endif // QT_CONFIG(tooltip)
656#if QT_CONFIG(tooltip)
657 spreadComboBox->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Spread", disambiguation: nullptr));
658#endif // QT_CONFIG(tooltip)
659 colorLabel->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "Color", disambiguation: nullptr));
660#if QT_CONFIG(tooltip)
661 colorButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Current stop's color", disambiguation: nullptr));
662#endif // QT_CONFIG(tooltip)
663 colorButton->setText(QString());
664#if QT_CONFIG(tooltip)
665 hsvRadioButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Show HSV specification", disambiguation: nullptr));
666#endif // QT_CONFIG(tooltip)
667 hsvRadioButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "HSV", disambiguation: nullptr));
668#if QT_CONFIG(tooltip)
669 rgbRadioButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Show RGB specification", disambiguation: nullptr));
670#endif // QT_CONFIG(tooltip)
671 rgbRadioButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "RGB", disambiguation: nullptr));
672#if QT_CONFIG(tooltip)
673 positionSpinBox->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Current stop's position", disambiguation: nullptr));
674#endif // QT_CONFIG(tooltip)
675 zoomSpinBox->setSuffix(QCoreApplication::translate(context: "QtGradientEditor", key: "%", disambiguation: nullptr));
676#if QT_CONFIG(tooltip)
677 zoomInButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Zoom In", disambiguation: nullptr));
678#endif // QT_CONFIG(tooltip)
679#if QT_CONFIG(tooltip)
680 zoomOutButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Zoom Out", disambiguation: nullptr));
681#endif // QT_CONFIG(tooltip)
682#if QT_CONFIG(tooltip)
683 detailsButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Toggle details extension", disambiguation: nullptr));
684#endif // QT_CONFIG(tooltip)
685 detailsButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: ">", disambiguation: nullptr));
686#if QT_CONFIG(tooltip)
687 linearButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Linear Type", disambiguation: nullptr));
688#endif // QT_CONFIG(tooltip)
689 linearButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "...", disambiguation: nullptr));
690#if QT_CONFIG(tooltip)
691 radialButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Radial Type", disambiguation: nullptr));
692#endif // QT_CONFIG(tooltip)
693 radialButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "...", disambiguation: nullptr));
694#if QT_CONFIG(tooltip)
695 conicalButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Conical Type", disambiguation: nullptr));
696#endif // QT_CONFIG(tooltip)
697 conicalButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "...", disambiguation: nullptr));
698#if QT_CONFIG(tooltip)
699 padButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Pad Spread", disambiguation: nullptr));
700#endif // QT_CONFIG(tooltip)
701 padButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "...", disambiguation: nullptr));
702#if QT_CONFIG(tooltip)
703 repeatButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Repeat Spread", disambiguation: nullptr));
704#endif // QT_CONFIG(tooltip)
705 repeatButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "...", disambiguation: nullptr));
706#if QT_CONFIG(tooltip)
707 reflectButton->setToolTip(QCoreApplication::translate(context: "QtGradientEditor", key: "Reflect Spread", disambiguation: nullptr));
708#endif // QT_CONFIG(tooltip)
709 reflectButton->setText(QCoreApplication::translate(context: "QtGradientEditor", key: "...", disambiguation: 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

source code of qttools/src/designer/src/lib/.uic/ui_qtgradienteditor.h