summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/transactiondisplay.h
Unidiff
Diffstat (limited to 'noncore/apps/qashmoney/transactiondisplay.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/transactiondisplay.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/transactiondisplay.h b/noncore/apps/qashmoney/transactiondisplay.h
index 79f20ba..1746f6c 100755
--- a/noncore/apps/qashmoney/transactiondisplay.h
+++ b/noncore/apps/qashmoney/transactiondisplay.h
@@ -1,21 +1,22 @@
1#ifndef TRANSACTIONDISPLAY_H 1#ifndef TRANSACTIONDISPLAY_H
2#define TRANSACTIONDISPLAY_H 2#define TRANSACTIONDISPLAY_H
3 3
4#include <qlayout.h> 4#include <qlayout.h>
5#include <qhbox.h> 5#include <qhbox.h>
6#include <qlistview.h> 6#include <qlistview.h>
7#include <qpushbutton.h> 7#include <qpushbutton.h>
8#include <qlabel.h> 8#include <qlabel.h>
9#include <qlineedit.h> 9#include <qlineedit.h>
10#include <qdatetime.h>
10 11
11class TransactionDisplay : public QWidget 12class TransactionDisplay : public QWidget
12 { 13 {
13 Q_OBJECT 14 Q_OBJECT
14 15
15 public: 16 public:
16 TransactionDisplay ( QWidget* parent ); 17 TransactionDisplay ( QWidget* parent );
17 18
18 QListView* listview; 19 QListView* listview;
19 QPushButton* newtransaction; 20 QPushButton* newtransaction;
20 QPushButton* edittransaction; 21 QPushButton* edittransaction;
21 QPushButton* deletetransaction; 22 QPushButton* deletetransaction;
@@ -39,27 +40,29 @@ class TransactionDisplay : public QWidget
39 void addTransaction (); 40 void addTransaction ();
40 void editTransaction (); 41 void editTransaction ();
41 void editTransfer (); 42 void editTransfer ();
42 void deleteTransaction (); 43 void deleteTransaction ();
43 void toggleTransaction (); 44 void toggleTransaction ();
44 void checkListViewDelete (); 45 void checkListViewDelete ();
45 void checkListViewEdit (); 46 void checkListViewEdit ();
46 void checkListViewToggle (); 47 void checkListViewToggle ();
47 void saveColumnSize ( int column, int oldsize, int newsize ); 48 void saveColumnSize ( int column, int oldsize, int newsize );
48 void limitDisplay ( const QString & ); 49 void limitDisplay ( const QString & );
49 void showCalculator (); 50 void showCalculator ();
50 void showCalendar (); 51 void showCalendar ();
52 void setTransactionDisplayDate ();
51 53
52 private: 54 private:
53 int accountid, fromaccount, fromparent, toaccount, toparent, day, month, year, transferid; 55 int accountid, fromaccount, fromparent, toaccount, toparent, day, month, year, transferid;
56 QDate displaydate;
54 bool children; 57 bool children;
55 QBoxLayout *layout; 58 QBoxLayout *layout;
56 QHBox *firstline; 59 QHBox *firstline;
57 QHBox *secondline; 60 QHBox *secondline;
58 void redisplayAccountBalance (); 61 void redisplayAccountBalance ();
59 void updateAndDisplay ( int accountid ); 62 void updateAndDisplay ( int accountid );
60 }; 63 };
61 64
62#endif 65#endif
63 66
64#ifndef COLORLISTITEM_H 67#ifndef COLORLISTITEM_H
65#define COLORLISTITEM_H 68#define COLORLISTITEM_H