2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'previewdialogbase.ui'
|
|
|
|
**
|
|
|
|
** Created: Fri Sep 4 10:17:14 2009
|
|
|
|
** by: Qt User Interface Compiler version 4.6.0
|
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef PREVIEWDIALOGBASE_H
|
|
|
|
#define PREVIEWDIALOGBASE_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QComboBox>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QProgressBar>
|
|
|
|
#include <QtWidgets/QScrollArea>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QTreeWidget>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_PreviewDialogBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QLabel *label;
|
|
|
|
QComboBox *paperSizeCombo;
|
|
|
|
QLabel *label_2;
|
|
|
|
QComboBox *paperOrientationCombo;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
QHBoxLayout *hboxLayout1;
|
|
|
|
QTreeWidget *pageList;
|
|
|
|
QScrollArea *previewArea;
|
|
|
|
QHBoxLayout *hboxLayout2;
|
|
|
|
QProgressBar *progressBar;
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
|
|
|
|
void setupUi(QDialog *PreviewDialogBase)
|
|
|
|
{
|
|
|
|
if (PreviewDialogBase->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
PreviewDialogBase->setObjectName(QStringLiteral("PreviewDialogBase"));
|
2011-04-27 10:05:43 +00:00
|
|
|
PreviewDialogBase->resize(733, 479);
|
|
|
|
vboxLayout = new QVBoxLayout(PreviewDialogBase);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
|
|
#endif
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
hboxLayout = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
|
|
|
#endif
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label = new QLabel(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(label);
|
|
|
|
|
|
|
|
paperSizeCombo = new QComboBox(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
paperSizeCombo->setObjectName(QStringLiteral("paperSizeCombo"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(paperSizeCombo->sizePolicy().hasHeightForWidth());
|
|
|
|
paperSizeCombo->setSizePolicy(sizePolicy);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(paperSizeCombo);
|
|
|
|
|
|
|
|
label_2 = new QLabel(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(label_2);
|
|
|
|
|
|
|
|
paperOrientationCombo = new QComboBox(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
paperOrientationCombo->setObjectName(QStringLiteral("paperOrientationCombo"));
|
2011-04-27 10:05:43 +00:00
|
|
|
sizePolicy.setHeightForWidth(paperOrientationCombo->sizePolicy().hasHeightForWidth());
|
|
|
|
paperOrientationCombo->setSizePolicy(sizePolicy);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(paperOrientationCombo);
|
|
|
|
|
|
|
|
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
hboxLayout->addItem(spacerItem);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout);
|
|
|
|
|
|
|
|
hboxLayout1 = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout1->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
pageList = new QTreeWidget(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
pageList->setObjectName(QStringLiteral("pageList"));
|
2011-04-27 10:05:43 +00:00
|
|
|
pageList->setIndentation(0);
|
|
|
|
pageList->setRootIsDecorated(false);
|
|
|
|
pageList->setUniformRowHeights(true);
|
|
|
|
pageList->setItemsExpandable(false);
|
|
|
|
pageList->setColumnCount(1);
|
|
|
|
|
|
|
|
hboxLayout1->addWidget(pageList);
|
|
|
|
|
|
|
|
previewArea = new QScrollArea(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
previewArea->setObjectName(QStringLiteral("previewArea"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
|
|
|
|
sizePolicy1.setHorizontalStretch(1);
|
|
|
|
sizePolicy1.setVerticalStretch(0);
|
|
|
|
sizePolicy1.setHeightForWidth(previewArea->sizePolicy().hasHeightForWidth());
|
|
|
|
previewArea->setSizePolicy(sizePolicy1);
|
|
|
|
|
|
|
|
hboxLayout1->addWidget(previewArea);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout1);
|
|
|
|
|
|
|
|
hboxLayout2 = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout2->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout2->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout2->setObjectName(QStringLiteral("hboxLayout2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
progressBar = new QProgressBar(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
progressBar->setObjectName(QStringLiteral("progressBar"));
|
2011-04-27 10:05:43 +00:00
|
|
|
progressBar->setEnabled(false);
|
|
|
|
QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
|
|
|
|
sizePolicy2.setHorizontalStretch(1);
|
|
|
|
sizePolicy2.setVerticalStretch(0);
|
|
|
|
sizePolicy2.setHeightForWidth(progressBar->sizePolicy().hasHeightForWidth());
|
|
|
|
progressBar->setSizePolicy(sizePolicy2);
|
|
|
|
progressBar->setValue(0);
|
|
|
|
progressBar->setTextVisible(false);
|
|
|
|
progressBar->setOrientation(Qt::Horizontal);
|
|
|
|
|
|
|
|
hboxLayout2->addWidget(progressBar);
|
|
|
|
|
|
|
|
buttonBox = new QDialogButtonBox(PreviewDialogBase);
|
2011-12-11 15:55:01 +00:00
|
|
|
buttonBox->setObjectName(QStringLiteral("buttonBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
|
|
|
|
|
|
|
|
hboxLayout2->addWidget(buttonBox);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout2);
|
|
|
|
|
|
|
|
#ifndef QT_NO_SHORTCUT
|
|
|
|
label->setBuddy(paperSizeCombo);
|
|
|
|
label_2->setBuddy(paperOrientationCombo);
|
|
|
|
#endif // QT_NO_SHORTCUT
|
|
|
|
|
|
|
|
retranslateUi(PreviewDialogBase);
|
|
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), PreviewDialogBase, SLOT(accept()));
|
|
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), PreviewDialogBase, SLOT(reject()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(PreviewDialogBase);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *PreviewDialogBase)
|
|
|
|
{
|
2012-05-17 00:37:23 +00:00
|
|
|
PreviewDialogBase->setWindowTitle(QApplication::translate("PreviewDialogBase", "Print Preview", 0));
|
|
|
|
label->setText(QApplication::translate("PreviewDialogBase", "&Paper Size:", 0));
|
|
|
|
label_2->setText(QApplication::translate("PreviewDialogBase", "&Orientation:", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
QTreeWidgetItem *___qtreewidgetitem = pageList->headerItem();
|
2012-05-17 00:37:23 +00:00
|
|
|
___qtreewidgetitem->setText(0, QApplication::translate("PreviewDialogBase", "1", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PreviewDialogBase: public Ui_PreviewDialogBase {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // PREVIEWDIALOGBASE_H
|