|
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 'previewwidget.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 PREVIEWWIDGET_H |
|
54 #define PREVIEWWIDGET_H |
|
55 |
|
56 #include <QtCore/QVariant> |
|
57 #include <QtGui/QAction> |
|
58 #include <QtGui/QApplication> |
|
59 #include <QtGui/QButtonGroup> |
|
60 #include <QtGui/QCheckBox> |
|
61 #include <QtGui/QComboBox> |
|
62 #include <QtGui/QGridLayout> |
|
63 #include <QtGui/QGroupBox> |
|
64 #include <QtGui/QHBoxLayout> |
|
65 #include <QtGui/QHeaderView> |
|
66 #include <QtGui/QLineEdit> |
|
67 #include <QtGui/QListWidget> |
|
68 #include <QtGui/QProgressBar> |
|
69 #include <QtGui/QPushButton> |
|
70 #include <QtGui/QRadioButton> |
|
71 #include <QtGui/QScrollBar> |
|
72 #include <QtGui/QSlider> |
|
73 #include <QtGui/QSpacerItem> |
|
74 #include <QtGui/QSpinBox> |
|
75 #include <QtGui/QVBoxLayout> |
|
76 #include <QtGui/QWidget> |
|
77 |
|
78 QT_BEGIN_NAMESPACE |
|
79 |
|
80 namespace qdesigner_internal { |
|
81 |
|
82 class Ui_PreviewWidget |
|
83 { |
|
84 public: |
|
85 QGridLayout *gridLayout; |
|
86 QVBoxLayout *vboxLayout; |
|
87 QLineEdit *LineEdit1; |
|
88 QComboBox *ComboBox1; |
|
89 QHBoxLayout *hboxLayout; |
|
90 QSpinBox *SpinBox1; |
|
91 QPushButton *PushButton1; |
|
92 QScrollBar *ScrollBar1; |
|
93 QSlider *Slider1; |
|
94 QListWidget *listWidget; |
|
95 QSpacerItem *spacerItem; |
|
96 QProgressBar *ProgressBar1; |
|
97 QGroupBox *ButtonGroup2; |
|
98 QVBoxLayout *vboxLayout1; |
|
99 QCheckBox *CheckBox1; |
|
100 QCheckBox *CheckBox2; |
|
101 QGroupBox *ButtonGroup1; |
|
102 QVBoxLayout *vboxLayout2; |
|
103 QRadioButton *RadioButton1; |
|
104 QRadioButton *RadioButton2; |
|
105 QRadioButton *RadioButton3; |
|
106 |
|
107 void setupUi(QWidget *qdesigner_internal__PreviewWidget) |
|
108 { |
|
109 if (qdesigner_internal__PreviewWidget->objectName().isEmpty()) |
|
110 qdesigner_internal__PreviewWidget->setObjectName(QString::fromUtf8("qdesigner_internal__PreviewWidget")); |
|
111 qdesigner_internal__PreviewWidget->resize(471, 251); |
|
112 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(1)); |
|
113 sizePolicy.setHorizontalStretch(0); |
|
114 sizePolicy.setVerticalStretch(0); |
|
115 sizePolicy.setHeightForWidth(qdesigner_internal__PreviewWidget->sizePolicy().hasHeightForWidth()); |
|
116 qdesigner_internal__PreviewWidget->setSizePolicy(sizePolicy); |
|
117 gridLayout = new QGridLayout(qdesigner_internal__PreviewWidget); |
|
118 #ifndef Q_OS_MAC |
|
119 gridLayout->setSpacing(6); |
|
120 #endif |
|
121 #ifndef Q_OS_MAC |
|
122 gridLayout->setContentsMargins(9, 9, 9, 9); |
|
123 #endif |
|
124 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
125 vboxLayout = new QVBoxLayout(); |
|
126 #ifndef Q_OS_MAC |
|
127 vboxLayout->setSpacing(6); |
|
128 #endif |
|
129 #ifndef Q_OS_MAC |
|
130 vboxLayout->setContentsMargins(0, 0, 0, 0); |
|
131 #endif |
|
132 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
133 LineEdit1 = new QLineEdit(qdesigner_internal__PreviewWidget); |
|
134 LineEdit1->setObjectName(QString::fromUtf8("LineEdit1")); |
|
135 |
|
136 vboxLayout->addWidget(LineEdit1); |
|
137 |
|
138 ComboBox1 = new QComboBox(qdesigner_internal__PreviewWidget); |
|
139 ComboBox1->setObjectName(QString::fromUtf8("ComboBox1")); |
|
140 |
|
141 vboxLayout->addWidget(ComboBox1); |
|
142 |
|
143 hboxLayout = new QHBoxLayout(); |
|
144 #ifndef Q_OS_MAC |
|
145 hboxLayout->setSpacing(6); |
|
146 #endif |
|
147 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
148 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
149 SpinBox1 = new QSpinBox(qdesigner_internal__PreviewWidget); |
|
150 SpinBox1->setObjectName(QString::fromUtf8("SpinBox1")); |
|
151 |
|
152 hboxLayout->addWidget(SpinBox1); |
|
153 |
|
154 PushButton1 = new QPushButton(qdesigner_internal__PreviewWidget); |
|
155 PushButton1->setObjectName(QString::fromUtf8("PushButton1")); |
|
156 |
|
157 hboxLayout->addWidget(PushButton1); |
|
158 |
|
159 |
|
160 vboxLayout->addLayout(hboxLayout); |
|
161 |
|
162 ScrollBar1 = new QScrollBar(qdesigner_internal__PreviewWidget); |
|
163 ScrollBar1->setObjectName(QString::fromUtf8("ScrollBar1")); |
|
164 ScrollBar1->setOrientation(Qt::Horizontal); |
|
165 |
|
166 vboxLayout->addWidget(ScrollBar1); |
|
167 |
|
168 Slider1 = new QSlider(qdesigner_internal__PreviewWidget); |
|
169 Slider1->setObjectName(QString::fromUtf8("Slider1")); |
|
170 Slider1->setOrientation(Qt::Horizontal); |
|
171 |
|
172 vboxLayout->addWidget(Slider1); |
|
173 |
|
174 listWidget = new QListWidget(qdesigner_internal__PreviewWidget); |
|
175 listWidget->setObjectName(QString::fromUtf8("listWidget")); |
|
176 listWidget->setMaximumSize(QSize(32767, 50)); |
|
177 |
|
178 vboxLayout->addWidget(listWidget); |
|
179 |
|
180 |
|
181 gridLayout->addLayout(vboxLayout, 0, 1, 3, 1); |
|
182 |
|
183 spacerItem = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
184 |
|
185 gridLayout->addItem(spacerItem, 3, 0, 1, 2); |
|
186 |
|
187 ProgressBar1 = new QProgressBar(qdesigner_internal__PreviewWidget); |
|
188 ProgressBar1->setObjectName(QString::fromUtf8("ProgressBar1")); |
|
189 ProgressBar1->setOrientation(Qt::Horizontal); |
|
190 |
|
191 gridLayout->addWidget(ProgressBar1, 2, 0, 1, 1); |
|
192 |
|
193 ButtonGroup2 = new QGroupBox(qdesigner_internal__PreviewWidget); |
|
194 ButtonGroup2->setObjectName(QString::fromUtf8("ButtonGroup2")); |
|
195 vboxLayout1 = new QVBoxLayout(ButtonGroup2); |
|
196 #ifndef Q_OS_MAC |
|
197 vboxLayout1->setSpacing(6); |
|
198 #endif |
|
199 #ifndef Q_OS_MAC |
|
200 vboxLayout1->setContentsMargins(9, 9, 9, 9); |
|
201 #endif |
|
202 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
|
203 CheckBox1 = new QCheckBox(ButtonGroup2); |
|
204 CheckBox1->setObjectName(QString::fromUtf8("CheckBox1")); |
|
205 CheckBox1->setChecked(true); |
|
206 |
|
207 vboxLayout1->addWidget(CheckBox1); |
|
208 |
|
209 CheckBox2 = new QCheckBox(ButtonGroup2); |
|
210 CheckBox2->setObjectName(QString::fromUtf8("CheckBox2")); |
|
211 |
|
212 vboxLayout1->addWidget(CheckBox2); |
|
213 |
|
214 |
|
215 gridLayout->addWidget(ButtonGroup2, 1, 0, 1, 1); |
|
216 |
|
217 ButtonGroup1 = new QGroupBox(qdesigner_internal__PreviewWidget); |
|
218 ButtonGroup1->setObjectName(QString::fromUtf8("ButtonGroup1")); |
|
219 vboxLayout2 = new QVBoxLayout(ButtonGroup1); |
|
220 #ifndef Q_OS_MAC |
|
221 vboxLayout2->setSpacing(6); |
|
222 #endif |
|
223 #ifndef Q_OS_MAC |
|
224 vboxLayout2->setContentsMargins(9, 9, 9, 9); |
|
225 #endif |
|
226 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
|
227 RadioButton1 = new QRadioButton(ButtonGroup1); |
|
228 RadioButton1->setObjectName(QString::fromUtf8("RadioButton1")); |
|
229 RadioButton1->setChecked(true); |
|
230 |
|
231 vboxLayout2->addWidget(RadioButton1); |
|
232 |
|
233 RadioButton2 = new QRadioButton(ButtonGroup1); |
|
234 RadioButton2->setObjectName(QString::fromUtf8("RadioButton2")); |
|
235 |
|
236 vboxLayout2->addWidget(RadioButton2); |
|
237 |
|
238 RadioButton3 = new QRadioButton(ButtonGroup1); |
|
239 RadioButton3->setObjectName(QString::fromUtf8("RadioButton3")); |
|
240 |
|
241 vboxLayout2->addWidget(RadioButton3); |
|
242 |
|
243 |
|
244 gridLayout->addWidget(ButtonGroup1, 0, 0, 1, 1); |
|
245 |
|
246 |
|
247 retranslateUi(qdesigner_internal__PreviewWidget); |
|
248 |
|
249 QMetaObject::connectSlotsByName(qdesigner_internal__PreviewWidget); |
|
250 } // setupUi |
|
251 |
|
252 void retranslateUi(QWidget *qdesigner_internal__PreviewWidget) |
|
253 { |
|
254 qdesigner_internal__PreviewWidget->setWindowTitle(QApplication::translate("qdesigner_internal::PreviewWidget", "Preview Window", 0, QApplication::UnicodeUTF8)); |
|
255 LineEdit1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "LineEdit", 0, QApplication::UnicodeUTF8)); |
|
256 ComboBox1->clear(); |
|
257 ComboBox1->insertItems(0, QStringList() |
|
258 << QApplication::translate("qdesigner_internal::PreviewWidget", "ComboBox", 0, QApplication::UnicodeUTF8) |
|
259 ); |
|
260 PushButton1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "PushButton", 0, QApplication::UnicodeUTF8)); |
|
261 ButtonGroup2->setTitle(QApplication::translate("qdesigner_internal::PreviewWidget", "ButtonGroup2", 0, QApplication::UnicodeUTF8)); |
|
262 CheckBox1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "CheckBox1", 0, QApplication::UnicodeUTF8)); |
|
263 CheckBox2->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "CheckBox2", 0, QApplication::UnicodeUTF8)); |
|
264 ButtonGroup1->setTitle(QApplication::translate("qdesigner_internal::PreviewWidget", "ButtonGroup", 0, QApplication::UnicodeUTF8)); |
|
265 RadioButton1->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "RadioButton1", 0, QApplication::UnicodeUTF8)); |
|
266 RadioButton2->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "RadioButton2", 0, QApplication::UnicodeUTF8)); |
|
267 RadioButton3->setText(QApplication::translate("qdesigner_internal::PreviewWidget", "RadioButton3", 0, QApplication::UnicodeUTF8)); |
|
268 } // retranslateUi |
|
269 |
|
270 }; |
|
271 |
|
272 } // namespace qdesigner_internal |
|
273 |
|
274 namespace qdesigner_internal { |
|
275 namespace Ui { |
|
276 class PreviewWidget: public Ui_PreviewWidget {}; |
|
277 } // namespace Ui |
|
278 } // namespace qdesigner_internal |
|
279 |
|
280 QT_END_NAMESPACE |
|
281 |
|
282 #endif // PREVIEWWIDGET_H |