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

📄 lxaccountselectdialog.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 LxAccountSelectDialog: Account selection dialog for LxBank*/ // ***************************************************************************//// $Name:  $//// $State: Exp $//// $Log: LxAccountSelectDialog.h,v $// Revision 1.9  2003/05/03 16:24:04  arafang// New class LxBankSelectionList. Used in LxRemittanceWorkDialog to present information about all banks of one bank code id.//// Revision 1.8  2003/02/08 15:25:20  franz// Mail address changed.//// Revision 1.7  2003/02/03 23:06:10  franz// Class LxRemittance adapted to needs of HBCI. Remittances saved on Account// config. LxRemittanceWorkDialog and constructor of class LxRemittance improved// to avoid possible core dumps with QString method latin1 and class QStringList.// Make checks in LxAccount::updateBalanceAndAccStmt weather a job has been// performed successfully or not.//// Revision 1.6  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.5  2003/01/07 22:09:31  franz// Added user list dialog.//// Revision 1.4  2003/01/02 15:04:45  franz// Started to use the openHBCI lib.//// Revision 1.3  2002/06/02 22:03:19  franz// Remittance view lists improved.// Remittance work dialogs implemented.//// Revision 1.2  2002/05/15 00:38:18  franz// Started to switch to Qt3.// Class LxRemittanceViewButton renamed to LxPushButton.// Layout of LxAccountSelectDialog improved.//// Revision 1.1  2002/04/22 23:53:16  franz// Account open dialog implemented. This dialog presents a list of all// existing accounts. The information where the account data files are// located is stored in the LxBank resource directory '~/.LxBank' in the// file 'accounts.dat'.////#ifndef LX_ACCOUNT_SELECT_DIALOG_H#define LX_ACCOUNT_SELECT_DIALOG_H#include <qdialog.h>#include "LxAccount.h"#include "LxHbci.h"class QListView;class QListViewItem;class QVBoxLayout;class QHBoxLayout;class QPushButton;class QSignalMapper;class QString;class LxAccountSelectDialog : public QDialog {  Q_OBJECTpublic:  LxAccountSelectDialog(LxHbci *hbciapi, AccountList *acclist,			int buttonFlags,			QString cap,			QWidget *parent=0, const char *name=0, 			bool modal=FALSE, WFlags f=0);  virtual ~LxAccountSelectDialog (){}  LxAccount* getSelectedAccount ();protected slots:  void selectionDone ( QListViewItem *lvItem );  void selectionChanged ( QListViewItem *lvItem );  void pressedInList ( QListViewItem *lvItem );  void edit();  void remove();protected:  LxHbci        *hbciApi;  AccountList   *accList;  QListView     *lView;  QSignalMapper *sm;  QVBoxLayout   *vBox;  QHBoxLayout   *hBox;  QPushButton   *openButton;  QPushButton   *saveButton;  QPushButton   *editButton;  QPushButton   *deleteButton;  QPushButton   *closeButton;//   void createButtons1( int buttonFlags );  void createButtons( int buttonFlags );  void addButton( QPushButton *button, int result = 0 );  void setButtonState ( QListViewItem *lvItem );  void setupAccountList ();  void addAccountToList (LxAccount* acc);  void removeAccount( LxAccount *acc );};#endif // LxAccountSelectDialog.h

⌨️ 快捷键说明

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