|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'qpagesetupwidget.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:14 2009 |
|
5 ** by: Qt User Interface Compiler version 4.6.0 |
|
6 ** |
|
7 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
8 ********************************************************************************/ |
|
9 |
|
10 #ifndef QPAGESETUPWIDGET_H |
|
11 #define QPAGESETUPWIDGET_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QComboBox> |
|
18 #include <QtGui/QDoubleSpinBox> |
|
19 #include <QtGui/QGridLayout> |
|
20 #include <QtGui/QGroupBox> |
|
21 #include <QtGui/QHBoxLayout> |
|
22 #include <QtGui/QHeaderView> |
|
23 #include <QtGui/QLabel> |
|
24 #include <QtGui/QRadioButton> |
|
25 #include <QtGui/QSpacerItem> |
|
26 #include <QtGui/QVBoxLayout> |
|
27 #include <QtGui/QWidget> |
|
28 |
|
29 QT_BEGIN_NAMESPACE |
|
30 |
|
31 class Ui_QPageSetupWidget |
|
32 { |
|
33 public: |
|
34 QGridLayout *gridLayout_3; |
|
35 QHBoxLayout *horizontalLayout_4; |
|
36 QComboBox *unit; |
|
37 QSpacerItem *horizontalSpacer_3; |
|
38 QGroupBox *groupBox_2; |
|
39 QGridLayout *gridLayout_2; |
|
40 QLabel *pageSizeLabel; |
|
41 QComboBox *paperSize; |
|
42 QLabel *widthLabel; |
|
43 QHBoxLayout *horizontalLayout_3; |
|
44 QDoubleSpinBox *paperWidth; |
|
45 QLabel *heightLabel; |
|
46 QDoubleSpinBox *paperHeight; |
|
47 QLabel *paperSourceLabel; |
|
48 QComboBox *paperSource; |
|
49 QSpacerItem *horizontalSpacer_4; |
|
50 QGroupBox *groupBox_3; |
|
51 QVBoxLayout *verticalLayout; |
|
52 QRadioButton *portrait; |
|
53 QRadioButton *landscape; |
|
54 QRadioButton *reverseLandscape; |
|
55 QRadioButton *reversePortrait; |
|
56 QSpacerItem *verticalSpacer_5; |
|
57 QWidget *preview; |
|
58 QGroupBox *groupBox; |
|
59 QHBoxLayout *horizontalLayout_2; |
|
60 QGridLayout *gridLayout; |
|
61 QDoubleSpinBox *topMargin; |
|
62 QHBoxLayout *horizontalLayout; |
|
63 QSpacerItem *horizontalSpacer_7; |
|
64 QDoubleSpinBox *leftMargin; |
|
65 QSpacerItem *horizontalSpacer; |
|
66 QDoubleSpinBox *rightMargin; |
|
67 QSpacerItem *horizontalSpacer_8; |
|
68 QDoubleSpinBox *bottomMargin; |
|
69 QSpacerItem *horizontalSpacer_2; |
|
70 QSpacerItem *horizontalSpacer_5; |
|
71 QSpacerItem *verticalSpacer; |
|
72 |
|
73 void setupUi(QWidget *QPageSetupWidget) |
|
74 { |
|
75 if (QPageSetupWidget->objectName().isEmpty()) |
|
76 QPageSetupWidget->setObjectName(QString::fromUtf8("QPageSetupWidget")); |
|
77 QPageSetupWidget->resize(416, 488); |
|
78 gridLayout_3 = new QGridLayout(QPageSetupWidget); |
|
79 gridLayout_3->setContentsMargins(0, 0, 0, 0); |
|
80 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3")); |
|
81 horizontalLayout_4 = new QHBoxLayout(); |
|
82 horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); |
|
83 unit = new QComboBox(QPageSetupWidget); |
|
84 unit->setObjectName(QString::fromUtf8("unit")); |
|
85 |
|
86 horizontalLayout_4->addWidget(unit); |
|
87 |
|
88 horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
89 |
|
90 horizontalLayout_4->addItem(horizontalSpacer_3); |
|
91 |
|
92 |
|
93 gridLayout_3->addLayout(horizontalLayout_4, 0, 0, 1, 2); |
|
94 |
|
95 groupBox_2 = new QGroupBox(QPageSetupWidget); |
|
96 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); |
|
97 gridLayout_2 = new QGridLayout(groupBox_2); |
|
98 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); |
|
99 pageSizeLabel = new QLabel(groupBox_2); |
|
100 pageSizeLabel->setObjectName(QString::fromUtf8("pageSizeLabel")); |
|
101 |
|
102 gridLayout_2->addWidget(pageSizeLabel, 0, 0, 1, 1); |
|
103 |
|
104 paperSize = new QComboBox(groupBox_2); |
|
105 paperSize->setObjectName(QString::fromUtf8("paperSize")); |
|
106 |
|
107 gridLayout_2->addWidget(paperSize, 0, 1, 1, 1); |
|
108 |
|
109 widthLabel = new QLabel(groupBox_2); |
|
110 widthLabel->setObjectName(QString::fromUtf8("widthLabel")); |
|
111 |
|
112 gridLayout_2->addWidget(widthLabel, 1, 0, 1, 1); |
|
113 |
|
114 horizontalLayout_3 = new QHBoxLayout(); |
|
115 horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); |
|
116 paperWidth = new QDoubleSpinBox(groupBox_2); |
|
117 paperWidth->setObjectName(QString::fromUtf8("paperWidth")); |
|
118 paperWidth->setMaximum(9999.99); |
|
119 |
|
120 horizontalLayout_3->addWidget(paperWidth); |
|
121 |
|
122 heightLabel = new QLabel(groupBox_2); |
|
123 heightLabel->setObjectName(QString::fromUtf8("heightLabel")); |
|
124 |
|
125 horizontalLayout_3->addWidget(heightLabel); |
|
126 |
|
127 paperHeight = new QDoubleSpinBox(groupBox_2); |
|
128 paperHeight->setObjectName(QString::fromUtf8("paperHeight")); |
|
129 paperHeight->setMaximum(9999.99); |
|
130 |
|
131 horizontalLayout_3->addWidget(paperHeight); |
|
132 |
|
133 |
|
134 gridLayout_2->addLayout(horizontalLayout_3, 1, 1, 1, 1); |
|
135 |
|
136 paperSourceLabel = new QLabel(groupBox_2); |
|
137 paperSourceLabel->setObjectName(QString::fromUtf8("paperSourceLabel")); |
|
138 |
|
139 gridLayout_2->addWidget(paperSourceLabel, 2, 0, 1, 1); |
|
140 |
|
141 paperSource = new QComboBox(groupBox_2); |
|
142 paperSource->setObjectName(QString::fromUtf8("paperSource")); |
|
143 |
|
144 gridLayout_2->addWidget(paperSource, 2, 1, 1, 1); |
|
145 |
|
146 horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
147 |
|
148 gridLayout_2->addItem(horizontalSpacer_4, 1, 2, 1, 1); |
|
149 |
|
150 |
|
151 gridLayout_3->addWidget(groupBox_2, 1, 0, 1, 2); |
|
152 |
|
153 groupBox_3 = new QGroupBox(QPageSetupWidget); |
|
154 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3")); |
|
155 verticalLayout = new QVBoxLayout(groupBox_3); |
|
156 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
|
157 portrait = new QRadioButton(groupBox_3); |
|
158 portrait->setObjectName(QString::fromUtf8("portrait")); |
|
159 portrait->setChecked(true); |
|
160 |
|
161 verticalLayout->addWidget(portrait); |
|
162 |
|
163 landscape = new QRadioButton(groupBox_3); |
|
164 landscape->setObjectName(QString::fromUtf8("landscape")); |
|
165 |
|
166 verticalLayout->addWidget(landscape); |
|
167 |
|
168 reverseLandscape = new QRadioButton(groupBox_3); |
|
169 reverseLandscape->setObjectName(QString::fromUtf8("reverseLandscape")); |
|
170 |
|
171 verticalLayout->addWidget(reverseLandscape); |
|
172 |
|
173 reversePortrait = new QRadioButton(groupBox_3); |
|
174 reversePortrait->setObjectName(QString::fromUtf8("reversePortrait")); |
|
175 |
|
176 verticalLayout->addWidget(reversePortrait); |
|
177 |
|
178 verticalSpacer_5 = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
179 |
|
180 verticalLayout->addItem(verticalSpacer_5); |
|
181 |
|
182 |
|
183 gridLayout_3->addWidget(groupBox_3, 2, 0, 1, 1); |
|
184 |
|
185 preview = new QWidget(QPageSetupWidget); |
|
186 preview->setObjectName(QString::fromUtf8("preview")); |
|
187 |
|
188 gridLayout_3->addWidget(preview, 2, 1, 2, 1); |
|
189 |
|
190 groupBox = new QGroupBox(QPageSetupWidget); |
|
191 groupBox->setObjectName(QString::fromUtf8("groupBox")); |
|
192 horizontalLayout_2 = new QHBoxLayout(groupBox); |
|
193 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); |
|
194 gridLayout = new QGridLayout(); |
|
195 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
196 topMargin = new QDoubleSpinBox(groupBox); |
|
197 topMargin->setObjectName(QString::fromUtf8("topMargin")); |
|
198 topMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
199 topMargin->setMaximum(999.99); |
|
200 |
|
201 gridLayout->addWidget(topMargin, 0, 1, 1, 1); |
|
202 |
|
203 horizontalLayout = new QHBoxLayout(); |
|
204 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
|
205 horizontalSpacer_7 = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
206 |
|
207 horizontalLayout->addItem(horizontalSpacer_7); |
|
208 |
|
209 leftMargin = new QDoubleSpinBox(groupBox); |
|
210 leftMargin->setObjectName(QString::fromUtf8("leftMargin")); |
|
211 leftMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
212 leftMargin->setMaximum(999.99); |
|
213 |
|
214 horizontalLayout->addWidget(leftMargin); |
|
215 |
|
216 horizontalSpacer = new QSpacerItem(0, 0, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
|
217 |
|
218 horizontalLayout->addItem(horizontalSpacer); |
|
219 |
|
220 rightMargin = new QDoubleSpinBox(groupBox); |
|
221 rightMargin->setObjectName(QString::fromUtf8("rightMargin")); |
|
222 rightMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
223 rightMargin->setMaximum(999.99); |
|
224 |
|
225 horizontalLayout->addWidget(rightMargin); |
|
226 |
|
227 horizontalSpacer_8 = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
228 |
|
229 horizontalLayout->addItem(horizontalSpacer_8); |
|
230 |
|
231 |
|
232 gridLayout->addLayout(horizontalLayout, 1, 0, 1, 3); |
|
233 |
|
234 bottomMargin = new QDoubleSpinBox(groupBox); |
|
235 bottomMargin->setObjectName(QString::fromUtf8("bottomMargin")); |
|
236 bottomMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
237 bottomMargin->setMaximum(999.99); |
|
238 |
|
239 gridLayout->addWidget(bottomMargin, 2, 1, 1, 1); |
|
240 |
|
241 horizontalSpacer_2 = new QSpacerItem(0, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
|
242 |
|
243 gridLayout->addItem(horizontalSpacer_2, 0, 2, 1, 1); |
|
244 |
|
245 horizontalSpacer_5 = new QSpacerItem(0, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
|
246 |
|
247 gridLayout->addItem(horizontalSpacer_5, 0, 0, 1, 1); |
|
248 |
|
249 |
|
250 horizontalLayout_2->addLayout(gridLayout); |
|
251 |
|
252 |
|
253 gridLayout_3->addWidget(groupBox, 3, 0, 1, 1); |
|
254 |
|
255 verticalSpacer = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
256 |
|
257 gridLayout_3->addItem(verticalSpacer, 4, 0, 1, 1); |
|
258 |
|
259 #ifndef QT_NO_SHORTCUT |
|
260 pageSizeLabel->setBuddy(paperSize); |
|
261 widthLabel->setBuddy(paperWidth); |
|
262 heightLabel->setBuddy(paperHeight); |
|
263 paperSourceLabel->setBuddy(paperSource); |
|
264 #endif // QT_NO_SHORTCUT |
|
265 |
|
266 retranslateUi(QPageSetupWidget); |
|
267 |
|
268 QMetaObject::connectSlotsByName(QPageSetupWidget); |
|
269 } // setupUi |
|
270 |
|
271 void retranslateUi(QWidget *QPageSetupWidget) |
|
272 { |
|
273 QPageSetupWidget->setWindowTitle(QApplication::translate("QPageSetupWidget", "Form", 0, QApplication::UnicodeUTF8)); |
|
274 groupBox_2->setTitle(QApplication::translate("QPageSetupWidget", "Paper", 0, QApplication::UnicodeUTF8)); |
|
275 pageSizeLabel->setText(QApplication::translate("QPageSetupWidget", "Page size:", 0, QApplication::UnicodeUTF8)); |
|
276 widthLabel->setText(QApplication::translate("QPageSetupWidget", "Width:", 0, QApplication::UnicodeUTF8)); |
|
277 heightLabel->setText(QApplication::translate("QPageSetupWidget", "Height:", 0, QApplication::UnicodeUTF8)); |
|
278 paperSourceLabel->setText(QApplication::translate("QPageSetupWidget", "Paper source:", 0, QApplication::UnicodeUTF8)); |
|
279 groupBox_3->setTitle(QApplication::translate("QPageSetupWidget", "Orientation", 0, QApplication::UnicodeUTF8)); |
|
280 portrait->setText(QApplication::translate("QPageSetupWidget", "Portrait", 0, QApplication::UnicodeUTF8)); |
|
281 landscape->setText(QApplication::translate("QPageSetupWidget", "Landscape", 0, QApplication::UnicodeUTF8)); |
|
282 reverseLandscape->setText(QApplication::translate("QPageSetupWidget", "Reverse landscape", 0, QApplication::UnicodeUTF8)); |
|
283 reversePortrait->setText(QApplication::translate("QPageSetupWidget", "Reverse portrait", 0, QApplication::UnicodeUTF8)); |
|
284 groupBox->setTitle(QApplication::translate("QPageSetupWidget", "Margins", 0, QApplication::UnicodeUTF8)); |
|
285 #ifndef QT_NO_TOOLTIP |
|
286 topMargin->setToolTip(QApplication::translate("QPageSetupWidget", "top margin", 0, QApplication::UnicodeUTF8)); |
|
287 #endif // QT_NO_TOOLTIP |
|
288 #ifndef QT_NO_ACCESSIBILITY |
|
289 topMargin->setAccessibleName(QApplication::translate("QPageSetupWidget", "top margin", 0, QApplication::UnicodeUTF8)); |
|
290 #endif // QT_NO_ACCESSIBILITY |
|
291 #ifndef QT_NO_TOOLTIP |
|
292 leftMargin->setToolTip(QApplication::translate("QPageSetupWidget", "left margin", 0, QApplication::UnicodeUTF8)); |
|
293 #endif // QT_NO_TOOLTIP |
|
294 #ifndef QT_NO_ACCESSIBILITY |
|
295 leftMargin->setAccessibleName(QApplication::translate("QPageSetupWidget", "left margin", 0, QApplication::UnicodeUTF8)); |
|
296 #endif // QT_NO_ACCESSIBILITY |
|
297 #ifndef QT_NO_TOOLTIP |
|
298 rightMargin->setToolTip(QApplication::translate("QPageSetupWidget", "right margin", 0, QApplication::UnicodeUTF8)); |
|
299 #endif // QT_NO_TOOLTIP |
|
300 #ifndef QT_NO_ACCESSIBILITY |
|
301 rightMargin->setAccessibleName(QApplication::translate("QPageSetupWidget", "right margin", 0, QApplication::UnicodeUTF8)); |
|
302 #endif // QT_NO_ACCESSIBILITY |
|
303 #ifndef QT_NO_TOOLTIP |
|
304 bottomMargin->setToolTip(QApplication::translate("QPageSetupWidget", "bottom margin", 0, QApplication::UnicodeUTF8)); |
|
305 #endif // QT_NO_TOOLTIP |
|
306 #ifndef QT_NO_ACCESSIBILITY |
|
307 bottomMargin->setAccessibleName(QApplication::translate("QPageSetupWidget", "bottom margin", 0, QApplication::UnicodeUTF8)); |
|
308 #endif // QT_NO_ACCESSIBILITY |
|
309 } // retranslateUi |
|
310 |
|
311 }; |
|
312 |
|
313 namespace Ui { |
|
314 class QPageSetupWidget: public Ui_QPageSetupWidget {}; |
|
315 } // namespace Ui |
|
316 |
|
317 QT_END_NAMESPACE |
|
318 |
|
319 #endif // QPAGESETUPWIDGET_H |