kviewshell
kprintDialogPage_DJVUpageoptions.h
Go to the documentation of this file.00001 // KPrintDialogPage_PageOptions.h 00002 // 00003 // Part of KVIEWSHELL - A framework for multipage text/gfx viewers 00004 // 00005 // (C) 2005 Stefan Kebekus 00006 // Distributed under the GPL 00007 00008 // Add header files alphabetically 00009 00010 #ifndef KPRINTDIALOGPAGE_DJVUPAGEOPTIONS_H 00011 #define KPRINTDIALOGPAGE_DJVUPAGEOPTIONS_H 00012 00013 00014 #include <kdeprint/kprintdialogpage.h> 00015 00016 00017 class QVBoxLayout; 00018 class QCheckBox; 00019 00020 00021 // This is a fairly standard KPrintDialogPage that allows the user to 00022 // chose page size & placement options: shrink oversized pages, and 00023 // expand small pages 00024 00025 class KPrintDialogPage_DJVUPageOptions : public KPrintDialogPage 00026 { 00027 public: 00028 KPrintDialogPage_DJVUPageOptions( QWidget *parent = 0, const char *name = 0 ); 00029 00030 void getOptions( QMap<QString,QString>& opts, bool incldef = false ); 00031 void setOptions( const QMap<QString,QString>& opts ); 00032 bool isValid( QString& msg ); 00033 00034 QCheckBox* checkBox_rotate; 00035 QCheckBox* checkBox_fitpage; 00036 00037 private: 00038 QVBoxLayout* kprintDialogPage_pageoptions_baseLayout; 00039 }; 00040 00041 00042 #endif // KPRINTDIALOGPAGE_PAGEOPTIONS_H