summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/preferencedialogs.h
Unidiff
Diffstat (limited to 'noncore/apps/qashmoney/preferencedialogs.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/preferencedialogs.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/preferencedialogs.h b/noncore/apps/qashmoney/preferencedialogs.h
new file mode 100755
index 0000000..e96c4bd
--- a/dev/null
+++ b/noncore/apps/qashmoney/preferencedialogs.h
@@ -0,0 +1,84 @@
1#include <qcombobox.h>
2#include <qdialog.h>
3#include <qpushbutton.h>
4#include <qpixmap.h>
5#include <qgroupbox.h>
6#include <qhbuttongroup.h>
7#include <qcheckbox.h>
8#include <qlayout.h>
9
10#ifndef DATEPREFERENCES_H
11#define DATEPREFERENCES_H
12
13class DatePreferences : public QDialog
14 {
15 Q_OBJECT
16
17 public:
18 DatePreferences ( QWidget * parent );
19 ~DatePreferences();
20
21 QPushButton *defaults;
22 QComboBox *dateformat;
23 QComboBox *dateseparator;
24 QBoxLayout *layout;
25
26 public slots:
27 void changeDateFormat ( int );
28 void changeDateSeparator ( int );
29 void setDefaultDatePreferences ();
30};
31
32#endif
33
34#ifndef TRANSACTIONPREFERENCES_H
35#define TRANSACTIONPREFERENCES_H
36
37class TransactionPreferences : public QDialog
38 {
39 Q_OBJECT
40
41 public:
42 TransactionPreferences ( QWidget * parent );
43 ~TransactionPreferences();
44
45 QCheckBox *showclearedtransactions;
46 QCheckBox *excludetransfers;
47 QPushButton *defaults;
48 QBoxLayout *layout;
49
50 public slots:
51 void changeShowClearedPreference ( bool );
52 void changeExcludeTranfersPreference ( bool );
53 void setDefaultTransactionPreferences ();
54};
55
56#endif
57
58#ifndef ACCOUNTPREFERENCES_H
59#define ACCOUNTPREFERENCES_H
60
61class AccountPreferences : public QDialog
62 {
63 Q_OBJECT
64
65 public:
66 AccountPreferences ( QWidget * parent );
67 ~AccountPreferences();
68
69 QCheckBox *currencysupport;
70 QCheckBox *onetouch;
71 QPushButton *defaults;
72 QBoxLayout *layout;
73
74 public slots:
75 void changeCurrencySupport ( bool );
76 void changeOneTouchViewing ( bool );
77 void setDefaultAccountPreferences ();
78};
79
80#endif
81
82
83
84