|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'previewdialogbase.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 PREVIEWDIALOGBASE_H |
|
11 #define PREVIEWDIALOGBASE_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/QDialog> |
|
19 #include <QtGui/QDialogButtonBox> |
|
20 #include <QtGui/QHBoxLayout> |
|
21 #include <QtGui/QHeaderView> |
|
22 #include <QtGui/QLabel> |
|
23 #include <QtGui/QProgressBar> |
|
24 #include <QtGui/QScrollArea> |
|
25 #include <QtGui/QSpacerItem> |
|
26 #include <QtGui/QTreeWidget> |
|
27 #include <QtGui/QVBoxLayout> |
|
28 |
|
29 QT_BEGIN_NAMESPACE |
|
30 |
|
31 class Ui_PreviewDialogBase |
|
32 { |
|
33 public: |
|
34 QVBoxLayout *vboxLayout; |
|
35 QHBoxLayout *hboxLayout; |
|
36 QLabel *label; |
|
37 QComboBox *paperSizeCombo; |
|
38 QLabel *label_2; |
|
39 QComboBox *paperOrientationCombo; |
|
40 QSpacerItem *spacerItem; |
|
41 QHBoxLayout *hboxLayout1; |
|
42 QTreeWidget *pageList; |
|
43 QScrollArea *previewArea; |
|
44 QHBoxLayout *hboxLayout2; |
|
45 QProgressBar *progressBar; |
|
46 QDialogButtonBox *buttonBox; |
|
47 |
|
48 void setupUi(QDialog *PreviewDialogBase) |
|
49 { |
|
50 if (PreviewDialogBase->objectName().isEmpty()) |
|
51 PreviewDialogBase->setObjectName(QString::fromUtf8("PreviewDialogBase")); |
|
52 PreviewDialogBase->resize(733, 479); |
|
53 vboxLayout = new QVBoxLayout(PreviewDialogBase); |
|
54 #ifndef Q_OS_MAC |
|
55 vboxLayout->setSpacing(6); |
|
56 #endif |
|
57 #ifndef Q_OS_MAC |
|
58 vboxLayout->setContentsMargins(9, 9, 9, 9); |
|
59 #endif |
|
60 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
61 hboxLayout = new QHBoxLayout(); |
|
62 #ifndef Q_OS_MAC |
|
63 hboxLayout->setSpacing(6); |
|
64 #endif |
|
65 #ifndef Q_OS_MAC |
|
66 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
67 #endif |
|
68 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
69 label = new QLabel(PreviewDialogBase); |
|
70 label->setObjectName(QString::fromUtf8("label")); |
|
71 |
|
72 hboxLayout->addWidget(label); |
|
73 |
|
74 paperSizeCombo = new QComboBox(PreviewDialogBase); |
|
75 paperSizeCombo->setObjectName(QString::fromUtf8("paperSizeCombo")); |
|
76 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0)); |
|
77 sizePolicy.setHorizontalStretch(0); |
|
78 sizePolicy.setVerticalStretch(0); |
|
79 sizePolicy.setHeightForWidth(paperSizeCombo->sizePolicy().hasHeightForWidth()); |
|
80 paperSizeCombo->setSizePolicy(sizePolicy); |
|
81 |
|
82 hboxLayout->addWidget(paperSizeCombo); |
|
83 |
|
84 label_2 = new QLabel(PreviewDialogBase); |
|
85 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
86 |
|
87 hboxLayout->addWidget(label_2); |
|
88 |
|
89 paperOrientationCombo = new QComboBox(PreviewDialogBase); |
|
90 paperOrientationCombo->setObjectName(QString::fromUtf8("paperOrientationCombo")); |
|
91 sizePolicy.setHeightForWidth(paperOrientationCombo->sizePolicy().hasHeightForWidth()); |
|
92 paperOrientationCombo->setSizePolicy(sizePolicy); |
|
93 |
|
94 hboxLayout->addWidget(paperOrientationCombo); |
|
95 |
|
96 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
97 |
|
98 hboxLayout->addItem(spacerItem); |
|
99 |
|
100 |
|
101 vboxLayout->addLayout(hboxLayout); |
|
102 |
|
103 hboxLayout1 = new QHBoxLayout(); |
|
104 #ifndef Q_OS_MAC |
|
105 hboxLayout1->setSpacing(6); |
|
106 #endif |
|
107 hboxLayout1->setContentsMargins(0, 0, 0, 0); |
|
108 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
|
109 pageList = new QTreeWidget(PreviewDialogBase); |
|
110 pageList->setObjectName(QString::fromUtf8("pageList")); |
|
111 pageList->setIndentation(0); |
|
112 pageList->setRootIsDecorated(false); |
|
113 pageList->setUniformRowHeights(true); |
|
114 pageList->setItemsExpandable(false); |
|
115 pageList->setColumnCount(1); |
|
116 |
|
117 hboxLayout1->addWidget(pageList); |
|
118 |
|
119 previewArea = new QScrollArea(PreviewDialogBase); |
|
120 previewArea->setObjectName(QString::fromUtf8("previewArea")); |
|
121 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5)); |
|
122 sizePolicy1.setHorizontalStretch(1); |
|
123 sizePolicy1.setVerticalStretch(0); |
|
124 sizePolicy1.setHeightForWidth(previewArea->sizePolicy().hasHeightForWidth()); |
|
125 previewArea->setSizePolicy(sizePolicy1); |
|
126 |
|
127 hboxLayout1->addWidget(previewArea); |
|
128 |
|
129 |
|
130 vboxLayout->addLayout(hboxLayout1); |
|
131 |
|
132 hboxLayout2 = new QHBoxLayout(); |
|
133 #ifndef Q_OS_MAC |
|
134 hboxLayout2->setSpacing(6); |
|
135 #endif |
|
136 hboxLayout2->setContentsMargins(0, 0, 0, 0); |
|
137 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); |
|
138 progressBar = new QProgressBar(PreviewDialogBase); |
|
139 progressBar->setObjectName(QString::fromUtf8("progressBar")); |
|
140 progressBar->setEnabled(false); |
|
141 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0)); |
|
142 sizePolicy2.setHorizontalStretch(1); |
|
143 sizePolicy2.setVerticalStretch(0); |
|
144 sizePolicy2.setHeightForWidth(progressBar->sizePolicy().hasHeightForWidth()); |
|
145 progressBar->setSizePolicy(sizePolicy2); |
|
146 progressBar->setValue(0); |
|
147 progressBar->setTextVisible(false); |
|
148 progressBar->setOrientation(Qt::Horizontal); |
|
149 |
|
150 hboxLayout2->addWidget(progressBar); |
|
151 |
|
152 buttonBox = new QDialogButtonBox(PreviewDialogBase); |
|
153 buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
|
154 buttonBox->setOrientation(Qt::Horizontal); |
|
155 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok); |
|
156 |
|
157 hboxLayout2->addWidget(buttonBox); |
|
158 |
|
159 |
|
160 vboxLayout->addLayout(hboxLayout2); |
|
161 |
|
162 #ifndef QT_NO_SHORTCUT |
|
163 label->setBuddy(paperSizeCombo); |
|
164 label_2->setBuddy(paperOrientationCombo); |
|
165 #endif // QT_NO_SHORTCUT |
|
166 |
|
167 retranslateUi(PreviewDialogBase); |
|
168 QObject::connect(buttonBox, SIGNAL(accepted()), PreviewDialogBase, SLOT(accept())); |
|
169 QObject::connect(buttonBox, SIGNAL(rejected()), PreviewDialogBase, SLOT(reject())); |
|
170 |
|
171 QMetaObject::connectSlotsByName(PreviewDialogBase); |
|
172 } // setupUi |
|
173 |
|
174 void retranslateUi(QDialog *PreviewDialogBase) |
|
175 { |
|
176 PreviewDialogBase->setWindowTitle(QApplication::translate("PreviewDialogBase", "Print Preview", 0, QApplication::UnicodeUTF8)); |
|
177 label->setText(QApplication::translate("PreviewDialogBase", "&Paper Size:", 0, QApplication::UnicodeUTF8)); |
|
178 label_2->setText(QApplication::translate("PreviewDialogBase", "&Orientation:", 0, QApplication::UnicodeUTF8)); |
|
179 QTreeWidgetItem *___qtreewidgetitem = pageList->headerItem(); |
|
180 ___qtreewidgetitem->setText(0, QApplication::translate("PreviewDialogBase", "1", 0, QApplication::UnicodeUTF8)); |
|
181 } // retranslateUi |
|
182 |
|
183 }; |
|
184 |
|
185 namespace Ui { |
|
186 class PreviewDialogBase: public Ui_PreviewDialogBase {}; |
|
187 } // namespace Ui |
|
188 |
|
189 QT_END_NAMESPACE |
|
190 |
|
191 #endif // PREVIEWDIALOGBASE_H |