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