lxbankselectionlist.h

来自「LxBank是一个基于Qt/X的家庭储蓄应用程序」· C头文件 代码 · 共 101 行

H
101
字号
// -*- 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 LxBankSelectionList: Bank selection dialog for LxBank*/ // ***************************************************************************//// $Name:  $//// $State: Exp $//// $Log: LxBankSelectionList.h,v $// Revision 1.3  2003/05/03 20:27:05  arafang// Use LxBankSelectionList within LxUserAddWizard to show a list// with BTX-names to put into the Short-Name input field.//// Revision 1.2  2003/05/03 16:36:05  arafang// Brief description corrected.//// Revision 1.1  2003/05/03 16:24:04  arafang// New class LxBankSelectionList. Used in LxRemittanceWorkDialog to present information about all banks of one bank code id.////#ifndef Lx_Bank_Selection_List_H#define Lx_Bank_Selection_List_H#include "LxBankCodeData.h"#include "LxPushButtonActions.h"#include <qdialog.h>#include <qpushbutton.h>class QListView;class QListViewItem;class QVBoxLayout;class QHBoxLayout;class QPushButton;class QSignalMapper;class LxBankSelectionList : public QDialog {  Q_OBJECTpublic:  LxBankSelectionList( const BankCodeVec &b,		       int buttonFlags,		       QString cap,		       QWidget *parent=0, const char *name=0, 		       bool modal=FALSE, WFlags f=0);  virtual ~LxBankSelectionList (){}  const LxBankCodeData& getSelectedBank ();protected slots:  void selectionDone ( QListViewItem *lvItem );  void selectionChanged ( QListViewItem *lvItem );  void pressedInList ( QListViewItem *lvItem );protected:  BankCodeVec   banks;  bool          canceledBanks;  QListView     *lView;  QSignalMapper *sm;  QVBoxLayout   *vBox;  QHBoxLayout   *hBox;  QPushButton   *okButton;  QPushButton   *dismissButton;  void createButtons( int buttonFlags );  void addButton( QPushButton *button, int result = 0 );  void setupBankList ();  void setButtonState ( QListViewItem *lvItem );};#endif // LxBankSelectionList.h

⌨️ 快捷键说明

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