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/apps/qashmoney/transactiondisplay.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/apps/qashmoney/transactiondisplay.h') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/transactiondisplay.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/noncore/apps/qashmoney/transactiondisplay.h b/noncore/apps/qashmoney/transactiondisplay.h deleted file mode 100755 index 594776a..0000000 --- a/noncore/apps/qashmoney/transactiondisplay.h +++ b/dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | #ifndef TRANSACTIONDISPLAY_H | ||
2 | #define TRANSACTIONDISPLAY_H | ||
3 | |||
4 | #include <qlayout.h> | ||
5 | #include <qhbox.h> | ||
6 | #include <qlistview.h> | ||
7 | #include <qpushbutton.h> | ||
8 | #include <qlabel.h> | ||
9 | #include <qlineedit.h> | ||
10 | #include <qdatetime.h> | ||
11 | |||
12 | class TransactionDisplay : public QWidget | ||
13 | { | ||
14 | Q_OBJECT | ||
15 | |||
16 | public: | ||
17 | TransactionDisplay ( QWidget* parent ); | ||
18 | |||
19 | QListView* listview; | ||
20 | QPushButton* newtransaction; | ||
21 | QPushButton* edittransaction; | ||
22 | QPushButton* deletetransaction; | ||
23 | QPushButton* toggletransaction; | ||
24 | QPushButton* viewtransactionnotes; | ||
25 | |||
26 | QLabel *name; | ||
27 | QLabel *balance; | ||
28 | QLineEdit *limitbox; | ||
29 | QLineEdit *amount; | ||
30 | QLineEdit *date; | ||
31 | |||
32 | int getIDColumn (); | ||
33 | |||
34 | public slots: | ||
35 | void setChildren ( bool ); | ||
36 | void setAccountID ( int ); | ||
37 | void showTransactionNotes (); | ||
38 | |||
39 | private slots: | ||
40 | void addTransaction (); | ||
41 | void editTransaction (); | ||
42 | void editTransfer (); | ||
43 | void deleteTransaction (); | ||
44 | void toggleTransaction (); | ||
45 | void checkListViewDelete (); | ||
46 | void checkListViewEdit (); | ||
47 | void checkListViewToggle (); | ||
48 | void saveColumnSize ( int column, int oldsize, int newsize ); | ||
49 | void limitDisplay ( const QString & ); | ||
50 | void showCalculator (); | ||
51 | void showCalendar (); | ||
52 | void setTransactionDisplayDate (); | ||
53 | void saveSortingPreference ( int column ); | ||
54 | |||
55 | private: | ||
56 | int accountid, fromaccount, fromparent, toaccount, toparent, day, month, year, transferid; | ||
57 | QDate displaydate; | ||
58 | bool children; | ||
59 | QBoxLayout *layout; | ||
60 | QHBox *firstline; | ||
61 | QHBox *secondline; | ||
62 | void redisplayAccountBalance (); | ||
63 | void updateAndDisplay ( int accountid ); | ||
64 | }; | ||
65 | |||
66 | #endif | ||
67 | |||
68 | #ifndef COLORLISTITEM_H | ||
69 | #define COLORLISTITEM_H | ||
70 | |||
71 | class ColorListItem : public QListViewItem | ||
72 | { | ||
73 | public: | ||
74 | |||
75 | ColorListItem ( QListView *parent ); | ||
76 | ColorListItem ( QListView *parent, QString label1, QString label2, QString label3, QString label4 ); | ||
77 | ColorListItem ( QListView *parent, QString label1, QString label2, QString label3, QString label4, QString label5 ); | ||
78 | |||
79 | virtual void paintCell ( QPainter *p, const QColorGroup &cg, int column, int width, int alignment ); | ||
80 | }; | ||
81 | |||
82 | #endif | ||
83 | |||