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