|
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 'formwindowsettings.ui' |
|
46 ** |
|
47 ** Created: Fri Sep 4 10:17:13 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 FORMWINDOWSETTINGS_H |
|
54 #define FORMWINDOWSETTINGS_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/QFrame> |
|
63 #include <QtGui/QGridLayout> |
|
64 #include <QtGui/QGroupBox> |
|
65 #include <QtGui/QHBoxLayout> |
|
66 #include <QtGui/QHeaderView> |
|
67 #include <QtGui/QLabel> |
|
68 #include <QtGui/QLineEdit> |
|
69 #include <QtGui/QSpacerItem> |
|
70 #include <QtGui/QSpinBox> |
|
71 #include <QtGui/QTextEdit> |
|
72 #include <QtGui/QVBoxLayout> |
|
73 #include <gridpanel_p.h> |
|
74 |
|
75 QT_BEGIN_NAMESPACE |
|
76 |
|
77 class Ui_FormWindowSettings |
|
78 { |
|
79 public: |
|
80 QGridLayout *gridLayout; |
|
81 QDialogButtonBox *buttonBox; |
|
82 QFrame *line; |
|
83 QHBoxLayout *hboxLayout; |
|
84 QGroupBox *layoutDefaultGroupBox; |
|
85 QGridLayout *gridLayout1; |
|
86 QLabel *label_2; |
|
87 QLabel *label; |
|
88 QSpinBox *defaultSpacingSpinBox; |
|
89 QSpinBox *defaultMarginSpinBox; |
|
90 QGroupBox *layoutFunctionGroupBox; |
|
91 QGridLayout *gridLayout2; |
|
92 QLineEdit *spacingFunctionLineEdit; |
|
93 QLineEdit *marginFunctionLineEdit; |
|
94 QLabel *label_3; |
|
95 QLabel *label_3_2; |
|
96 QGroupBox *pixmapFunctionGroupBox_2; |
|
97 QVBoxLayout *vboxLayout; |
|
98 QLineEdit *authorLineEdit; |
|
99 QGroupBox *includeHintsGroupBox; |
|
100 QVBoxLayout *vboxLayout1; |
|
101 QTextEdit *includeHintsTextEdit; |
|
102 QHBoxLayout *hboxLayout1; |
|
103 QGroupBox *pixmapFunctionGroupBox; |
|
104 QVBoxLayout *vboxLayout2; |
|
105 QLineEdit *pixmapFunctionLineEdit; |
|
106 QSpacerItem *spacerItem; |
|
107 qdesigner_internal::GridPanel *gridPanel; |
|
108 |
|
109 void setupUi(QDialog *FormWindowSettings) |
|
110 { |
|
111 if (FormWindowSettings->objectName().isEmpty()) |
|
112 FormWindowSettings->setObjectName(QString::fromUtf8("FormWindowSettings")); |
|
113 FormWindowSettings->resize(433, 465); |
|
114 gridLayout = new QGridLayout(FormWindowSettings); |
|
115 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
116 buttonBox = new QDialogButtonBox(FormWindowSettings); |
|
117 buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
|
118 buttonBox->setOrientation(Qt::Horizontal); |
|
119 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok); |
|
120 |
|
121 gridLayout->addWidget(buttonBox, 6, 0, 1, 2); |
|
122 |
|
123 line = new QFrame(FormWindowSettings); |
|
124 line->setObjectName(QString::fromUtf8("line")); |
|
125 line->setFrameShape(QFrame::HLine); |
|
126 line->setFrameShadow(QFrame::Sunken); |
|
127 |
|
128 gridLayout->addWidget(line, 5, 0, 1, 2); |
|
129 |
|
130 hboxLayout = new QHBoxLayout(); |
|
131 #ifndef Q_OS_MAC |
|
132 hboxLayout->setSpacing(6); |
|
133 #endif |
|
134 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
135 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
136 layoutDefaultGroupBox = new QGroupBox(FormWindowSettings); |
|
137 layoutDefaultGroupBox->setObjectName(QString::fromUtf8("layoutDefaultGroupBox")); |
|
138 layoutDefaultGroupBox->setCheckable(true); |
|
139 gridLayout1 = new QGridLayout(layoutDefaultGroupBox); |
|
140 #ifndef Q_OS_MAC |
|
141 gridLayout1->setSpacing(6); |
|
142 #endif |
|
143 gridLayout1->setContentsMargins(8, 8, 8, 8); |
|
144 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); |
|
145 label_2 = new QLabel(layoutDefaultGroupBox); |
|
146 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
147 |
|
148 gridLayout1->addWidget(label_2, 1, 0, 1, 1); |
|
149 |
|
150 label = new QLabel(layoutDefaultGroupBox); |
|
151 label->setObjectName(QString::fromUtf8("label")); |
|
152 |
|
153 gridLayout1->addWidget(label, 0, 0, 1, 1); |
|
154 |
|
155 defaultSpacingSpinBox = new QSpinBox(layoutDefaultGroupBox); |
|
156 defaultSpacingSpinBox->setObjectName(QString::fromUtf8("defaultSpacingSpinBox")); |
|
157 |
|
158 gridLayout1->addWidget(defaultSpacingSpinBox, 1, 1, 1, 1); |
|
159 |
|
160 defaultMarginSpinBox = new QSpinBox(layoutDefaultGroupBox); |
|
161 defaultMarginSpinBox->setObjectName(QString::fromUtf8("defaultMarginSpinBox")); |
|
162 |
|
163 gridLayout1->addWidget(defaultMarginSpinBox, 0, 1, 1, 1); |
|
164 |
|
165 |
|
166 hboxLayout->addWidget(layoutDefaultGroupBox); |
|
167 |
|
168 layoutFunctionGroupBox = new QGroupBox(FormWindowSettings); |
|
169 layoutFunctionGroupBox->setObjectName(QString::fromUtf8("layoutFunctionGroupBox")); |
|
170 layoutFunctionGroupBox->setCheckable(true); |
|
171 gridLayout2 = new QGridLayout(layoutFunctionGroupBox); |
|
172 #ifndef Q_OS_MAC |
|
173 gridLayout2->setSpacing(6); |
|
174 #endif |
|
175 gridLayout2->setContentsMargins(8, 8, 8, 8); |
|
176 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); |
|
177 spacingFunctionLineEdit = new QLineEdit(layoutFunctionGroupBox); |
|
178 spacingFunctionLineEdit->setObjectName(QString::fromUtf8("spacingFunctionLineEdit")); |
|
179 |
|
180 gridLayout2->addWidget(spacingFunctionLineEdit, 1, 1, 1, 1); |
|
181 |
|
182 marginFunctionLineEdit = new QLineEdit(layoutFunctionGroupBox); |
|
183 marginFunctionLineEdit->setObjectName(QString::fromUtf8("marginFunctionLineEdit")); |
|
184 |
|
185 gridLayout2->addWidget(marginFunctionLineEdit, 0, 1, 1, 1); |
|
186 |
|
187 label_3 = new QLabel(layoutFunctionGroupBox); |
|
188 label_3->setObjectName(QString::fromUtf8("label_3")); |
|
189 |
|
190 gridLayout2->addWidget(label_3, 0, 0, 1, 1); |
|
191 |
|
192 label_3_2 = new QLabel(layoutFunctionGroupBox); |
|
193 label_3_2->setObjectName(QString::fromUtf8("label_3_2")); |
|
194 |
|
195 gridLayout2->addWidget(label_3_2, 1, 0, 1, 1); |
|
196 |
|
197 |
|
198 hboxLayout->addWidget(layoutFunctionGroupBox); |
|
199 |
|
200 |
|
201 gridLayout->addLayout(hboxLayout, 2, 0, 1, 2); |
|
202 |
|
203 pixmapFunctionGroupBox_2 = new QGroupBox(FormWindowSettings); |
|
204 pixmapFunctionGroupBox_2->setObjectName(QString::fromUtf8("pixmapFunctionGroupBox_2")); |
|
205 vboxLayout = new QVBoxLayout(pixmapFunctionGroupBox_2); |
|
206 #ifndef Q_OS_MAC |
|
207 vboxLayout->setSpacing(6); |
|
208 #endif |
|
209 vboxLayout->setContentsMargins(8, 8, 8, 8); |
|
210 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
211 authorLineEdit = new QLineEdit(pixmapFunctionGroupBox_2); |
|
212 authorLineEdit->setObjectName(QString::fromUtf8("authorLineEdit")); |
|
213 |
|
214 vboxLayout->addWidget(authorLineEdit); |
|
215 |
|
216 |
|
217 gridLayout->addWidget(pixmapFunctionGroupBox_2, 0, 0, 1, 2); |
|
218 |
|
219 includeHintsGroupBox = new QGroupBox(FormWindowSettings); |
|
220 includeHintsGroupBox->setObjectName(QString::fromUtf8("includeHintsGroupBox")); |
|
221 vboxLayout1 = new QVBoxLayout(includeHintsGroupBox); |
|
222 #ifndef Q_OS_MAC |
|
223 vboxLayout1->setSpacing(6); |
|
224 #endif |
|
225 vboxLayout1->setContentsMargins(8, 8, 8, 8); |
|
226 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
|
227 includeHintsTextEdit = new QTextEdit(includeHintsGroupBox); |
|
228 includeHintsTextEdit->setObjectName(QString::fromUtf8("includeHintsTextEdit")); |
|
229 |
|
230 vboxLayout1->addWidget(includeHintsTextEdit); |
|
231 |
|
232 |
|
233 gridLayout->addWidget(includeHintsGroupBox, 3, 0, 2, 1); |
|
234 |
|
235 hboxLayout1 = new QHBoxLayout(); |
|
236 #ifndef Q_OS_MAC |
|
237 hboxLayout1->setSpacing(6); |
|
238 #endif |
|
239 hboxLayout1->setContentsMargins(0, 0, 0, 0); |
|
240 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
|
241 pixmapFunctionGroupBox = new QGroupBox(FormWindowSettings); |
|
242 pixmapFunctionGroupBox->setObjectName(QString::fromUtf8("pixmapFunctionGroupBox")); |
|
243 pixmapFunctionGroupBox->setCheckable(true); |
|
244 vboxLayout2 = new QVBoxLayout(pixmapFunctionGroupBox); |
|
245 #ifndef Q_OS_MAC |
|
246 vboxLayout2->setSpacing(6); |
|
247 #endif |
|
248 vboxLayout2->setContentsMargins(8, 8, 8, 8); |
|
249 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
|
250 pixmapFunctionLineEdit = new QLineEdit(pixmapFunctionGroupBox); |
|
251 pixmapFunctionLineEdit->setObjectName(QString::fromUtf8("pixmapFunctionLineEdit")); |
|
252 |
|
253 vboxLayout2->addWidget(pixmapFunctionLineEdit); |
|
254 |
|
255 |
|
256 hboxLayout1->addWidget(pixmapFunctionGroupBox); |
|
257 |
|
258 |
|
259 gridLayout->addLayout(hboxLayout1, 3, 1, 1, 1); |
|
260 |
|
261 spacerItem = new QSpacerItem(111, 115, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
262 |
|
263 gridLayout->addItem(spacerItem, 4, 1, 1, 1); |
|
264 |
|
265 gridPanel = new qdesigner_internal::GridPanel(FormWindowSettings); |
|
266 gridPanel->setObjectName(QString::fromUtf8("gridPanel")); |
|
267 |
|
268 gridLayout->addWidget(gridPanel, 1, 0, 1, 2); |
|
269 |
|
270 #ifndef QT_NO_SHORTCUT |
|
271 label_2->setBuddy(defaultSpacingSpinBox); |
|
272 label->setBuddy(defaultMarginSpinBox); |
|
273 label_3->setBuddy(marginFunctionLineEdit); |
|
274 label_3_2->setBuddy(spacingFunctionLineEdit); |
|
275 #endif // QT_NO_SHORTCUT |
|
276 QWidget::setTabOrder(authorLineEdit, defaultMarginSpinBox); |
|
277 QWidget::setTabOrder(defaultMarginSpinBox, defaultSpacingSpinBox); |
|
278 QWidget::setTabOrder(defaultSpacingSpinBox, marginFunctionLineEdit); |
|
279 QWidget::setTabOrder(marginFunctionLineEdit, spacingFunctionLineEdit); |
|
280 QWidget::setTabOrder(spacingFunctionLineEdit, pixmapFunctionLineEdit); |
|
281 |
|
282 retranslateUi(FormWindowSettings); |
|
283 QObject::connect(buttonBox, SIGNAL(accepted()), FormWindowSettings, SLOT(accept())); |
|
284 QObject::connect(buttonBox, SIGNAL(rejected()), FormWindowSettings, SLOT(reject())); |
|
285 |
|
286 QMetaObject::connectSlotsByName(FormWindowSettings); |
|
287 } // setupUi |
|
288 |
|
289 void retranslateUi(QDialog *FormWindowSettings) |
|
290 { |
|
291 FormWindowSettings->setWindowTitle(QApplication::translate("FormWindowSettings", "Form Settings", 0, QApplication::UnicodeUTF8)); |
|
292 layoutDefaultGroupBox->setTitle(QApplication::translate("FormWindowSettings", "Layout &Default", 0, QApplication::UnicodeUTF8)); |
|
293 label_2->setText(QApplication::translate("FormWindowSettings", "&Spacing:", 0, QApplication::UnicodeUTF8)); |
|
294 label->setText(QApplication::translate("FormWindowSettings", "&Margin:", 0, QApplication::UnicodeUTF8)); |
|
295 layoutFunctionGroupBox->setTitle(QApplication::translate("FormWindowSettings", "&Layout Function", 0, QApplication::UnicodeUTF8)); |
|
296 label_3->setText(QApplication::translate("FormWindowSettings", "Ma&rgin:", 0, QApplication::UnicodeUTF8)); |
|
297 label_3_2->setText(QApplication::translate("FormWindowSettings", "Spa&cing:", 0, QApplication::UnicodeUTF8)); |
|
298 pixmapFunctionGroupBox_2->setTitle(QApplication::translate("FormWindowSettings", "&Author", 0, QApplication::UnicodeUTF8)); |
|
299 includeHintsGroupBox->setTitle(QApplication::translate("FormWindowSettings", "&Include Hints", 0, QApplication::UnicodeUTF8)); |
|
300 pixmapFunctionGroupBox->setTitle(QApplication::translate("FormWindowSettings", "&Pixmap Function", 0, QApplication::UnicodeUTF8)); |
|
301 gridPanel->setTitle(QApplication::translate("FormWindowSettings", "Grid", 0, QApplication::UnicodeUTF8)); |
|
302 } // retranslateUi |
|
303 |
|
304 }; |
|
305 |
|
306 namespace Ui { |
|
307 class FormWindowSettings: public Ui_FormWindowSettings {}; |
|
308 } // namespace Ui |
|
309 |
|
310 QT_END_NAMESPACE |
|
311 |
|
312 #endif // FORMWINDOWSETTINGS_H |