📄 lxremittancelistviewitem.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 LxRemittanceListViewItem: List view item for LxBank remittance list view*/ // ***************************************************************************//// $Name: $//// $State: Exp $//// $Log: LxRemittanceListViewItem.h,v $// Revision 1.3 2003/02/08 15:25:21 franz// Mail address changed.//// Revision 1.2 2002/06/02 22:03:19 franz// Remittance view lists improved.// Remittance work dialogs implemented.//// Revision 1.1 2002/05/05 18:31:35 franz// Started with the implementatation of remittance views.////#ifndef LX_REMITTANCE_LIST_VIEW_ITEM_H#define LX_REMITTANCE_LIST_VIEW_ITEM_H#include <qstringlist.h> #include <qlistview.h> #include <qptrlist.h> class LxRemittance;class LxRemittanceListViewItem : public QListViewItem{public: LxRemittanceListViewItem (QListView * parent, QString label1, QString srtkey1, // number QStringList label2, QString srtkey2, // dates QString label3, // receiver QStringList label4, QString srtkey4, // account-no/blz QString label5, QString srtkey5, // amount QString label6, // currency QStringList label7, // text QString label8, // tan LxRemittance *rem); 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;// const QStringList& getDates () const { return dates; }// const QStringList& getAccBLZ () const { return accblz; }// const QStringList& getText () const { return remText; } LxRemittance *getRemittance () {return rm;}protected: LxRemittance *rm; QListView *lv; QStringList dates, accblz, remText; QString sortKey1, sortKey2, sortKey3, sortKey4, sortKey5, sortKey6, sortKey7, sortKey8;; int textHeight, textLeading, textSpacing, totalItemHeight; int width1, width2, width3, width4, width5, width6, width7, width8;};typedef QPtrList<LxRemittanceListViewItem> RemListVItemList;#endif // LxRemittanceListViewItem.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -