00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KPGENERALPAGE_H
00022 #define KPGENERALPAGE_H
00023
00024 #include "kprintdialogpage.h"
00025
00026 class TQComboBox;
00027 class TQButtonGroup;
00028 class TQGroupBox;
00029 class TQLabel;
00030
00031 class TDEPRINT_EXPORT KPGeneralPage : public KPrintDialogPage
00032 {
00033 Q_OBJECT
00034 public:
00035 KPGeneralPage(KMPrinter *pr, DrMain *dr, TQWidget *parent = 0, const char *name = 0);
00036 ~KPGeneralPage();
00037
00038 void setOptions(const TQMap<TQString,TQString>& opts);
00039 void getOptions(TQMap<TQString,TQString>& opts, bool incldef = false);
00040
00041 protected:
00042 void initialize();
00043
00044 protected slots:
00045 void slotOrientationChanged(int);
00046 void slotDuplexChanged(int);
00047 void slotNupChanged(int);
00048
00049 protected:
00050 TQComboBox *m_pagesize, *m_papertype, *m_inputslot;
00051 TQComboBox *m_startbanner, *m_endbanner;
00052 TQButtonGroup *m_orientbox, *m_duplexbox, *m_nupbox;
00053 TQGroupBox *m_bannerbox;
00054 TQLabel *m_orientpix, *m_duplexpix, *m_nuppix;
00055 };
00056
00057 #endif