📄 lxuserlistdialog.h
字号:
// -*- C++ -*-// ****************************************************************************// // LxBank - home-banking for Linux using the HBCI standard// // Author: Franz Zimmermann 83043 Bad Aibling// // Copyright (C) 2002-2003 Franz Zimmermann - farafang@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 LxUserListDialog: Manage institute users within LxBank*/ // ***************************************************************************//// $Name: $//// $State: Exp $//// $Log: LxUserListDialog.h,v $// Revision 1.4 2003/02/08 15:25:21 franz// Mail address changed.//// Revision 1.3 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.2 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.1 2003/01/07 22:09:32 franz// Added user list dialog.////#ifndef LX_User_List_Dialog_H#define LX_User_List_Dialog_H#include "LxHbci.h"#include "LxAccount.h"#include <qdialog.h>class QListView;class QListViewItem;class QVBoxLayout;class QHBoxLayout;class QPushButton;class QString;class LxUserListDialog : public QDialog { Q_OBJECTpublic: LxUserListDialog(LxHbci *hbciapi, AccountList *acclist, QWidget *parent=0, const char *name=0, bool modal=TRUE, WFlags f=0); virtual ~LxUserListDialog (){} HBCI::Pointer<HBCI::User> getSelectedUser ( );private slots: void selectionChanged ( QListViewItem *lvItem ); void pressedInList ( QListViewItem *lvItem ); void createUser(); void showDetails(); void getAccounts(); void modifyUser(); void remove(); private: LxHbci *hbciApi; AccountList *accList; list<HBCI::Pointer<HBCI::User> > userList; QListView *lView; QVBoxLayout *vBox; QHBoxLayout *hBox; QPushButton *newButton; QPushButton *detailButton; QPushButton *getAccButton; QPushButton *modifyButton; QPushButton *removeButton; QPushButton *dismButton; void createButtons( ); void addButton( QPushButton *button ); void setButtonState ( QListViewItem *lvItem ); void setupUserList (); void addUserToList (int count, list<HBCI::Pointer<HBCI::User> >::iterator uit); void removeUser( HBCI::Pointer<HBCI::User> u);};#endif // LxUserListDialog.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -