kpqtpage.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KPQTPAGE_H
00021 #define KPQTPAGE_H
00022
00023 #include "kprintdialogpage.h"
00024
00025 #include <kdelibs_export.h>
00026
00027 class QButtonGroup;
00028 class QComboBox;
00029 class QLabel;
00030 class DrMain;
00031
00032 class KDEPRINT_EXPORT KPQtPage : public KPrintDialogPage
00033 {
00034 Q_OBJECT
00035 public:
00036 KPQtPage(QWidget *parent = 0, const char *name = 0);
00037 KPQtPage(DrMain *driver, QWidget *parent = 0, const char *name = 0);
00038 ~KPQtPage();
00039
00040 void setOptions(const QMap<QString,QString>& opts);
00041 void getOptions(QMap<QString,QString>& opts, bool incldef = false);
00042
00043 protected slots:
00044 void slotOrientationChanged(int);
00045 void slotColorModeChanged(int);
00046 void slotNupChanged(int);
00047
00048 protected:
00049 void init();
00050
00051 protected:
00052 QButtonGroup *m_orientbox, *m_colorbox, *m_nupbox;
00053 QComboBox *m_pagesize;
00054 QLabel *m_orientpix, *m_colorpix, *m_nuppix;
00055 };
00056
00057 #endif
|