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