📄 lxremittanceview.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 LxRemittanceView: Remittance View widget for LxBank*/ // ***************************************************************************//// $Name: $//// $State: Exp $//// $Log: LxRemittanceView.h,v $// Revision 1.6 2003/05/01 14:06:22 arafang// Format of bank code data file changed: was blz.txt - ascii, new blz.bin - binary//// Revision 1.5 2003/02/08 15:25:21 franz// Mail address changed.//// Revision 1.4 2003/02/08 11:45:19 franz// Money transfer (single mode) works.//// Revision 1.3 2003/01/11 18:35:22 franz// Complete methods of class LxInteractor.// Worked on class LxPinDialog.// Improve class LxUserAddWizard.// Implement methods removeUser and getAccounts in class LxUserListDialog.// Button enable/dissable bug fixed in class LxRemittanceView.//// Revision 1.2 2002/07/02 23:09:45 franz// Now the accounts from the global accounts list are used within the program//// Revision 1.1 2002/06/02 22:03:19 franz// Remittance view lists improved.// Remittance work dialogs implemented.////#ifndef LX_REMITTANCE_VIEW_H#define LX_REMITTANCE_VIEW_H#include <qwidget.h>#include <qdialog.h>#include "LxHbci.h"#include "LxAccount.h"class QBoxLayout;class QListView;class QListViewItem;class QPushButton;class LxAccount;class LxRemittance;class LxRemittanceView : public QWidget{ Q_OBJECTpublic: LxRemittanceView( LxHbci *hbciapi, LxRemittance::RemittanceStatus rt, int buttonFlags, QWidget *parent = 0, const char *name = 0 ); ~LxRemittanceView(); void setAccount ( LxAccount* );protected slots: void selectionChanged ( QListViewItem *lvItem ); void pressedInList ( QListViewItem *lvItem ); void updateListView( RemittanceList& rm ); void create(); void view(); void modify(); void copy(); void submit(); void erase();private: QString objName; LxHbci *hbciApi; LxAccount *account; QListView *remittanceListView; QBoxLayout *vLayout; QBoxLayout *buttons; LxRemittance::RemittanceStatus rTyp; QPushButton *newButton; QPushButton *viewButton; QPushButton *modButton; QPushButton *copyButton; QPushButton *submitButton; QPushButton *printButton; QPushButton *delButton; void createButtons( int buttonFlags ); void addButton( QPushButton *b ); LxRemittance *getSelectedRemittance (); void setButtonState ( QListViewItem *lvItem ); void deleteRemittance ( LxRemittance *rm ); void saveRemittance ( LxRemittance *rm ); void saveRemittanceToAccount ( LxRemittance *rm );};#endif // LxRemittanceView.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -