📄 lxremittanceworkdialog.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 LxRemittanceWorkDialog: Remittance work dialog for LxBank*/ // ***************************************************************************//// $Name: $//// $State: Exp $//// $Log: LxRemittanceWorkDialog.h,v $// Revision 1.6 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.5 2003/05/01 14:06:22 arafang// Format of bank code data file changed: was blz.txt - ascii, new blz.bin - binary//// Revision 1.4 2003/02/08 15:25:21 franz// Mail address changed.//// Revision 1.3 2002/07/02 23:09:45 franz// Now the accounts from the global accounts list are used within the program//// Revision 1.2 2002/06/14 22:42:06 franz// Wored on LxTextParag//// Revision 1.1 2002/06/02 22:03:19 franz// Remittance view lists improved.// Remittance work dialogs implemented.////#ifndef LX_REMITTANCE_WORK_DIALOG_H#define LX_REMITTANCE_WORK_DIALOG_H#include "LxHbci.h"#include <qdialog.h>#include <qpushbutton.h>#define LxCellLineEdit QLineEditclass QListView;class QListViewItem;class QVBoxLayout;class QHBoxLayout;class LxPushButton;class QPushButton;class QSignalMapper;class QLineEdit;#ifndef LxCellLineEditclass LxCellLineEdit;#endifclass LxAccount;class LxRemittance;class LxRemittanceForm : public QWidget { Q_OBJECTpublic: LxRemittanceForm (LxHbci *hbciapi, LxAccount *acc, LxRemittance *rm=0, bool rdonly = TRUE, QWidget *parent=0, const char *name=0); virtual ~LxRemittanceForm (){} void setReceiverStr (const QString &); void setReceiverAccountNoStr (const QString &); void setReceiverBLZStr (const QString &); void setCurrencyStr (const QString &); void setAmountStr (const QString &); void setText1Str (const QString &); void setText2Str (const QString &); void setTanStr (const QString &); void setDateStr (const QString &); QString getReceiverStr () const; QString getReceiverAccountNoStr () const; QString getReceiverBLZStr () const; QString getCurrencyStr () const; QString getAmountStr () const; QString getText1Str () const; QString getText2Str () const; QString getTanStr () const; QString getDateStr () const; public slots: void setReadOnly ( ); void setEditAble ( );private slots: void getReceiverInstitute (); void receiverBLZTextChanged ( const QString & ); void showReceiverInstDetails ();private: LxHbci *hbciApi; LxAccount *account; LxRemittance *remittance; LxCellLineEdit *receiver; LxCellLineEdit *receiverAccountNo; LxCellLineEdit *receiverBLZ; QPushButton *getRecInstitute; LxCellLineEdit *receiverInstitute; QPushButton *receiverInstDetails; LxCellLineEdit *currency; LxCellLineEdit *amount; LxCellLineEdit *text1; LxCellLineEdit *text2; LxCellLineEdit *accountBearer; LxCellLineEdit *bearerAccountNo; LxCellLineEdit *tan; QLineEdit *date; void setTextContents (); void setReceiverInstitute ();};class LxRemittanceWorkDialog : public QDialog { Q_OBJECTpublic: LxRemittanceWorkDialog( int buttonFlags, LxHbci *hbciapi, LxAccount *acc, LxRemittance *rm=0, bool rdonly = TRUE, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags f=0); ~LxRemittanceWorkDialog (){}private slots: void save (); void copy (); void paste ();private: LxHbci *hbciApi; LxAccount *account; LxRemittance *remittance; QSignalMapper *sm; QHBoxLayout *dialogBox; LxRemittanceForm *form; QVBoxLayout *buttons; LxPushButton *modButton; LxPushButton *copyButton; LxPushButton *pasteButton; LxPushButton *saveButton; LxPushButton *saveToButton; LxPushButton *saveExButton; LxPushButton *printButton; LxPushButton *delButton; LxPushButton *dismButton; void createButtons( int buttonFlags ); void addButton( LxPushButton *button, int result );};#endif // LxRemittanceWorkDialog.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -