📄 lxmainwin.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 LxMainWin: Main Window for LxBank*/ // ***************************************************************************//// $Name: $//// $State: Exp $//// $Log: LxMainWin.h,v $// Revision 1.13 2003/02/08 15:25:21 franz// Mail address changed.//// Revision 1.12 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.11 2003/01/18 15:36:09 franz// New class LxAccountStmtView implemented.//// Revision 1.10 2003/01/17 00:56:42 franz// Getting account statements work.//// Revision 1.9 2003/01/02 15:04:45 franz// Started to use the openHBCI lib.//// Revision 1.8 2002/07/04 23:18:31 franz// Optimize performance of class LxAccount.// Add account close function.//// Revision 1.7 2002/07/02 23:09:45 franz// Now the accounts from the global accounts list are used within the program//// Revision 1.6 2002/06/02 22:03:19 franz// Remittance view lists improved.// Remittance work dialogs implemented.//// Revision 1.5 2002/05/15 00:38:18 franz// Started to switch to Qt3.// Class LxRemittanceViewButton renamed to LxPushButton.// Layout of LxAccountSelectDialog improved.//// Revision 1.4 2002/05/05 18:31:35 franz// Started with the implementatation of remittance views.//// Revision 1.3 2002/04/19 23:51:20 franz// Account statement printing implemented//// Revision 1.2 2002/04/07 23:20:47 franz// Worked on account view window.//// Revision 1.1.1.1 2002/04/05 08:33:43 franz// Gets LxBank under revision control//////#ifndef LX_MAIN_WIN_H#define LX_MAIN_WIN_H#include <qmainwindow.h>#include <qstring.h> #include <qfont.h> #include "LxHbci.h"#include "LxMainMenu.h"#include "LxAccount.h"#include "LxAccountStmtView.h"#include "LxAccountStmtPrint.h"#include "LxRemittanceView.h"class QToolBar;class QToolButton;class QStatusBar;class QListView;class QLabel;class QPushButton;class QVBoxLayout;class LxMainWin : public QMainWindow{ Q_OBJECTpublic: LxMainWin( LxHbci *hbciapi, QApplication *qa, QWidget *parent=0, const char *name=0 ); LxMainMenu *getMenu () const { return menu; }protected slots: void openAccount( LxAccount* ); void closeAccount( ); void updateAccountDataView( const LxAccount& ); void updateAccountDataPrint( QListView* ); void printAccountStmt();protected: LxHbci *hbciApi; QApplication *app; LxAccount *account; LxMainMenu *menu; LxAccountStmtView *accStmtBox; LxRemittanceView *curRemBox; LxRemittanceView *procRemBox; LxAccountStmtPrint *prtStm; QString konto; QString kontoDaten; QString auszuege; QString ueberweisungen; QLabel *Bank; QLabel *Inhaber; QLabel *Konto; QLabel *BLZ; QLabel *KtoNumber; QFont KontoFont; QLabel *LastAuszug; QLabel *KontoStand; QToolBar *tools; QToolButton *exit; QToolButton *open; QToolButton *close; QToolButton *print; QToolButton *newuser; QToolButton *users; QStatusBar *stat; void resetAccountDataView( ); void disconnectRecentAccount( ); void connectActualAccount( );};#endif // LxMainWin.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -