📄 lxaccountlistviewitem.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 LxAusZugItem: List view item for LxBank account statement list view*/ // ***************************************************************************//// $Name: $//// $State: Exp $//// $Log: LxAccountListViewItem.h,v $// Revision 1.7 2003/02/08 15:25:20 franz// Mail address changed.//// Revision 1.6 2003/01/17 00:56:42 franz// Getting account statements work.//// Revision 1.5 2002/06/02 22:03:19 franz// Remittance view lists improved.// Remittance work dialogs implemented.//// Revision 1.4 2002/04/23 22:13:15 franz// File LxAccountStmtList.h renamed to LxAccount.h// File LxAccountStmtList.cc renamed to LxAccount.cc//// Revision 1.3 2002/04/19 23:51:20 franz// Account statement printing implemented//// Revision 1.2 2002/04/07 23:20:47 franz// Worked on account view window.//// Revision 1.1.1.1 2002/04/05 08:33:43 franz// Gets LxBank under revision control//////#ifndef LX_ACCOUNT_LIST_VIEW_ITEM_H#define LX_ACCOUNT_LIST_VIEW_ITEM_H#include <qstringlist.h> #include <qlistview.h> #include <qptrlist.h> class LxAccountListViewItem : public QListViewItem{public: LxAccountListViewItem( QListView * parent, QString label1, QString srtkey1, QString label2, QString srtkey2, QString label3, QString srtkey3, QString label4, QString srtkey4, QString label5, QString srtkey5, QStringList label6, QString label7, QString srtkey7, double u, QString label8, QString srtkey8, double s ); virtual void setHeight ( int ); virtual void setup (); virtual int width ( const QFontMetrics & fm, const QListView * lv, int c ) const; virtual void paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align ); virtual QString key ( int column, bool ascending ) const; QStringList &getBText ();protected: QListView *lv; QStringList BText; int textLines; int textHeight, textLeading, textSpacing, totalItemHeight; int width1, width2, width3, width4, width5, width6, width7, width8; QString sortKey1, sortKey2, sortKey3, sortKey4, sortKey5, sortKey6, sortKey7, sortKey8; double umsatz, saldo; QColor sollColor; QColor negSaldoColor;};typedef QPtrList<LxAccountListViewItem> AccListVItemList;#endif // LxAccountListViewItem.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -