• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

qbprintdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id$
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 <q4banking/qbanking.h>
00017 
00018 #include "qbprintdialog.ui.h"
00019 
00020 #include <qstring.h>
00021 
00022 class QPrinter;
00023 
00024 
00025 class Q4BANKING_API QBPrintDialog : public QDialog, public Ui_QBPrintDialogUi {
00026   Q_OBJECT
00027 public:
00028   QBPrintDialog(QBanking *app,
00029                 const char *docTitle,
00030                 const char *docType,
00031                 const char *descr,
00032                 const char *text,
00033                 QWidget* parent=0,
00034                 const char* name=0,
00035                 bool modal=FALSE,
00036                 Qt::WFlags fl=0);
00037   ~QBPrintDialog();
00038 
00039   void accept();
00040 
00041 public slots:
00042   void slotPrint();
00043   void slotSetup();
00044   void slotFont();
00045   void slotHelpClicked();
00046 
00047 private:
00048   QBanking *_banking;
00049   const char *_docTitle;
00050   const char *_docType;
00051   const char *_descr;
00052   const char *_text;
00053   QString _fontFamily;
00054   int _fontSize;
00055   int _fontWeight;
00056 
00057   void loadPrinterSetup(QPrinter *printer);
00058   void savePrinterSetup(QPrinter *printer);
00059 
00060   void loadGuiSetup();
00061   void saveGuiSetup();
00062 
00063 };
00064 
00065 
00066 
00067 
00068 #endif

Generated on Mon Sep 20 2010 18:13:21 for aqbanking by  doxygen 1.7.1