author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Wed, 21 Apr 2010 11:15:19 +0300 | |
branch | RCL_3 |
changeset 11 | 25a739ee40f4 |
parent 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2 |
********************************************************************* |
|
3 |
** |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
4 |
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 5 |
** All rights reserved. |
6 |
** Contact: Nokia Corporation (qt-info@nokia.com) |
|
7 |
** |
|
8 |
** This file is part of the autotests of the Qt Toolkit. |
|
9 |
** |
|
10 |
** $QT_BEGIN_LICENSE:LGPL$ |
|
11 |
** No Commercial Usage |
|
12 |
** This file contains pre-release code and may not be distributed. |
|
13 |
** You may use this file in accordance with the terms and conditions |
|
14 |
** contained in the Technology Preview License Agreement accompanying |
|
15 |
** this package. |
|
16 |
** |
|
17 |
** GNU Lesser General Public License Usage |
|
18 |
** Alternatively, this file may be used under the terms of the GNU Lesser |
|
19 |
** General Public License version 2.1 as published by the Free Software |
|
20 |
** Foundation and appearing in the file LICENSE.LGPL included in the |
|
21 |
** packaging of this file. Please review the following information to |
|
22 |
** ensure the GNU Lesser General Public License version 2.1 requirements |
|
23 |
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
24 |
** |
|
25 |
** In addition, as a special exception, Nokia gives you certain additional |
|
26 |
** rights. These rights are described in the Nokia Qt LGPL Exception |
|
27 |
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
28 |
** |
|
29 |
** If you have questions regarding the use of this file, please contact |
|
30 |
** Nokia at qt-info@nokia.com. |
|
31 |
** |
|
32 |
** |
|
33 |
** |
|
34 |
** |
|
35 |
** |
|
36 |
** |
|
37 |
** |
|
38 |
** |
|
39 |
** $QT_END_LICENSE$ |
|
40 |
** |
|
41 |
********************************************************************* |
|
42 |
*/ |
|
43 |
||
44 |
/******************************************************************************** |
|
45 |
** Form generated from reading UI file 'qtgradientdialog.ui' |
|
46 |
** |
|
47 |
** Created: Fri Sep 4 10:17:14 2009 |
|
48 |
** by: Qt User Interface Compiler version 4.6.0 |
|
49 |
** |
|
50 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
51 |
********************************************************************************/ |
|
52 |
||
53 |
#ifndef QTGRADIENTDIALOG_H |
|
54 |
#define QTGRADIENTDIALOG_H |
|
55 |
||
56 |
#include <QtCore/QVariant> |
|
57 |
#include <QtGui/QAction> |
|
58 |
#include <QtGui/QApplication> |
|
59 |
#include <QtGui/QButtonGroup> |
|
60 |
#include <QtGui/QDialog> |
|
61 |
#include <QtGui/QDialogButtonBox> |
|
62 |
#include <QtGui/QHeaderView> |
|
63 |
#include <QtGui/QVBoxLayout> |
|
64 |
#include "qtgradienteditor.h" |
|
65 |
||
66 |
QT_BEGIN_NAMESPACE |
|
67 |
||
68 |
class Ui_QtGradientDialog |
|
69 |
{ |
|
70 |
public: |
|
71 |
QVBoxLayout *vboxLayout; |
|
72 |
QtGradientEditor *gradientEditor; |
|
73 |
QDialogButtonBox *buttonBox; |
|
74 |
||
75 |
void setupUi(QDialog *QtGradientDialog) |
|
76 |
{ |
|
77 |
if (QtGradientDialog->objectName().isEmpty()) |
|
78 |
QtGradientDialog->setObjectName(QString::fromUtf8("QtGradientDialog")); |
|
79 |
QtGradientDialog->resize(178, 81); |
|
80 |
vboxLayout = new QVBoxLayout(QtGradientDialog); |
|
81 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
82 |
gradientEditor = new QtGradientEditor(QtGradientDialog); |
|
83 |
gradientEditor->setObjectName(QString::fromUtf8("gradientEditor")); |
|
84 |
QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); |
|
85 |
sizePolicy.setHorizontalStretch(0); |
|
86 |
sizePolicy.setVerticalStretch(0); |
|
87 |
sizePolicy.setHeightForWidth(gradientEditor->sizePolicy().hasHeightForWidth()); |
|
88 |
gradientEditor->setSizePolicy(sizePolicy); |
|
89 |
||
90 |
vboxLayout->addWidget(gradientEditor); |
|
91 |
||
92 |
buttonBox = new QDialogButtonBox(QtGradientDialog); |
|
93 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
|
94 |
buttonBox->setOrientation(Qt::Horizontal); |
|
95 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok); |
|
96 |
||
97 |
vboxLayout->addWidget(buttonBox); |
|
98 |
||
99 |
||
100 |
retranslateUi(QtGradientDialog); |
|
101 |
QObject::connect(buttonBox, SIGNAL(accepted()), QtGradientDialog, SLOT(accept())); |
|
102 |
QObject::connect(buttonBox, SIGNAL(rejected()), QtGradientDialog, SLOT(reject())); |
|
103 |
||
104 |
QMetaObject::connectSlotsByName(QtGradientDialog); |
|
105 |
} // setupUi |
|
106 |
||
107 |
void retranslateUi(QDialog *QtGradientDialog) |
|
108 |
{ |
|
109 |
QtGradientDialog->setWindowTitle(QApplication::translate("QtGradientDialog", "Edit Gradient", 0, QApplication::UnicodeUTF8)); |
|
110 |
} // retranslateUi |
|
111 |
||
112 |
}; |
|
113 |
||
114 |
namespace Ui { |
|
115 |
class QtGradientDialog: public Ui_QtGradientDialog {}; |
|
116 |
} // namespace Ui |
|
117 |
||
118 |
QT_END_NAMESPACE |
|
119 |
||
120 |
#endif // QTGRADIENTDIALOG_H |