2011-04-27 10:05:43 +00:00
/*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
2012-01-05 04:03:39 +00:00
* * Copyright ( C ) 2012 Nokia Corporation and / or its subsidiary ( - ies ) .
2012-01-20 03:06:31 +00:00
* * Contact : http : //www.qt-project.org/
2011-04-27 10:05:43 +00:00
* *
* * This file is part of the test suite of the Qt Toolkit .
* *
* * $ QT_BEGIN_LICENSE : LGPL $
* * GNU Lesser General Public License Usage
2011-05-24 09:34:08 +00:00
* * This file may be used under the terms of the GNU Lesser General Public
* * License version 2.1 as published by the Free Software Foundation and
* * appearing in the file LICENSE . LGPL included in the packaging of this
* * file . Please review the following information to ensure the GNU Lesser
* * General Public License version 2.1 requirements will be met :
* * http : //www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
2011-04-27 10:05:43 +00:00
* *
* * In addition , as a special exception , Nokia gives you certain additional
2011-05-24 09:34:08 +00:00
* * rights . These rights are described in the Nokia Qt LGPL Exception
2011-04-27 10:05:43 +00:00
* * version 1.1 , included in the file LGPL_EXCEPTION . txt in this package .
* *
2011-05-24 09:34:08 +00:00
* * GNU General Public License Usage
* * Alternatively , this file may be used under the terms of the GNU General
* * Public License version 3.0 as published by the Free Software Foundation
* * and appearing in the file LICENSE . GPL included in the packaging of this
* * file . Please review the following information to ensure the GNU General
* * Public License version 3.0 requirements will be met :
* * http : //www.gnu.org/copyleft/gpl.html.
* *
* * Other Usage
* * Alternatively , this file may be used in accordance with the terms and
* * conditions contained in a signed written agreement between you and Nokia .
2011-04-27 10:05:43 +00:00
* *
* *
* *
* *
* *
2012-01-24 06:17:24 +00:00
* *
2011-04-27 10:05:43 +00:00
* * $ QT_END_LICENSE $
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
/********************************************************************************
* * Form generated from reading UI file ' qtgradienteditor . ui '
* *
* * Created : Fri Sep 4 10 : 17 : 14 2009
* * by : Qt User Interface Compiler version 4.6 .0
* *
* * 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/QAction>
# include <QtWidgets/QApplication>
# include <QtWidgets/QButtonGroup>
# include <QtWidgets/QComboBox>
# include <QtWidgets/QDoubleSpinBox>
# include <QtWidgets/QFrame>
# include <QtWidgets/QHBoxLayout>
# include <QtWidgets/QHeaderView>
# 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 ( ) )
2011-12-11 15:55:01 +00:00
QtGradientEditor - > setObjectName ( QStringLiteral ( " QtGradientEditor " ) ) ;
2011-04-27 10:05:43 +00:00
QtGradientEditor - > resize ( 364 , 518 ) ;
frame = new QFrame ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
frame - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
vboxLayout - > setObjectName ( QStringLiteral ( " vboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
gradientWidget = new QtGradientWidget ( frame ) ;
2011-12-11 15:55:01 +00:00
gradientWidget - > setObjectName ( QStringLiteral ( " gradientWidget " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy . setHeightForWidth ( gradientWidget - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
gradientWidget - > setSizePolicy ( sizePolicy ) ;
vboxLayout - > addWidget ( gradientWidget ) ;
label1 = new QLabel ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
label1 - > setObjectName ( QStringLiteral ( " label1 " ) ) ;
2011-04-27 10:05:43 +00:00
label1 - > setGeometry ( QRect ( 209 , 69 , 64 , 23 ) ) ;
spinBox1 = new QDoubleSpinBox ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
spinBox1 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
label2 - > setObjectName ( QStringLiteral ( " label2 " ) ) ;
2011-04-27 10:05:43 +00:00
label2 - > setGeometry ( QRect ( 209 , 99 , 64 , 23 ) ) ;
spinBox2 = new QDoubleSpinBox ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
spinBox2 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
label3 - > setObjectName ( QStringLiteral ( " label3 " ) ) ;
2011-04-27 10:05:43 +00:00
label3 - > setGeometry ( QRect ( 209 , 129 , 64 , 23 ) ) ;
spinBox3 = new QDoubleSpinBox ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
spinBox3 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
label4 - > setObjectName ( QStringLiteral ( " label4 " ) ) ;
2011-04-27 10:05:43 +00:00
label4 - > setGeometry ( QRect ( 209 , 159 , 64 , 23 ) ) ;
spinBox4 = new QDoubleSpinBox ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
spinBox4 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
label5 - > setObjectName ( QStringLiteral ( " label5 " ) ) ;
2011-04-27 10:05:43 +00:00
label5 - > setGeometry ( QRect ( 209 , 189 , 64 , 23 ) ) ;
spinBox5 = new QDoubleSpinBox ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
spinBox5 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
gradientStopsWidget - > setObjectName ( QStringLiteral ( " gradientStopsWidget " ) ) ;
2011-04-27 10:05:43 +00:00
gradientStopsWidget - > setGeometry ( QRect ( 10 , 225 , 193 , 67 ) ) ;
zoomLabel = new QLabel ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
zoomLabel - > setObjectName ( QStringLiteral ( " zoomLabel " ) ) ;
2011-04-27 10:05:43 +00:00
zoomLabel - > setGeometry ( QRect ( 209 , 231 , 64 , 23 ) ) ;
zoomAllButton = new QToolButton ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
zoomAllButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
positionLabel - > setObjectName ( QStringLiteral ( " positionLabel " ) ) ;
2011-04-27 10:05:43 +00:00
positionLabel - > setGeometry ( QRect ( 209 , 304 , 64 , 23 ) ) ;
hLabel = new QLabel ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
hLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
frame_2 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
hboxLayout - > setObjectName ( QStringLiteral ( " hboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
hueColorLine = new QtColorLine ( frame_2 ) ;
2011-12-11 15:55:01 +00:00
hueColorLine - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
hueLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
sLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
frame_5 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
hboxLayout1 - > setObjectName ( QStringLiteral ( " hboxLayout1 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout1 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
saturationColorLine = new QtColorLine ( frame_5 ) ;
2011-12-11 15:55:01 +00:00
saturationColorLine - > setObjectName ( QStringLiteral ( " saturationColorLine " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy3 . setHeightForWidth ( saturationColorLine - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
saturationColorLine - > setSizePolicy ( sizePolicy3 ) ;
hboxLayout1 - > addWidget ( saturationColorLine ) ;
saturationLabel = new QLabel ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
saturationLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
vLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
frame_3 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
hboxLayout2 - > setObjectName ( QStringLiteral ( " hboxLayout2 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout2 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
valueColorLine = new QtColorLine ( frame_3 ) ;
2011-12-11 15:55:01 +00:00
valueColorLine - > setObjectName ( QStringLiteral ( " valueColorLine " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy3 . setHeightForWidth ( valueColorLine - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
valueColorLine - > setSizePolicy ( sizePolicy3 ) ;
hboxLayout2 - > addWidget ( valueColorLine ) ;
valueLabel = new QLabel ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
valueLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
aLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
frame_4 - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
hboxLayout3 - > setObjectName ( QStringLiteral ( " hboxLayout3 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout3 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
alphaColorLine = new QtColorLine ( frame_4 ) ;
2011-12-11 15:55:01 +00:00
alphaColorLine - > setObjectName ( QStringLiteral ( " alphaColorLine " ) ) ;
2011-04-27 10:05:43 +00:00
sizePolicy3 . setHeightForWidth ( alphaColorLine - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
alphaColorLine - > setSizePolicy ( sizePolicy3 ) ;
hboxLayout3 - > addWidget ( alphaColorLine ) ;
alphaLabel = new QLabel ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
alphaLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
typeComboBox - > setObjectName ( QStringLiteral ( " typeComboBox " ) ) ;
2011-04-27 10:05:43 +00:00
typeComboBox - > setGeometry ( QRect ( 10 , 40 , 79 , 22 ) ) ;
spreadComboBox = new QComboBox ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
spreadComboBox - > setObjectName ( QStringLiteral ( " spreadComboBox " ) ) ;
2011-04-27 10:05:43 +00:00
spreadComboBox - > setGeometry ( QRect ( 96 , 40 , 72 , 22 ) ) ;
colorLabel = new QLabel ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
colorLabel - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
colorButton - > setObjectName ( QStringLiteral ( " colorButton " ) ) ;
2011-04-27 10:05:43 +00:00
colorButton - > setGeometry ( QRect ( 48 , 300 , 26 , 25 ) ) ;
hsvRadioButton = new QRadioButton ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
hsvRadioButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
rgbRadioButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
positionWidget - > setObjectName ( QStringLiteral ( " positionWidget " ) ) ;
2011-04-27 10:05:43 +00:00
positionWidget - > setGeometry ( QRect ( 279 , 304 , 73 , 23 ) ) ;
vboxLayout1 = new QVBoxLayout ( positionWidget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout1 - > setObjectName ( QStringLiteral ( " vboxLayout1 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout1 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
positionSpinBox = new QDoubleSpinBox ( positionWidget ) ;
2011-12-11 15:55:01 +00:00
positionSpinBox - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
hueWidget - > setObjectName ( QStringLiteral ( " hueWidget " ) ) ;
2011-04-27 10:05:43 +00:00
hueWidget - > setGeometry ( QRect ( 279 , 333 , 73 , 23 ) ) ;
vboxLayout2 = new QVBoxLayout ( hueWidget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout2 - > setObjectName ( QStringLiteral ( " vboxLayout2 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout2 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
hueSpinBox = new QSpinBox ( hueWidget ) ;
2011-12-11 15:55:01 +00:00
hueSpinBox - > setObjectName ( QStringLiteral ( " hueSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
hueSpinBox - > setKeyboardTracking ( false ) ;
hueSpinBox - > setMaximum ( 359 ) ;
vboxLayout2 - > addWidget ( hueSpinBox ) ;
saturationWidget = new QWidget ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
saturationWidget - > setObjectName ( QStringLiteral ( " saturationWidget " ) ) ;
2011-04-27 10:05:43 +00:00
saturationWidget - > setGeometry ( QRect ( 279 , 362 , 73 , 23 ) ) ;
vboxLayout3 = new QVBoxLayout ( saturationWidget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout3 - > setObjectName ( QStringLiteral ( " vboxLayout3 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout3 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
saturationSpinBox = new QSpinBox ( saturationWidget ) ;
2011-12-11 15:55:01 +00:00
saturationSpinBox - > setObjectName ( QStringLiteral ( " saturationSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
saturationSpinBox - > setKeyboardTracking ( false ) ;
saturationSpinBox - > setMaximum ( 255 ) ;
vboxLayout3 - > addWidget ( saturationSpinBox ) ;
valueWidget = new QWidget ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
valueWidget - > setObjectName ( QStringLiteral ( " valueWidget " ) ) ;
2011-04-27 10:05:43 +00:00
valueWidget - > setGeometry ( QRect ( 279 , 391 , 73 , 23 ) ) ;
vboxLayout4 = new QVBoxLayout ( valueWidget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout4 - > setObjectName ( QStringLiteral ( " vboxLayout4 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout4 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
valueSpinBox = new QSpinBox ( valueWidget ) ;
2011-12-11 15:55:01 +00:00
valueSpinBox - > setObjectName ( QStringLiteral ( " valueSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
valueSpinBox - > setKeyboardTracking ( false ) ;
valueSpinBox - > setMaximum ( 255 ) ;
vboxLayout4 - > addWidget ( valueSpinBox ) ;
alphaWidget = new QWidget ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
alphaWidget - > setObjectName ( QStringLiteral ( " alphaWidget " ) ) ;
2011-04-27 10:05:43 +00:00
alphaWidget - > setGeometry ( QRect ( 279 , 420 , 73 , 23 ) ) ;
vboxLayout5 = new QVBoxLayout ( alphaWidget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout5 - > setObjectName ( QStringLiteral ( " vboxLayout5 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout5 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
alphaSpinBox = new QSpinBox ( alphaWidget ) ;
2011-12-11 15:55:01 +00:00
alphaSpinBox - > setObjectName ( QStringLiteral ( " alphaSpinBox " ) ) ;
2011-04-27 10:05:43 +00:00
alphaSpinBox - > setKeyboardTracking ( false ) ;
alphaSpinBox - > setMaximum ( 255 ) ;
vboxLayout5 - > addWidget ( alphaSpinBox ) ;
zoomWidget = new QWidget ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
zoomWidget - > setObjectName ( QStringLiteral ( " zoomWidget " ) ) ;
2011-04-27 10:05:43 +00:00
zoomWidget - > setGeometry ( QRect ( 279 , 231 , 73 , 23 ) ) ;
vboxLayout6 = new QVBoxLayout ( zoomWidget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout6 - > setObjectName ( QStringLiteral ( " vboxLayout6 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout6 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
zoomSpinBox = new QSpinBox ( zoomWidget ) ;
2011-12-11 15:55:01 +00:00
zoomSpinBox - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
line1Widget - > setObjectName ( QStringLiteral ( " line1Widget " ) ) ;
2011-04-27 10:05:43 +00:00
line1Widget - > setGeometry ( QRect ( 209 , 219 , 143 , 16 ) ) ;
vboxLayout7 = new QVBoxLayout ( line1Widget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout7 - > setObjectName ( QStringLiteral ( " vboxLayout7 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout7 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
line1 = new QFrame ( line1Widget ) ;
2011-12-11 15:55:01 +00:00
line1 - > setObjectName ( QStringLiteral ( " line1 " ) ) ;
2011-04-27 10:05:43 +00:00
line1 - > setFrameShape ( QFrame : : HLine ) ;
line1 - > setFrameShadow ( QFrame : : Sunken ) ;
vboxLayout7 - > addWidget ( line1 ) ;
line2Widget = new QWidget ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
line2Widget - > setObjectName ( QStringLiteral ( " line2Widget " ) ) ;
2011-04-27 10:05:43 +00:00
line2Widget - > setGeometry ( QRect ( 209 , 292 , 143 , 16 ) ) ;
vboxLayout8 = new QVBoxLayout ( line2Widget ) ;
2011-12-11 15:55:01 +00:00
vboxLayout8 - > setObjectName ( QStringLiteral ( " vboxLayout8 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout8 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
line2 = new QFrame ( line2Widget ) ;
2011-12-11 15:55:01 +00:00
line2 - > setObjectName ( QStringLiteral ( " line2 " ) ) ;
2011-04-27 10:05:43 +00:00
line2 - > setFrameShape ( QFrame : : HLine ) ;
line2 - > setFrameShadow ( QFrame : : Sunken ) ;
vboxLayout8 - > addWidget ( line2 ) ;
zoomButtonsWidget = new QWidget ( QtGradientEditor ) ;
2011-12-11 15:55:01 +00:00
zoomButtonsWidget - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
hboxLayout4 - > setObjectName ( QStringLiteral ( " hboxLayout4 " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout4 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
zoomInButton = new QToolButton ( zoomButtonsWidget ) ;
2011-12-11 15:55:01 +00:00
zoomInButton - > setObjectName ( QStringLiteral ( " zoomInButton " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout4 - > addWidget ( zoomInButton ) ;
zoomOutButton = new QToolButton ( zoomButtonsWidget ) ;
2011-12-11 15:55:01 +00:00
zoomOutButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
detailsButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
linearButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
radialButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
conicalButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
padButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
repeatButton - > setObjectName ( QStringLiteral ( " 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 ) ;
2011-12-11 15:55:01 +00:00
reflectButton - > setObjectName ( QStringLiteral ( " 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 )
{
2012-05-17 00:37:23 +00:00
QtGradientEditor - > setWindowTitle ( QApplication : : translate ( " QtGradientEditor " , " Form " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
gradientWidget - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Gradient Editor " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_WHATSTHIS
2012-05-17 00:37:23 +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. " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2012-05-17 00:37:23 +00:00
label1 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 1 " , 0 ) ) ;
label2 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 2 " , 0 ) ) ;
label3 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 3 " , 0 ) ) ;
label4 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 4 " , 0 ) ) ;
label5 - > setText ( QApplication : : translate ( " QtGradientEditor " , " 5 " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
gradientStopsWidget - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Gradient Stops Editor " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_WHATSTHIS
2012-05-17 00:37:23 +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. " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2012-05-17 00:37:23 +00:00
zoomLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Zoom " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
zoomAllButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Reset Zoom " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
zoomAllButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " Reset Zoom " , 0 ) ) ;
positionLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Position " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
hLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Hue " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
hLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " H " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
hueColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Hue " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
hueLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Hue " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
sLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Saturation " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
sLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " S " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
saturationColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Saturation " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
saturationLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Sat " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
vLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Value " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
vLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " V " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
valueColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Value " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
valueLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Val " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
aLabel - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Alpha " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
aLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " A " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
alphaColorLine - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Alpha " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
alphaLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Alpha " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
typeComboBox - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Type " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
spreadComboBox - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Spread " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
colorLabel - > setText ( QApplication : : translate ( " QtGradientEditor " , " Color " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
colorButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Current stop's color " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
colorButton - > setText ( QString ( ) ) ;
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
hsvRadioButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Show HSV specification " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
hsvRadioButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " HSV " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
rgbRadioButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Show RGB specification " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
rgbRadioButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " RGB " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
positionSpinBox - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Current stop's position " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
zoomSpinBox - > setSuffix ( QApplication : : translate ( " QtGradientEditor " , " % " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
zoomInButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Zoom In " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
zoomOutButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Zoom Out " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
detailsButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Toggle details extension " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
detailsButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " > " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
linearButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Linear Type " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
linearButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
radialButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Radial Type " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
radialButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
conicalButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Conical Type " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
conicalButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
padButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Pad Spread " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
padButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
repeatButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Repeat Spread " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
repeatButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
reflectButton - > setToolTip ( QApplication : : translate ( " QtGradientEditor " , " Reflect Spread " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_TOOLTIP
2012-05-17 00:37:23 +00:00
reflectButton - > setText ( QApplication : : translate ( " QtGradientEditor " , " ... " , 0 ) ) ;
2011-04-27 10:05:43 +00:00
} // retranslateUi
} ;
namespace Ui {
class QtGradientEditor : public Ui_QtGradientEditor { } ;
} // namespace Ui
QT_END_NAMESPACE
# endif // QTGRADIENTEDITOR_H