KD Reports 1.4
|
00001 /******************************************************************************** 00002 ** Form generated from reading UI file 'previewdialogbase.ui' 00003 ** 00004 ** Created: Fri Feb 3 17:19:48 2012 00005 ** by: Qt User Interface Compiler version 4.8.0 00006 ** 00007 ** WARNING! All changes made in this file will be lost when recompiling UI file! 00008 ********************************************************************************/ 00009 00010 #ifndef UI_PREVIEWDIALOGBASE_H 00011 #define UI_PREVIEWDIALOGBASE_H 00012 00013 #include <QtCore/QVariant> 00014 #include <QtGui/QAction> 00015 #include <QtGui/QApplication> 00016 #include <QtGui/QButtonGroup> 00017 #include <QtGui/QComboBox> 00018 #include <QtGui/QFrame> 00019 #include <QtGui/QHBoxLayout> 00020 #include <QtGui/QHeaderView> 00021 #include <QtGui/QLabel> 00022 #include <QtGui/QLineEdit> 00023 #include <QtGui/QListWidget> 00024 #include <QtGui/QPushButton> 00025 #include <QtGui/QScrollArea> 00026 #include <QtGui/QSpacerItem> 00027 #include <QtGui/QToolButton> 00028 #include <QtGui/QVBoxLayout> 00029 #include <QtGui/QWidget> 00030 00031 QT_BEGIN_NAMESPACE 00032 00033 class Ui_PreviewWidgetBase 00034 { 00035 public: 00036 QVBoxLayout *verticalLayout; 00037 QWidget *actionBar; 00038 QHBoxLayout *horizontalLayout; 00039 QToolButton *firstPage; 00040 QToolButton *prevPage; 00041 QLineEdit *pageNumber; 00042 QLabel *pageCount; 00043 QToolButton *nextPage; 00044 QToolButton *lastPage; 00045 QFrame *line; 00046 QToolButton *zoomIn; 00047 QComboBox *zoomCombo; 00048 QToolButton *zoomOut; 00049 QSpacerItem *spacerItem; 00050 QLabel *labelPaperSize; 00051 QComboBox *paperSizeCombo; 00052 QLabel *labelOrientation; 00053 QComboBox *paperOrientationCombo; 00054 QSpacerItem *spacerItem1; 00055 QPushButton *tableBreakingButton; 00056 QHBoxLayout *horizontalLayout_2; 00057 QListWidget *pageList; 00058 QScrollArea *previewArea; 00059 00060 void setupUi(QWidget *PreviewWidgetBase) 00061 { 00062 if (PreviewWidgetBase->objectName().isEmpty()) 00063 PreviewWidgetBase->setObjectName(QString::fromUtf8("PreviewWidgetBase")); 00064 PreviewWidgetBase->resize(1292, 629); 00065 verticalLayout = new QVBoxLayout(PreviewWidgetBase); 00066 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); 00067 actionBar = new QWidget(PreviewWidgetBase); 00068 actionBar->setObjectName(QString::fromUtf8("actionBar")); 00069 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); 00070 sizePolicy.setHorizontalStretch(0); 00071 sizePolicy.setVerticalStretch(0); 00072 sizePolicy.setHeightForWidth(actionBar->sizePolicy().hasHeightForWidth()); 00073 actionBar->setSizePolicy(sizePolicy); 00074 horizontalLayout = new QHBoxLayout(actionBar); 00075 horizontalLayout->setContentsMargins(0, 0, 0, 0); 00076 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); 00077 horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint); 00078 firstPage = new QToolButton(actionBar); 00079 firstPage->setObjectName(QString::fromUtf8("firstPage")); 00080 QIcon icon; 00081 icon.addFile(QString::fromUtf8(":/2leftarrow.png"), QSize(), QIcon::Normal, QIcon::Off); 00082 firstPage->setIcon(icon); 00083 firstPage->setIconSize(QSize(22, 22)); 00084 firstPage->setAutoRaise(true); 00085 00086 horizontalLayout->addWidget(firstPage); 00087 00088 prevPage = new QToolButton(actionBar); 00089 prevPage->setObjectName(QString::fromUtf8("prevPage")); 00090 QIcon icon1; 00091 icon1.addFile(QString::fromUtf8(":/1leftarrow.png"), QSize(), QIcon::Normal, QIcon::Off); 00092 prevPage->setIcon(icon1); 00093 prevPage->setIconSize(QSize(22, 22)); 00094 prevPage->setAutoRaise(true); 00095 00096 horizontalLayout->addWidget(prevPage); 00097 00098 pageNumber = new QLineEdit(actionBar); 00099 pageNumber->setObjectName(QString::fromUtf8("pageNumber")); 00100 pageNumber->setMaxLength(10); 00101 pageNumber->setAlignment(Qt::AlignHCenter); 00102 00103 horizontalLayout->addWidget(pageNumber); 00104 00105 pageCount = new QLabel(actionBar); 00106 pageCount->setObjectName(QString::fromUtf8("pageCount")); 00107 00108 horizontalLayout->addWidget(pageCount); 00109 00110 nextPage = new QToolButton(actionBar); 00111 nextPage->setObjectName(QString::fromUtf8("nextPage")); 00112 QIcon icon2; 00113 icon2.addFile(QString::fromUtf8(":/1rightarrow.png"), QSize(), QIcon::Normal, QIcon::Off); 00114 nextPage->setIcon(icon2); 00115 nextPage->setIconSize(QSize(22, 22)); 00116 nextPage->setAutoRaise(true); 00117 00118 horizontalLayout->addWidget(nextPage); 00119 00120 lastPage = new QToolButton(actionBar); 00121 lastPage->setObjectName(QString::fromUtf8("lastPage")); 00122 QIcon icon3; 00123 icon3.addFile(QString::fromUtf8(":/2rightarrow.png"), QSize(), QIcon::Normal, QIcon::Off); 00124 lastPage->setIcon(icon3); 00125 lastPage->setIconSize(QSize(22, 22)); 00126 lastPage->setAutoRaise(true); 00127 00128 horizontalLayout->addWidget(lastPage); 00129 00130 line = new QFrame(actionBar); 00131 line->setObjectName(QString::fromUtf8("line")); 00132 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Minimum); 00133 sizePolicy1.setHorizontalStretch(0); 00134 sizePolicy1.setVerticalStretch(0); 00135 sizePolicy1.setHeightForWidth(line->sizePolicy().hasHeightForWidth()); 00136 line->setSizePolicy(sizePolicy1); 00137 line->setFrameShape(QFrame::VLine); 00138 line->setFrameShadow(QFrame::Sunken); 00139 00140 horizontalLayout->addWidget(line); 00141 00142 zoomIn = new QToolButton(actionBar); 00143 zoomIn->setObjectName(QString::fromUtf8("zoomIn")); 00144 QIcon icon4; 00145 icon4.addFile(QString::fromUtf8(":/zoom+.png"), QSize(), QIcon::Normal, QIcon::Off); 00146 zoomIn->setIcon(icon4); 00147 zoomIn->setIconSize(QSize(22, 22)); 00148 zoomIn->setAutoRaise(true); 00149 00150 horizontalLayout->addWidget(zoomIn); 00151 00152 zoomCombo = new QComboBox(actionBar); 00153 zoomCombo->setObjectName(QString::fromUtf8("zoomCombo")); 00154 00155 horizontalLayout->addWidget(zoomCombo); 00156 00157 zoomOut = new QToolButton(actionBar); 00158 zoomOut->setObjectName(QString::fromUtf8("zoomOut")); 00159 QIcon icon5; 00160 icon5.addFile(QString::fromUtf8(":/zoom-.png"), QSize(), QIcon::Normal, QIcon::Off); 00161 zoomOut->setIcon(icon5); 00162 zoomOut->setIconSize(QSize(22, 22)); 00163 zoomOut->setAutoRaise(true); 00164 00165 horizontalLayout->addWidget(zoomOut); 00166 00167 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00168 00169 horizontalLayout->addItem(spacerItem); 00170 00171 labelPaperSize = new QLabel(actionBar); 00172 labelPaperSize->setObjectName(QString::fromUtf8("labelPaperSize")); 00173 00174 horizontalLayout->addWidget(labelPaperSize); 00175 00176 paperSizeCombo = new QComboBox(actionBar); 00177 paperSizeCombo->setObjectName(QString::fromUtf8("paperSizeCombo")); 00178 QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed); 00179 sizePolicy2.setHorizontalStretch(0); 00180 sizePolicy2.setVerticalStretch(0); 00181 sizePolicy2.setHeightForWidth(paperSizeCombo->sizePolicy().hasHeightForWidth()); 00182 paperSizeCombo->setSizePolicy(sizePolicy2); 00183 00184 horizontalLayout->addWidget(paperSizeCombo); 00185 00186 labelOrientation = new QLabel(actionBar); 00187 labelOrientation->setObjectName(QString::fromUtf8("labelOrientation")); 00188 00189 horizontalLayout->addWidget(labelOrientation); 00190 00191 paperOrientationCombo = new QComboBox(actionBar); 00192 paperOrientationCombo->setObjectName(QString::fromUtf8("paperOrientationCombo")); 00193 sizePolicy2.setHeightForWidth(paperOrientationCombo->sizePolicy().hasHeightForWidth()); 00194 paperOrientationCombo->setSizePolicy(sizePolicy2); 00195 00196 horizontalLayout->addWidget(paperOrientationCombo); 00197 00198 spacerItem1 = new QSpacerItem(101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00199 00200 horizontalLayout->addItem(spacerItem1); 00201 00202 tableBreakingButton = new QPushButton(actionBar); 00203 tableBreakingButton->setObjectName(QString::fromUtf8("tableBreakingButton")); 00204 00205 horizontalLayout->addWidget(tableBreakingButton); 00206 00207 00208 verticalLayout->addWidget(actionBar); 00209 00210 horizontalLayout_2 = new QHBoxLayout(); 00211 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); 00212 pageList = new QListWidget(PreviewWidgetBase); 00213 pageList->setObjectName(QString::fromUtf8("pageList")); 00214 00215 horizontalLayout_2->addWidget(pageList); 00216 00217 previewArea = new QScrollArea(PreviewWidgetBase); 00218 previewArea->setObjectName(QString::fromUtf8("previewArea")); 00219 QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Preferred); 00220 sizePolicy3.setHorizontalStretch(1); 00221 sizePolicy3.setVerticalStretch(1); 00222 sizePolicy3.setHeightForWidth(previewArea->sizePolicy().hasHeightForWidth()); 00223 previewArea->setSizePolicy(sizePolicy3); 00224 00225 horizontalLayout_2->addWidget(previewArea); 00226 00227 00228 verticalLayout->addLayout(horizontalLayout_2); 00229 00230 #ifndef QT_NO_SHORTCUT 00231 labelPaperSize->setBuddy(paperSizeCombo); 00232 labelOrientation->setBuddy(paperOrientationCombo); 00233 #endif // QT_NO_SHORTCUT 00234 00235 retranslateUi(PreviewWidgetBase); 00236 00237 QMetaObject::connectSlotsByName(PreviewWidgetBase); 00238 } // setupUi 00239 00240 void retranslateUi(QWidget *PreviewWidgetBase) 00241 { 00242 PreviewWidgetBase->setWindowTitle(QApplication::translate("PreviewWidgetBase", "Print Preview", 0, QApplication::UnicodeUTF8)); 00243 #ifndef QT_NO_TOOLTIP 00244 firstPage->setToolTip(QApplication::translate("PreviewWidgetBase", "First Page", 0, QApplication::UnicodeUTF8)); 00245 #endif // QT_NO_TOOLTIP 00246 #ifndef QT_NO_WHATSTHIS 00247 firstPage->setWhatsThis(QApplication::translate("PreviewWidgetBase", "Goes to the first page", 0, QApplication::UnicodeUTF8)); 00248 #endif // QT_NO_WHATSTHIS 00249 firstPage->setText(QApplication::translate("PreviewWidgetBase", "...", 0, QApplication::UnicodeUTF8)); 00250 #ifndef QT_NO_TOOLTIP 00251 prevPage->setToolTip(QApplication::translate("PreviewWidgetBase", "Previous Page", 0, QApplication::UnicodeUTF8)); 00252 #endif // QT_NO_TOOLTIP 00253 #ifndef QT_NO_WHATSTHIS 00254 prevPage->setWhatsThis(QApplication::translate("PreviewWidgetBase", "Goes to the previous page", 0, QApplication::UnicodeUTF8)); 00255 #endif // QT_NO_WHATSTHIS 00256 prevPage->setText(QApplication::translate("PreviewWidgetBase", "...", 0, QApplication::UnicodeUTF8)); 00257 pageNumber->setText(QApplication::translate("PreviewWidgetBase", "1", 0, QApplication::UnicodeUTF8)); 00258 pageCount->setText(QApplication::translate("PreviewWidgetBase", "/ 10", 0, QApplication::UnicodeUTF8)); 00259 #ifndef QT_NO_TOOLTIP 00260 nextPage->setToolTip(QApplication::translate("PreviewWidgetBase", "Next Page", 0, QApplication::UnicodeUTF8)); 00261 #endif // QT_NO_TOOLTIP 00262 #ifndef QT_NO_WHATSTHIS 00263 nextPage->setWhatsThis(QApplication::translate("PreviewWidgetBase", "Goes to the next page", 0, QApplication::UnicodeUTF8)); 00264 #endif // QT_NO_WHATSTHIS 00265 nextPage->setText(QApplication::translate("PreviewWidgetBase", "...", 0, QApplication::UnicodeUTF8)); 00266 #ifndef QT_NO_TOOLTIP 00267 lastPage->setToolTip(QApplication::translate("PreviewWidgetBase", "Last Page", 0, QApplication::UnicodeUTF8)); 00268 #endif // QT_NO_TOOLTIP 00269 #ifndef QT_NO_WHATSTHIS 00270 lastPage->setWhatsThis(QApplication::translate("PreviewWidgetBase", "Goes to the last page", 0, QApplication::UnicodeUTF8)); 00271 #endif // QT_NO_WHATSTHIS 00272 lastPage->setText(QApplication::translate("PreviewWidgetBase", "...", 0, QApplication::UnicodeUTF8)); 00273 zoomIn->setText(QApplication::translate("PreviewWidgetBase", "...", 0, QApplication::UnicodeUTF8)); 00274 zoomOut->setText(QApplication::translate("PreviewWidgetBase", "...", 0, QApplication::UnicodeUTF8)); 00275 labelPaperSize->setText(QApplication::translate("PreviewWidgetBase", "&Paper Size:", 0, QApplication::UnicodeUTF8)); 00276 labelOrientation->setText(QApplication::translate("PreviewWidgetBase", "&Orientation:", 0, QApplication::UnicodeUTF8)); 00277 tableBreakingButton->setText(QApplication::translate("PreviewWidgetBase", "Table Settings / Font Scaling...", 0, QApplication::UnicodeUTF8)); 00278 } // retranslateUi 00279 00280 }; 00281 00282 namespace Ui { 00283 class PreviewWidgetBase: public Ui_PreviewWidgetBase {}; 00284 } // namespace Ui 00285 00286 QT_END_NAMESPACE 00287 00288 #endif // UI_PREVIEWDIALOGBASE_H