2011-04-27 10:05:43 +00:00
/*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
2016-01-15 12:36:27 +00:00
* * Copyright ( C ) 2016 The Qt Company Ltd .
* * Contact : https : //www.qt.io/licensing/
2011-04-27 10:05:43 +00:00
* *
* * This file is part of the test suite of the Qt Toolkit .
* *
2016-01-15 12:36:27 +00:00
* * $ QT_BEGIN_LICENSE : GPL - EXCEPT $
2012-09-19 12:28:29 +00:00
* * Commercial License Usage
* * Licensees holding valid commercial Qt licenses may use this file in
* * accordance with the commercial license agreement provided with the
* * Software or , alternatively , in accordance with the terms contained in
2015-01-28 08:44:43 +00:00
* * a written agreement between you and The Qt Company . For licensing terms
2016-01-15 12:36:27 +00:00
* * and conditions see https : //www.qt.io/terms-conditions. For further
* * information use the contact form at https : //www.qt.io/contact-us.
* *
* * GNU General Public License Usage
* * Alternatively , this file may be used under the terms of the GNU
* * General Public License version 3 as published by the Free Software
* * Foundation with exceptions as appearing in the file LICENSE . GPL3 - EXCEPT
* * included in the packaging of this file . Please review the following
* * information to ensure the GNU General Public License requirements will
* * be met : https : //www.gnu.org/licenses/gpl-3.0.html.
2011-04-27 10:05:43 +00:00
* *
* * $ QT_END_LICENSE $
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
/********************************************************************************
* * Form generated from reading UI file ' qtgradienteditor . ui '
* *
2012-12-13 12:48:18 +00:00
* * Created by : Qt User Interface Compiler version 5.0 .0
2011-04-27 10:05:43 +00:00
* *
* * WARNING ! All changes made in this file will be lost when recompiling UI file !
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
# ifndef QTGRADIENTEDITOR_H
# define QTGRADIENTEDITOR_H
# include <QtCore/QVariant>
2011-09-22 13:09:37 +00:00
# include <QtWidgets/QApplication>
# include <QtWidgets/QComboBox>
# include <QtWidgets/QDoubleSpinBox>
# include <QtWidgets/QFrame>
# include <QtWidgets/QHBoxLayout>
# include <QtWidgets/QLabel>
# include <QtWidgets/QRadioButton>
# include <QtWidgets/QSpacerItem>
# include <QtWidgets/QSpinBox>
# include <QtWidgets/QToolButton>
# include <QtWidgets/QVBoxLayout>
# include <QtWidgets/QWidget>
2011-04-27 10:05:43 +00:00
# include "qtcolorbutton.h"
# include "qtcolorline.h"
# include "qtgradientstopswidget.h"
# include "qtgradientwidget.h"
QT_BEGIN_NAMESPACE
class Ui_QtGradientEditor
{
public :
QFrame * frame ;
QVBoxLayout * vboxLayout ;
QtGradientWidget * gradientWidget ;
QLabel * label1 ;
QDoubleSpinBox * spinBox1 ;
QLabel * label2 ;
QDoubleSpinBox * spinBox2 ;
QLabel * label3 ;
QDoubleSpinBox * spinBox3 ;
QLabel * label4 ;
QDoubleSpinBox * spinBox4 ;
QLabel * label5 ;
QDoubleSpinBox * spinBox5 ;
QtGradientStopsWidget * gradientStopsWidget ;
QLabel * zoomLabel ;
QToolButton * zoomAllButton ;
QLabel * positionLabel ;
QLabel * hLabel ;
QFrame * frame_2 ;
QHBoxLayout * hboxLayout ;
QtColorLine * hueColorLine ;
QLabel * hueLabel ;
QLabel * sLabel ;
QFrame * frame_5 ;
QHBoxLayout * hboxLayout1 ;
QtColorLine * saturationColorLine ;
QLabel * saturationLabel ;
QLabel * vLabel ;
QFrame * frame_3 ;
QHBoxLayout * hboxLayout2 ;
QtColorLine * valueColorLine ;
QLabel * valueLabel ;
QLabel * aLabel ;
QFrame * frame_4 ;
QHBoxLayout * hboxLayout3 ;
QtColorLine * alphaColorLine ;
QLabel * alphaLabel ;
QComboBox * typeComboBox ;
QComboBox * spreadComboBox ;
QLabel * colorLabel ;
QtColorButton * colorButton ;
QRadioButton * hsvRadioButton ;
QRadioButton * rgbRadioButton ;
QWidget * positionWidget ;
QVBoxLayout * vboxLayout1 ;
QDoubleSpinBox * positionSpinBox ;
QWidget * hueWidget ;
QVBoxLayout * vboxLayout2 ;
QSpinBox * hueSpinBox ;
QWidget * saturationWidget ;
QVBoxLayout * vboxLayout3 ;
QSpinBox * saturationSpinBox ;
QWidget * valueWidget ;
QVBoxLayout * vboxLayout4 ;
QSpinBox * valueSpinBox ;
QWidget * alphaWidget ;
QVBoxLayout * vboxLayout5 ;
QSpinBox * alphaSpinBox ;
QWidget * zoomWidget ;
QVBoxLayout * vboxLayout6 ;
QSpinBox * zoomSpinBox ;
QWidget * line1Widget ;
QVBoxLayout * vboxLayout7 ;
QFrame * line1 ;
QWidget * line2Widget ;
QVBoxLayout * vboxLayout8 ;
QFrame * line2 ;
QWidget * zoomButtonsWidget ;
QHBoxLayout * hboxLayout4 ;
QToolButton * zoomInButton ;
QToolButton * zoomOutButton ;
QSpacerItem * spacerItem ;
QToolButton * detailsButton ;
QToolButton * linearButton ;
QToolButton * radialButton ;
QToolButton * conicalButton ;
QToolButton * padButton ;
QToolButton * repeatButton ;
QToolButton * reflectButton ;
void setupUi ( QWidget * QtGradientEditor )
{
if ( QtGradientEditor - > objectName ( ) . isEmpty ( ) )
2018-07-13 09:02:14 +00:00
QtGradientEditor - > setObjectName ( QString : : fromUtf8 ( " QtGradientEditor " ) ) ;
2011-04-27 10:05:43 +00:00
QtGradientEditor - > resize ( 364 , 518 ) ;
frame = new QFrame ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
frame - > setObjectName ( QString : : fromUtf8 ( " frame " ) ) ;
2011-04-27 10:05:43 +00:00
frame - > setGeometry ( QRect ( 10 , 69 , 193 , 150 ) ) ;
QSizePolicy sizePolicy ( QSizePolicy : : Expanding , QSizePolicy : : Expanding ) ;
sizePolicy . setHorizontalStretch ( 0 ) ;
sizePolicy . setVerticalStretch ( 0 ) ;
sizePolicy . setHeightForWidth ( frame - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
frame - > setSizePolicy ( sizePolicy ) ;
frame - > setFrameShape ( QFrame : : StyledPanel ) ;
frame - > setFrameShadow ( QFrame : : Raised ) ;
vboxLayout = new QVBoxLayout ( frame ) ;
vboxLayout - > setSpacing ( 6 ) ;
2018-07-13 09:02:14 +00:00
vboxLayout - > setObjectName ( QString : : fromUtf8 ( " vboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
gradientWidget = new QtGradientWidget ( frame ) ;
2018-07-13 09:02:14 +00:00
gradientWidget - > setObjectName ( QString : : fromUtf8 ( " gradientWidget " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy . setHeightForWidth ( gradientWidget - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
gradientWidget - > setSizePolicy ( sizePolicy ) ;
vboxLayout - > addWidget ( gradientWidget ) ;
label1 = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
label1 - > setObjectName ( QString : : fromUtf8 ( " label1 " ) ) ;
2011-04-27 10:05:43 +00:00
label1 - > setGeometry ( QRect ( 209 , 69 , 64 , 23 ) ) ;
spinBox1 = new QDoubleSpinBox ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
spinBox1 - > setObjectName ( QString : : fromUtf8 ( " spinBox1 " ) ) ;
2011-04-27 10:05:43 +00:00
spinBox1 - > setGeometry ( QRect ( 279 , 69 , 73 , 23 ) ) ;
spinBox1 - > setKeyboardTracking ( false ) ;
spinBox1 - > setDecimals ( 3 ) ;
spinBox1 - > setMaximum ( 1 ) ;
spinBox1 - > setSingleStep ( 0.01 ) ;
label2 = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
label2 - > setObjectName ( QString : : fromUtf8 ( " label2 " ) ) ;
2011-04-27 10:05:43 +00:00
label2 - > setGeometry ( QRect ( 209 , 99 , 64 , 23 ) ) ;
spinBox2 = new QDoubleSpinBox ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
spinBox2 - > setObjectName ( QString : : fromUtf8 ( " spinBox2 " ) ) ;
2011-04-27 10:05:43 +00:00
spinBox2 - > setGeometry ( QRect ( 279 , 99 , 73 , 23 ) ) ;
spinBox2 - > setKeyboardTracking ( false ) ;
spinBox2 - > setDecimals ( 3 ) ;
spinBox2 - > setMaximum ( 1 ) ;
spinBox2 - > setSingleStep ( 0.01 ) ;
label3 = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
label3 - > setObjectName ( QString : : fromUtf8 ( " label3 " ) ) ;
2011-04-27 10:05:43 +00:00
label3 - > setGeometry ( QRect ( 209 , 129 , 64 , 23 ) ) ;
spinBox3 = new QDoubleSpinBox ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
spinBox3 - > setObjectName ( QString : : fromUtf8 ( " spinBox3 " ) ) ;
2011-04-27 10:05:43 +00:00
spinBox3 - > setGeometry ( QRect ( 279 , 129 , 73 , 23 ) ) ;
spinBox3 - > setKeyboardTracking ( false ) ;
spinBox3 - > setDecimals ( 3 ) ;
spinBox3 - > setMaximum ( 1 ) ;
spinBox3 - > setSingleStep ( 0.01 ) ;
label4 = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
label4 - > setObjectName ( QString : : fromUtf8 ( " label4 " ) ) ;
2011-04-27 10:05:43 +00:00
label4 - > setGeometry ( QRect ( 209 , 159 , 64 , 23 ) ) ;
spinBox4 = new QDoubleSpinBox ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
spinBox4 - > setObjectName ( QString : : fromUtf8 ( " spinBox4 " ) ) ;
2011-04-27 10:05:43 +00:00
spinBox4 - > setGeometry ( QRect ( 279 , 159 , 73 , 23 ) ) ;
spinBox4 - > setKeyboardTracking ( false ) ;
spinBox4 - > setDecimals ( 3 ) ;
spinBox4 - > setMaximum ( 1 ) ;
spinBox4 - > setSingleStep ( 0.01 ) ;
label5 = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
label5 - > setObjectName ( QString : : fromUtf8 ( " label5 " ) ) ;
2011-04-27 10:05:43 +00:00
label5 - > setGeometry ( QRect ( 209 , 189 , 64 , 23 ) ) ;
spinBox5 = new QDoubleSpinBox ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
spinBox5 - > setObjectName ( QString : : fromUtf8 ( " spinBox5 " ) ) ;
2011-04-27 10:05:43 +00:00
spinBox5 - > setGeometry ( QRect ( 279 , 189 , 73 , 23 ) ) ;
spinBox5 - > setKeyboardTracking ( false ) ;
spinBox5 - > setDecimals ( 3 ) ;
spinBox5 - > setMaximum ( 1 ) ;
spinBox5 - > setSingleStep ( 0.01 ) ;
gradientStopsWidget = new QtGradientStopsWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
gradientStopsWidget - > setObjectName ( QString : : fromUtf8 ( " gradientStopsWidget " ) ) ;
2011-04-27 10:05:43 +00:00
gradientStopsWidget - > setGeometry ( QRect ( 10 , 225 , 193 , 67 ) ) ;
zoomLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
zoomLabel - > setObjectName ( QString : : fromUtf8 ( " zoomLabel " ) ) ;
2011-04-27 10:05:43 +00:00
zoomLabel - > setGeometry ( QRect ( 209 , 231 , 64 , 23 ) ) ;
zoomAllButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
zoomAllButton - > setObjectName ( QString : : fromUtf8 ( " zoomAllButton " ) ) ;
2011-04-27 10:05:43 +00:00
zoomAllButton - > setGeometry ( QRect ( 279 , 260 , 72 , 26 ) ) ;
QSizePolicy sizePolicy1 ( QSizePolicy : : Preferred , QSizePolicy : : Fixed ) ;
sizePolicy1 . setHorizontalStretch ( 0 ) ;
sizePolicy1 . setVerticalStretch ( 0 ) ;
sizePolicy1 . setHeightForWidth ( zoomAllButton - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
zoomAllButton - > setSizePolicy ( sizePolicy1 ) ;
positionLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
positionLabel - > setObjectName ( QString : : fromUtf8 ( " positionLabel " ) ) ;
2011-04-27 10:05:43 +00:00
positionLabel - > setGeometry ( QRect ( 209 , 304 , 64 , 23 ) ) ;
hLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
hLabel - > setObjectName ( QString : : fromUtf8 ( " hLabel " ) ) ;
2011-04-27 10:05:43 +00:00
hLabel - > setGeometry ( QRect ( 10 , 335 , 32 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( hLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
hLabel - > setSizePolicy ( sizePolicy1 ) ;
frame_2 = new QFrame ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
frame_2 - > setObjectName ( QString : : fromUtf8 ( " frame_2 " ) ) ;
2011-04-27 10:05:43 +00:00
frame_2 - > setGeometry ( QRect ( 48 , 333 , 155 , 23 ) ) ;
QSizePolicy sizePolicy2 ( QSizePolicy : : Ignored , QSizePolicy : : Preferred ) ;
sizePolicy2 . setHorizontalStretch ( 0 ) ;
sizePolicy2 . setVerticalStretch ( 0 ) ;
sizePolicy2 . setHeightForWidth ( frame_2 - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
frame_2 - > setSizePolicy ( sizePolicy2 ) ;
frame_2 - > setFrameShape ( QFrame : : StyledPanel ) ;
frame_2 - > setFrameShadow ( QFrame : : Raised ) ;
hboxLayout = new QHBoxLayout ( frame_2 ) ;
2018-07-13 09:02:14 +00:00
hboxLayout - > setObjectName ( QString : : fromUtf8 ( " hboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
hueColorLine = new QtColorLine ( frame_2 ) ;
2018-07-13 09:02:14 +00:00
hueColorLine - > setObjectName ( QString : : fromUtf8 ( " hueColorLine " ) ) ;
2011-04-27 10:05:43 +00:00
QSizePolicy sizePolicy3 ( QSizePolicy : : Expanding , QSizePolicy : : Preferred ) ;
sizePolicy3 . setHorizontalStretch ( 0 ) ;
sizePolicy3 . setVerticalStretch ( 0 ) ;
sizePolicy3 . setHeightForWidth ( hueColorLine - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
hueColorLine - > setSizePolicy ( sizePolicy3 ) ;
hboxLayout - > addWidget ( hueColorLine ) ;
hueLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
hueLabel - > setObjectName ( QString : : fromUtf8 ( " hueLabel " ) ) ;
2011-04-27 10:05:43 +00:00
hueLabel - > setGeometry ( QRect ( 209 , 335 , 64 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( hueLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
hueLabel - > setSizePolicy ( sizePolicy1 ) ;
sLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
sLabel - > setObjectName ( QString : : fromUtf8 ( " sLabel " ) ) ;
2011-04-27 10:05:43 +00:00
sLabel - > setGeometry ( QRect ( 10 , 364 , 32 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( sLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
sLabel - > setSizePolicy ( sizePolicy1 ) ;
frame_5 = new QFrame ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
frame_5 - > setObjectName ( QString : : fromUtf8 ( " frame_5 " ) ) ;
2011-04-27 10:05:43 +00:00
frame_5 - > setGeometry ( QRect ( 48 , 362 , 155 , 23 ) ) ;
sizePolicy2 . setHeightForWidth ( frame_5 - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
frame_5 - > setSizePolicy ( sizePolicy2 ) ;
frame_5 - > setFrameShape ( QFrame : : StyledPanel ) ;
frame_5 - > setFrameShadow ( QFrame : : Raised ) ;
hboxLayout1 = new QHBoxLayout ( frame_5 ) ;
2018-07-13 09:02:14 +00:00
hboxLayout1 - > setObjectName ( QString : : fromUtf8 ( " hboxLayout1 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout1 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
saturationColorLine = new QtColorLine ( frame_5 ) ;
2018-07-13 09:02:14 +00:00
saturationColorLine - > setObjectName ( QString : : fromUtf8 ( " saturationColorLine " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy3 . setHeightForWidth ( saturationColorLine - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
saturationColorLine - > setSizePolicy ( sizePolicy3 ) ;
hboxLayout1 - > addWidget ( saturationColorLine ) ;
saturationLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
saturationLabel - > setObjectName ( QString : : fromUtf8 ( " saturationLabel " ) ) ;
2011-04-27 10:05:43 +00:00
saturationLabel - > setGeometry ( QRect ( 209 , 364 , 64 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( saturationLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
saturationLabel - > setSizePolicy ( sizePolicy1 ) ;
vLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
vLabel - > setObjectName ( QString : : fromUtf8 ( " vLabel " ) ) ;
2011-04-27 10:05:43 +00:00
vLabel - > setGeometry ( QRect ( 10 , 393 , 32 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( vLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
vLabel - > setSizePolicy ( sizePolicy1 ) ;
frame_3 = new QFrame ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
frame_3 - > setObjectName ( QString : : fromUtf8 ( " frame_3 " ) ) ;
2011-04-27 10:05:43 +00:00
frame_3 - > setGeometry ( QRect ( 48 , 391 , 155 , 23 ) ) ;
sizePolicy2 . setHeightForWidth ( frame_3 - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
frame_3 - > setSizePolicy ( sizePolicy2 ) ;
frame_3 - > setFrameShape ( QFrame : : StyledPanel ) ;
frame_3 - > setFrameShadow ( QFrame : : Raised ) ;
hboxLayout2 = new QHBoxLayout ( frame_3 ) ;
2018-07-13 09:02:14 +00:00
hboxLayout2 - > setObjectName ( QString : : fromUtf8 ( " hboxLayout2 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout2 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
valueColorLine = new QtColorLine ( frame_3 ) ;
2018-07-13 09:02:14 +00:00
valueColorLine - > setObjectName ( QString : : fromUtf8 ( " valueColorLine " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy3 . setHeightForWidth ( valueColorLine - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
valueColorLine - > setSizePolicy ( sizePolicy3 ) ;
hboxLayout2 - > addWidget ( valueColorLine ) ;
valueLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
valueLabel - > setObjectName ( QString : : fromUtf8 ( " valueLabel " ) ) ;
2011-04-27 10:05:43 +00:00
valueLabel - > setGeometry ( QRect ( 209 , 393 , 64 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( valueLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
valueLabel - > setSizePolicy ( sizePolicy1 ) ;
aLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
aLabel - > setObjectName ( QString : : fromUtf8 ( " aLabel " ) ) ;
2011-04-27 10:05:43 +00:00
aLabel - > setGeometry ( QRect ( 10 , 422 , 32 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( aLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
aLabel - > setSizePolicy ( sizePolicy1 ) ;
frame_4 = new QFrame ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
frame_4 - > setObjectName ( QString : : fromUtf8 ( " frame_4 " ) ) ;
2011-04-27 10:05:43 +00:00
frame_4 - > setGeometry ( QRect ( 48 , 420 , 155 , 23 ) ) ;
sizePolicy2 . setHeightForWidth ( frame_4 - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
frame_4 - > setSizePolicy ( sizePolicy2 ) ;
frame_4 - > setFrameShape ( QFrame : : StyledPanel ) ;
frame_4 - > setFrameShadow ( QFrame : : Raised ) ;
hboxLayout3 = new QHBoxLayout ( frame_4 ) ;
2018-07-13 09:02:14 +00:00
hboxLayout3 - > setObjectName ( QString : : fromUtf8 ( " hboxLayout3 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout3 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
alphaColorLine = new QtColorLine ( frame_4 ) ;
2018-07-13 09:02:14 +00:00
alphaColorLine - > setObjectName ( QString : : fromUtf8 ( " alphaColorLine " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy3 . setHeightForWidth ( alphaColorLine - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
alphaColorLine - > setSizePolicy ( sizePolicy3 ) ;
hboxLayout3 - > addWidget ( alphaColorLine ) ;
alphaLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
alphaLabel - > setObjectName ( QString : : fromUtf8 ( " alphaLabel " ) ) ;
2011-04-27 10:05:43 +00:00
alphaLabel - > setGeometry ( QRect ( 209 , 422 , 64 , 18 ) ) ;
sizePolicy1 . setHeightForWidth ( alphaLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
alphaLabel - > setSizePolicy ( sizePolicy1 ) ;
typeComboBox = new QComboBox ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
typeComboBox - > setObjectName ( QString : : fromUtf8 ( " typeComboBox " ) ) ;
2011-04-27 10:05:43 +00:00
typeComboBox - > setGeometry ( QRect ( 10 , 40 , 79 , 22 ) ) ;
spreadComboBox = new QComboBox ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
spreadComboBox - > setObjectName ( QString : : fromUtf8 ( " spreadComboBox " ) ) ;
2011-04-27 10:05:43 +00:00
spreadComboBox - > setGeometry ( QRect ( 96 , 40 , 72 , 22 ) ) ;
colorLabel = new QLabel ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
colorLabel - > setObjectName ( QString : : fromUtf8 ( " colorLabel " ) ) ;
2011-04-27 10:05:43 +00:00
colorLabel - > setGeometry ( QRect ( 10 , 298 , 32 , 29 ) ) ;
QSizePolicy sizePolicy4 ( QSizePolicy : : Fixed , QSizePolicy : : Preferred ) ;
sizePolicy4 . setHorizontalStretch ( 0 ) ;
sizePolicy4 . setVerticalStretch ( 0 ) ;
sizePolicy4 . setHeightForWidth ( colorLabel - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
colorLabel - > setSizePolicy ( sizePolicy4 ) ;
colorButton = new QtColorButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
colorButton - > setObjectName ( QString : : fromUtf8 ( " colorButton " ) ) ;
2011-04-27 10:05:43 +00:00
colorButton - > setGeometry ( QRect ( 48 , 300 , 26 , 25 ) ) ;
hsvRadioButton = new QRadioButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
hsvRadioButton - > setObjectName ( QString : : fromUtf8 ( " hsvRadioButton " ) ) ;
2011-04-27 10:05:43 +00:00
hsvRadioButton - > setGeometry ( QRect ( 80 , 301 , 49 , 23 ) ) ;
QSizePolicy sizePolicy5 ( QSizePolicy : : Fixed , QSizePolicy : : Fixed ) ;
sizePolicy5 . setHorizontalStretch ( 0 ) ;
sizePolicy5 . setVerticalStretch ( 0 ) ;
sizePolicy5 . setHeightForWidth ( hsvRadioButton - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
hsvRadioButton - > setSizePolicy ( sizePolicy5 ) ;
hsvRadioButton - > setChecked ( true ) ;
rgbRadioButton = new QRadioButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
rgbRadioButton - > setObjectName ( QString : : fromUtf8 ( " rgbRadioButton " ) ) ;
2011-04-27 10:05:43 +00:00
rgbRadioButton - > setGeometry ( QRect ( 135 , 301 , 49 , 23 ) ) ;
sizePolicy5 . setHeightForWidth ( rgbRadioButton - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
rgbRadioButton - > setSizePolicy ( sizePolicy5 ) ;
positionWidget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
positionWidget - > setObjectName ( QString : : fromUtf8 ( " positionWidget " ) ) ;
2011-04-27 10:05:43 +00:00
positionWidget - > setGeometry ( QRect ( 279 , 304 , 73 , 23 ) ) ;
vboxLayout1 = new QVBoxLayout ( positionWidget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout1 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout1 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout1 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
positionSpinBox = new QDoubleSpinBox ( positionWidget ) ;
2018-07-13 09:02:14 +00:00
positionSpinBox - > setObjectName ( QString : : fromUtf8 ( " positionSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
positionSpinBox - > setKeyboardTracking ( false ) ;
positionSpinBox - > setDecimals ( 3 ) ;
positionSpinBox - > setMinimum ( 0 ) ;
positionSpinBox - > setMaximum ( 1 ) ;
positionSpinBox - > setSingleStep ( 0.01 ) ;
positionSpinBox - > setValue ( 0 ) ;
vboxLayout1 - > addWidget ( positionSpinBox ) ;
hueWidget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
hueWidget - > setObjectName ( QString : : fromUtf8 ( " hueWidget " ) ) ;
2011-04-27 10:05:43 +00:00
hueWidget - > setGeometry ( QRect ( 279 , 333 , 73 , 23 ) ) ;
vboxLayout2 = new QVBoxLayout ( hueWidget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout2 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout2 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout2 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
hueSpinBox = new QSpinBox ( hueWidget ) ;
2018-07-13 09:02:14 +00:00
hueSpinBox - > setObjectName ( QString : : fromUtf8 ( " hueSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
hueSpinBox - > setKeyboardTracking ( false ) ;
hueSpinBox - > setMaximum ( 359 ) ;
vboxLayout2 - > addWidget ( hueSpinBox ) ;
saturationWidget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
saturationWidget - > setObjectName ( QString : : fromUtf8 ( " saturationWidget " ) ) ;
2011-04-27 10:05:43 +00:00
saturationWidget - > setGeometry ( QRect ( 279 , 362 , 73 , 23 ) ) ;
vboxLayout3 = new QVBoxLayout ( saturationWidget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout3 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout3 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout3 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
saturationSpinBox = new QSpinBox ( saturationWidget ) ;
2018-07-13 09:02:14 +00:00
saturationSpinBox - > setObjectName ( QString : : fromUtf8 ( " saturationSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
saturationSpinBox - > setKeyboardTracking ( false ) ;
saturationSpinBox - > setMaximum ( 255 ) ;
vboxLayout3 - > addWidget ( saturationSpinBox ) ;
valueWidget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
valueWidget - > setObjectName ( QString : : fromUtf8 ( " valueWidget " ) ) ;
2011-04-27 10:05:43 +00:00
valueWidget - > setGeometry ( QRect ( 279 , 391 , 73 , 23 ) ) ;
vboxLayout4 = new QVBoxLayout ( valueWidget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout4 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout4 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout4 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
valueSpinBox = new QSpinBox ( valueWidget ) ;
2018-07-13 09:02:14 +00:00
valueSpinBox - > setObjectName ( QString : : fromUtf8 ( " valueSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
valueSpinBox - > setKeyboardTracking ( false ) ;
valueSpinBox - > setMaximum ( 255 ) ;
vboxLayout4 - > addWidget ( valueSpinBox ) ;
alphaWidget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
alphaWidget - > setObjectName ( QString : : fromUtf8 ( " alphaWidget " ) ) ;
2011-04-27 10:05:43 +00:00
alphaWidget - > setGeometry ( QRect ( 279 , 420 , 73 , 23 ) ) ;
vboxLayout5 = new QVBoxLayout ( alphaWidget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout5 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout5 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout5 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
alphaSpinBox = new QSpinBox ( alphaWidget ) ;
2018-07-13 09:02:14 +00:00
alphaSpinBox - > setObjectName ( QString : : fromUtf8 ( " alphaSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
alphaSpinBox - > setKeyboardTracking ( false ) ;
alphaSpinBox - > setMaximum ( 255 ) ;
vboxLayout5 - > addWidget ( alphaSpinBox ) ;
zoomWidget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
zoomWidget - > setObjectName ( QString : : fromUtf8 ( " zoomWidget " ) ) ;
2011-04-27 10:05:43 +00:00
zoomWidget - > setGeometry ( QRect ( 279 , 231 , 73 , 23 ) ) ;
vboxLayout6 = new QVBoxLayout ( zoomWidget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout6 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout6 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout6 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
zoomSpinBox = new QSpinBox ( zoomWidget ) ;
2018-07-13 09:02:14 +00:00
zoomSpinBox - > setObjectName ( QString : : fromUtf8 ( " zoomSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
zoomSpinBox - > setKeyboardTracking ( false ) ;
zoomSpinBox - > setMinimum ( 100 ) ;
zoomSpinBox - > setMaximum ( 10000 ) ;
zoomSpinBox - > setSingleStep ( 100 ) ;
zoomSpinBox - > setValue ( 100 ) ;
vboxLayout6 - > addWidget ( zoomSpinBox ) ;
line1Widget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
line1Widget - > setObjectName ( QString : : fromUtf8 ( " line1Widget " ) ) ;
2011-04-27 10:05:43 +00:00
line1Widget - > setGeometry ( QRect ( 209 , 219 , 143 , 16 ) ) ;
vboxLayout7 = new QVBoxLayout ( line1Widget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout7 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout7 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout7 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
line1 = new QFrame ( line1Widget ) ;
2018-07-13 09:02:14 +00:00
line1 - > setObjectName ( QString : : fromUtf8 ( " line1 " ) ) ;
2011-04-27 10:05:43 +00:00
line1 - > setFrameShape ( QFrame : : HLine ) ;
line1 - > setFrameShadow ( QFrame : : Sunken ) ;
vboxLayout7 - > addWidget ( line1 ) ;
line2Widget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
line2Widget - > setObjectName ( QString : : fromUtf8 ( " line2Widget " ) ) ;
2011-04-27 10:05:43 +00:00
line2Widget - > setGeometry ( QRect ( 209 , 292 , 143 , 16 ) ) ;
vboxLayout8 = new QVBoxLayout ( line2Widget ) ;
2018-07-13 09:02:14 +00:00
vboxLayout8 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout8 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout8 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
line2 = new QFrame ( line2Widget ) ;
2018-07-13 09:02:14 +00:00
line2 - > setObjectName ( QString : : fromUtf8 ( " line2 " ) ) ;
2011-04-27 10:05:43 +00:00
line2 - > setFrameShape ( QFrame : : HLine ) ;
line2 - > setFrameShadow ( QFrame : : Sunken ) ;
vboxLayout8 - > addWidget ( line2 ) ;
zoomButtonsWidget = new QWidget ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
zoomButtonsWidget - > setObjectName ( QString : : fromUtf8 ( " zoomButtonsWidget " ) ) ;
2011-04-27 10:05:43 +00:00
zoomButtonsWidget - > setGeometry ( QRect ( 209 , 260 , 64 , 26 ) ) ;
QSizePolicy sizePolicy6 ( QSizePolicy : : Maximum , QSizePolicy : : Preferred ) ;
sizePolicy6 . setHorizontalStretch ( 0 ) ;
sizePolicy6 . setVerticalStretch ( 0 ) ;
sizePolicy6 . setHeightForWidth ( zoomButtonsWidget - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
zoomButtonsWidget - > setSizePolicy ( sizePolicy6 ) ;
hboxLayout4 = new QHBoxLayout ( zoomButtonsWidget ) ;
2018-07-13 09:02:14 +00:00
hboxLayout4 - > setObjectName ( QString : : fromUtf8 ( " hboxLayout4 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout4 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
zoomInButton = new QToolButton ( zoomButtonsWidget ) ;
2018-07-13 09:02:14 +00:00
zoomInButton - > setObjectName ( QString : : fromUtf8 ( " zoomInButton " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout4 - > addWidget ( zoomInButton ) ;
zoomOutButton = new QToolButton ( zoomButtonsWidget ) ;
2018-07-13 09:02:14 +00:00
zoomOutButton - > setObjectName ( QString : : fromUtf8 ( " zoomOutButton " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout4 - > addWidget ( zoomOutButton ) ;
spacerItem = new QSpacerItem ( 0 , 20 , QSizePolicy : : Expanding , QSizePolicy : : Minimum ) ;
hboxLayout4 - > addItem ( spacerItem ) ;
detailsButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
detailsButton - > setObjectName ( QString : : fromUtf8 ( " detailsButton " ) ) ;
2011-04-27 10:05:43 +00:00
detailsButton - > setGeometry ( QRect ( 176 , 40 , 25 , 22 ) ) ;
QSizePolicy sizePolicy7 ( QSizePolicy : : Fixed , QSizePolicy : : Ignored ) ;
sizePolicy7 . setHorizontalStretch ( 0 ) ;
sizePolicy7 . setVerticalStretch ( 0 ) ;
sizePolicy7 . setHeightForWidth ( detailsButton - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
detailsButton - > setSizePolicy ( sizePolicy7 ) ;
detailsButton - > setCheckable ( true ) ;
detailsButton - > setAutoRaise ( true ) ;
linearButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
linearButton - > setObjectName ( QString : : fromUtf8 ( " linearButton " ) ) ;
2011-04-27 10:05:43 +00:00
linearButton - > setGeometry ( QRect ( 10 , 10 , 30 , 26 ) ) ;
linearButton - > setCheckable ( true ) ;
linearButton - > setAutoRaise ( true ) ;
radialButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
radialButton - > setObjectName ( QString : : fromUtf8 ( " radialButton " ) ) ;
2011-04-27 10:05:43 +00:00
radialButton - > setGeometry ( QRect ( 40 , 10 , 30 , 26 ) ) ;
radialButton - > setCheckable ( true ) ;
radialButton - > setAutoRaise ( true ) ;
conicalButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
conicalButton - > setObjectName ( QString : : fromUtf8 ( " conicalButton " ) ) ;
2011-04-27 10:05:43 +00:00
conicalButton - > setGeometry ( QRect ( 70 , 10 , 30 , 26 ) ) ;
conicalButton - > setCheckable ( true ) ;
conicalButton - > setAutoRaise ( true ) ;
padButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
padButton - > setObjectName ( QString : : fromUtf8 ( " padButton " ) ) ;
2011-04-27 10:05:43 +00:00
padButton - > setGeometry ( QRect ( 110 , 10 , 30 , 26 ) ) ;
padButton - > setCheckable ( true ) ;
padButton - > setAutoRaise ( true ) ;
repeatButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
repeatButton - > setObjectName ( QString : : fromUtf8 ( " repeatButton " ) ) ;
2011-04-27 10:05:43 +00:00
repeatButton - > setGeometry ( QRect ( 140 , 10 , 30 , 26 ) ) ;
repeatButton - > setCheckable ( true ) ;
repeatButton - > setAutoRaise ( true ) ;
reflectButton = new QToolButton ( QtGradientEditor ) ;
2018-07-13 09:02:14 +00:00
reflectButton - > setObjectName ( QString : : fromUtf8 ( " reflectButton " ) ) ;
2011-04-27 10:05:43 +00:00
reflectButton - > setGeometry ( QRect ( 170 , 10 , 30 , 26 ) ) ;
reflectButton - > setCheckable ( true ) ;
reflectButton - > setAutoRaise ( true ) ;
QWidget : : setTabOrder ( typeComboBox , spreadComboBox ) ;
QWidget : : setTabOrder ( spreadComboBox , detailsButton ) ;
QWidget : : setTabOrder ( detailsButton , spinBox1 ) ;
QWidget : : setTabOrder ( spinBox1 , spinBox2 ) ;
QWidget : : setTabOrder ( spinBox2 , spinBox3 ) ;
QWidget : : setTabOrder ( spinBox3 , spinBox4 ) ;
QWidget : : setTabOrder ( spinBox4 , spinBox5 ) ;
QWidget : : setTabOrder ( spinBox5 , zoomSpinBox ) ;
QWidget : : setTabOrder ( zoomSpinBox , zoomInButton ) ;
QWidget : : setTabOrder ( zoomInButton , zoomOutButton ) ;
QWidget : : setTabOrder ( zoomOutButton , zoomAllButton ) ;
QWidget : : setTabOrder ( zoomAllButton , colorButton ) ;
QWidget : : setTabOrder ( colorButton , hsvRadioButton ) ;
QWidget : : setTabOrder ( hsvRadioButton , rgbRadioButton ) ;
QWidget : : setTabOrder ( rgbRadioButton , positionSpinBox ) ;
QWidget : : setTabOrder ( positionSpinBox , hueSpinBox ) ;
QWidget : : setTabOrder ( hueSpinBox , saturationSpinBox ) ;
QWidget : : setTabOrder ( saturationSpinBox , valueSpinBox ) ;
QWidget : : setTabOrder ( valueSpinBox , alphaSpinBox ) ;
retranslateUi ( QtGradientEditor ) ;
QMetaObject : : connectSlotsByName ( QtGradientEditor ) ;
} // setupUi
void retranslateUi ( QWidget * QtGradientEditor )
{
2017-08-28 14:42:50 +00:00
QtGradientEditor - > setWindowTitle ( QApplication : : translate ( " QtGradientEditor " , " Form " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
gradientWidget - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Gradient Editor " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
gradientWidget - > setWhatsThis ( QApplication : : translate ( " QtGradientEditor " , " This area shows a preview of the gradient being edited. It also allows you to edit parameters specific to the gradient's type such as start and final point, radius, etc. by drag & drop. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
label1 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 1 " , nullptr ) ) ;
label2 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 2 " , nullptr ) ) ;
label3 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 3 " , nullptr ) ) ;
label4 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 4 " , nullptr ) ) ;
label5 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 5 " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
gradientStopsWidget - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Gradient Stops Editor " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
gradientStopsWidget - > setWhatsThis ( QApplication : : translate ( " QtGradientEditor " , " This area allows you to edit gradient stops. Double click on the existing stop handle to duplicate it. Double click outside of the existing stop handles to create a new stop. Drag & drop the handle to reposition it. Use right mouse button to popup context menu with extra actions. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
zoomLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Zoom " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
zoomAllButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Reset Zoom " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
zoomAllButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " Reset Zoom " , nullptr ) ) ;
positionLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Position " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
hLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Hue " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
hLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " H " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
hueColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Hue " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
hueLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Hue " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
sLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Saturation " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
sLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " S " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
saturationColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Saturation " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
saturationLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Sat " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
vLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Value " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
vLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " V " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
valueColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Value " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
valueLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Val " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
aLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Alpha " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
aLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " A " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
alphaColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Alpha " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
alphaLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Alpha " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
typeComboBox - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Type " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
spreadComboBox - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Spread " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
colorLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Color " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
colorButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Current stop's color " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
colorButton - > setText ( QString ( ) ) ;
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
hsvRadioButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Show HSV specification " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
hsvRadioButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " HSV " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
rgbRadioButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Show RGB specification " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
rgbRadioButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " RGB " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
positionSpinBox - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Current stop's position " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
zoomSpinBox - > setSuffix ( QApplication : : translate ( " QtGradientEditor " , " % " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
zoomInButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Zoom In " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
zoomOutButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Zoom Out " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
detailsButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Toggle details extension " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
detailsButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " > " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
linearButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Linear Type " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
linearButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
radialButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Radial Type " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
radialButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
conicalButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Conical Type " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
conicalButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
padButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Pad Spread " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
padButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
repeatButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Repeat Spread " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
repeatButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
reflectButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Reflect Spread " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2017-08-28 14:42:50 +00:00
reflectButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
} // retranslateUi
} ;
namespace Ui {
class QtGradientEditor : public Ui_QtGradientEditor { } ;
} // namespace Ui
QT_END_NAMESPACE
# endif // QTGRADIENTEDITOR_H