author | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-04 10:33:04 (UTC) |
commit | 7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77 (patch) (unidiff) | |
tree | e76604c6af3da9c19b69dcdcf8105d58bac63f71 /noncore/unsupported/qashmoney/accountdisplay.h | |
parent | cd2d50799e087fad5b56df9d7fe9aa572a313e64 (diff) | |
download | opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.zip opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.gz opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.bz2 |
opie-qashmoney is now unsupported
Diffstat (limited to 'noncore/unsupported/qashmoney/accountdisplay.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/unsupported/qashmoney/accountdisplay.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/noncore/unsupported/qashmoney/accountdisplay.h b/noncore/unsupported/qashmoney/accountdisplay.h new file mode 100755 index 0000000..6d67b9b --- a/dev/null +++ b/noncore/unsupported/qashmoney/accountdisplay.h | |||
@@ -0,0 +1,54 @@ | |||
1 | #ifndef ACCOUNTDISPLAY_H | ||
2 | #define ACCOUNTDISPLAY_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | #include <qpushbutton.h> | ||
6 | #include <qlayout.h> | ||
7 | #include <qtabwidget.h> | ||
8 | #include <qhbox.h> | ||
9 | |||
10 | class AccountDisplay : public QWidget | ||
11 | { | ||
12 | Q_OBJECT | ||
13 | |||
14 | public: | ||
15 | AccountDisplay ( QWidget *parent ); | ||
16 | |||
17 | QHBox *firstline; | ||
18 | |||
19 | QPushButton* newaccount; | ||
20 | QPushButton* editaccount; | ||
21 | QPushButton* deleteaccount; | ||
22 | QPushButton* transferbutton; | ||
23 | |||
24 | QListView* listview; | ||
25 | |||
26 | QBoxLayout *layout; | ||
27 | |||
28 | void setTabs ( QWidget *newtab2, QTabWidget *newtabs ); | ||
29 | int getIDColumn (); | ||
30 | void setToggleButton (); | ||
31 | |||
32 | public slots: | ||
33 | void addAccount (); | ||
34 | void editAccount (); | ||
35 | void deleteAccount (); | ||
36 | void accountTransfer ( bool state ); | ||
37 | void getTransferAccounts ( QListViewItem * item ); | ||
38 | void disableParentsWithChildren (); | ||
39 | void enableAccounts (); | ||
40 | |||
41 | private slots: | ||
42 | void saveColumnSize ( int column, int oldsize, int newsize ); | ||
43 | void setAccountExpanded ( QListViewItem *item ); | ||
44 | void setAccountCollapsed ( QListViewItem *item ); | ||
45 | void saveSortingPreference ( int column ); | ||
46 | |||
47 | private: | ||
48 | int type, firstaccountid, secondaccountid, cleared; | ||
49 | QWidget *tab2; | ||
50 | QTabWidget *maintabs; | ||
51 | }; | ||
52 | |||
53 | #endif // ACCOUNTDISPLAY_H | ||
54 | |||