Diffstat (limited to 'noncore/apps/qashmoney/qashmoney.h') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/apps/qashmoney/qashmoney.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/qashmoney.h b/noncore/apps/qashmoney/qashmoney.h new file mode 100755 index 0000000..cf0bd42 --- a/dev/null +++ b/noncore/apps/qashmoney/qashmoney.h | |||
@@ -0,0 +1,61 @@ | |||
1 | #ifndef QASHMONEY_H | ||
2 | #define QASHMONEY_H | ||
3 | |||
4 | #include <qpe/qpemenubar.h> | ||
5 | #include <qpopupmenu.h> | ||
6 | #include <qlayout.h> | ||
7 | #include <qtabwidget.h> | ||
8 | |||
9 | #include "accountdisplay.h" | ||
10 | #include "transactiondisplay.h" | ||
11 | #include "budgetdisplay.h" | ||
12 | #include "account.h" | ||
13 | #include "preferences.h" | ||
14 | #include "transaction.h" | ||
15 | #include "transfer.h" | ||
16 | #include "memory.h" | ||
17 | #include "budget.h" | ||
18 | |||
19 | class QashMoney : public QWidget | ||
20 | { | ||
21 | Q_OBJECT | ||
22 | |||
23 | public: | ||
24 | QashMoney (); | ||
25 | ~QashMoney(); | ||
26 | |||
27 | QTabWidget* maintabs; | ||
28 | QWidget* tab; | ||
29 | QWidget* tab_2; | ||
30 | QWidget* tab_3; | ||
31 | |||
32 | QPEMenuBar *mainmenu; | ||
33 | QPopupMenu *preferencesmenu; | ||
34 | QPopupMenu *utilitiesmenu; | ||
35 | |||
36 | public slots: | ||
37 | void displayDatePreferencesDialog (); | ||
38 | void displayTransactionPreferencesDialog (); | ||
39 | void displayAccountPreferencesDialog (); | ||
40 | void displayMemoryDialog (); | ||
41 | void setTransactionTab (); | ||
42 | |||
43 | private slots: | ||
44 | void changeTabDisplay (); | ||
45 | void showTransactions (); | ||
46 | void enableOneTouchViewing (); | ||
47 | void disableOneTouchViewing (); | ||
48 | void toggleOneTouchViewing ( bool ); | ||
49 | |||
50 | private: | ||
51 | QVBoxLayout *layout; | ||
52 | QVBoxLayout *tabslayout; | ||
53 | AccountDisplay *accountdisplay; | ||
54 | TransactionDisplay *transactiondisplay; | ||
55 | BudgetDisplay *budgetdisplay; | ||
56 | int tabheight; | ||
57 | |||
58 | }; | ||
59 | |||
60 | #endif | ||
61 | |||