⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lxaccountstmtprint.h

📁 LxBank是一个基于Qt/X的家庭储蓄应用程序
💻 H
字号:
// -*- C++ -*-// ****************************************************************************// // LxBank - home-banking for Linux using the HBCI standard// // Author: Franz Zimmermann                                   83043 Bad Aibling// // Copyright (C) 2002-2003 Franz Zimmermann  -  arafang@users.sourceforge.net// // This program is free software; you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation; either version 2 of the License, or// (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the// GNU General Public License for more details.// // You should have received a copy of the GNU General Public License// along with this program; if not, write to the Free Software// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.// // ***************************************************************************//// ***************************************************************************// /*! \file    \brief LxAccountStmtPrint: Prints the account statement list*/ // ***************************************************************************//// $Name:  $//// $State: Exp $//// $Log: LxAccountStmtPrint.h,v $// Revision 1.4  2003/04/05 02:01:01  arafang// Turnover printing updated.//// Revision 1.3  2003/02/08 15:25:21  franz// Mail address changed.//// Revision 1.2  2003/01/26 23:09:41  franz// LxAccountSelectDialog: New method to delete accounts (remove).// Class LxAccountStmtPrint adapted to new account statement view layout.// Account update implemented.//// Revision 1.1  2002/04/19 23:51:20  franz// Account statement printing implemented////#ifndef LX_ACCOUNT_STMT_PRINT_H#define LX_ACCOUNT_STMT_PRINT_H#include "LxAccountListViewItem.h"#include <qprinter.h>#include <qpainter.h>#include <qlistview.h> #include <qstring.h> #include <qfont.h> class QApplication;class LxAccountStmtPrint{public:  LxAccountStmtPrint ( QListView *,		       const QString &, const QString &, const QString &, 		       const QString &, const QString & );  virtual ~LxAccountStmtPrint ();  void print ( AccListVItemList * );private:  QPrinter  *printer;  QPainter  *painter;  QListView *lView;  QFont normalFont;  QFont largeFont;  QFont hugeFont;  int topMargin;  int ruleHeight;  int leftMargin;  int rightMargin;  int bottomMargin;  int textSpace;  int edgeMargin;  int headTextFieldHeight;  int headHeight;  int pageWidth;  int bottomEdge;  QString labelBank;  QString labelInhaber;  QString labelBlz;  QString labelKtonumber;  QString bank;  QString inhaber;  QString blz;  QString ktonumber;  QString ktoname;    QString labelDatum;  QString labelValuta;  QString labelInstitute;  QString labelAccount;  QString labelCode;  QString labelBuchungstext;  QString labelUmsatz;  QString labelSaldo;  QRect headTxtRecLeftOts;  QRect headTxtRecLeftIns;  QRect headTxtRecRightOts;  QRect headTxtRecRightIns;  QRect headTxtRecCenter;  int textSpacing;  QRect bgRec;  QRect txtRec;  QRect bTxtRec;  QColor penColor;  QBrush brush;  QStringList::Iterator it;  int dateWidth;  int valutaWidth;  int instituteWidth;  int accountWidth;  int codeWidth;  int textWidth;  int turnoverWidth;  int balanceWidth;  void setup ( );  void printHeader ( );  void printStmts ( AccListVItemList * );};#endif // LxAccountStmtPrint.h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -