Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

accountdisplay.h

Go to the documentation of this file.
00001 #ifndef ACCOUNTDISPLAY_H
00002 #define ACCOUNTDISPLAY_H
00003 
00004 #include <qlistview.h>
00005 #include <qpushbutton.h>
00006 #include <qlayout.h>
00007 #include <qtabwidget.h>
00008 #include <qhbox.h>
00009 
00010 class AccountDisplay : public QWidget
00011   {
00012     Q_OBJECT
00013 
00014     public:
00015       AccountDisplay ( QWidget *parent );
00016 
00017       QHBox *firstline;
00018 
00019       QPushButton* newaccount;
00020       QPushButton* editaccount;
00021       QPushButton* deleteaccount;
00022       QPushButton* transferbutton;
00023 
00024       QListView* listview;
00025 
00026       QBoxLayout *layout;
00027 
00028       void setTabs ( QWidget *newtab2, QTabWidget *newtabs );
00029       int getIDColumn ();
00030       void setToggleButton ();
00031 
00032     public slots:
00033       void addAccount ();
00034       void editAccount ();
00035       void deleteAccount ();
00036       void accountTransfer ( bool state );
00037       void getTransferAccounts ( QListViewItem * item );
00038       void disableParentsWithChildren ();
00039       void enableAccounts ();
00040 
00041     private slots:
00042       void saveColumnSize ( int column, int oldsize, int newsize );
00043       void setAccountExpanded ( QListViewItem *item );
00044       void setAccountCollapsed ( QListViewItem *item );
00045       void saveSortingPreference ( int column );
00046 
00047     private:
00048       int type, firstaccountid, secondaccountid, cleared;
00049       QWidget *tab2;
00050       QTabWidget *maintabs;
00051 };
00052 
00053 #endif // ACCOUNTDISPLAY_H
00054 

Generated on Sat Nov 5 16:18:11 2005 for OPIE by  doxygen 1.4.2