Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

qbprintdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: qbprintdialog.h,v $
00003                              -------------------
00004     cvs         : $Id: qbprintdialog.h,v 1.1 2005/08/08 08:14:22 aquamaniac Exp $
00005     begin       : Mon Mar 01 2004
00006     copyright   : (C) 2004 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *          Please see toplevel file COPYING for license details           *
00011  ***************************************************************************/
00012 
00013 #ifndef QBANKING_PRINTDIALOG_H
00014 #define QBANKING_PRINTDIALOG_H
00015 
00016 #include "qbprintdialog.ui.h"
00017 #include "qbanking.h"
00018 
00019 #include <qstring.h>
00020 
00021 class QPrinter;
00022 
00023 
00024 class QBPrintDialog : public QBPrintDialogUi {
00025   Q_OBJECT
00026 public:
00027   QBPrintDialog(QBanking *app,
00028                 const char *docTitle,
00029                 const char *docType,
00030                 const char *descr,
00031                 const char *text,
00032                 QWidget* parent=0,
00033                 const char* name=0,
00034                 bool modal=FALSE,
00035                 WFlags fl=0);
00036   ~QBPrintDialog();
00037 
00038   void accept();
00039 
00040 public slots:
00041   void slotPrint();
00042   void slotSetup();
00043   void slotFont();
00044 
00045 private:
00046   QBanking *_banking;
00047   const char *_docTitle;
00048   const char *_docType;
00049   const char *_descr;
00050   const char *_text;
00051   QPrinter *_printer;
00052   QString _fontFamily;
00053   int _fontSize;
00054   int _fontWeight;
00055 
00056   void loadPrinterSetup();
00057   void savePrinterSetup();
00058 
00059   void loadGuiSetup();
00060   void saveGuiSetup();
00061 
00062 };
00063 
00064 
00065 
00066 
00067 #endif

Generated on Thu Oct 6 14:49:08 2005 for aqbanking by  doxygen 1.4.4