|
1 /* |
|
2 ********************************************************************* |
|
3 ** |
|
4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
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 'qtgradientviewdialog.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 QTGRADIENTVIEWDIALOG_H |
|
54 #define QTGRADIENTVIEWDIALOG_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 "qtgradientview.h" |
|
65 |
|
66 QT_BEGIN_NAMESPACE |
|
67 |
|
68 class Ui_QtGradientViewDialog |
|
69 { |
|
70 public: |
|
71 QVBoxLayout *vboxLayout; |
|
72 QtGradientView *gradientView; |
|
73 QDialogButtonBox *buttonBox; |
|
74 |
|
75 void setupUi(QDialog *QtGradientViewDialog) |
|
76 { |
|
77 if (QtGradientViewDialog->objectName().isEmpty()) |
|
78 QtGradientViewDialog->setObjectName(QString::fromUtf8("QtGradientViewDialog")); |
|
79 QtGradientViewDialog->resize(178, 72); |
|
80 vboxLayout = new QVBoxLayout(QtGradientViewDialog); |
|
81 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
82 gradientView = new QtGradientView(QtGradientViewDialog); |
|
83 gradientView->setObjectName(QString::fromUtf8("gradientView")); |
|
84 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); |
|
85 sizePolicy.setHorizontalStretch(0); |
|
86 sizePolicy.setVerticalStretch(0); |
|
87 sizePolicy.setHeightForWidth(gradientView->sizePolicy().hasHeightForWidth()); |
|
88 gradientView->setSizePolicy(sizePolicy); |
|
89 |
|
90 vboxLayout->addWidget(gradientView); |
|
91 |
|
92 buttonBox = new QDialogButtonBox(QtGradientViewDialog); |
|
93 buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
|
94 buttonBox->setOrientation(Qt::Horizontal); |
|
95 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
|
96 |
|
97 vboxLayout->addWidget(buttonBox); |
|
98 |
|
99 |
|
100 retranslateUi(QtGradientViewDialog); |
|
101 QObject::connect(buttonBox, SIGNAL(accepted()), QtGradientViewDialog, SLOT(accept())); |
|
102 QObject::connect(buttonBox, SIGNAL(rejected()), QtGradientViewDialog, SLOT(reject())); |
|
103 |
|
104 QMetaObject::connectSlotsByName(QtGradientViewDialog); |
|
105 } // setupUi |
|
106 |
|
107 void retranslateUi(QDialog *QtGradientViewDialog) |
|
108 { |
|
109 QtGradientViewDialog->setWindowTitle(QApplication::translate("QtGradientViewDialog", "Select Gradient", 0, QApplication::UnicodeUTF8)); |
|
110 } // retranslateUi |
|
111 |
|
112 }; |
|
113 |
|
114 namespace Ui { |
|
115 class QtGradientViewDialog: public Ui_QtGradientViewDialog {}; |
|
116 } // namespace Ui |
|
117 |
|
118 QT_END_NAMESPACE |
|
119 |
|
120 #endif // QTGRADIENTVIEWDIALOG_H |