summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qashmoney/transferdialog.h
Unidiff
Diffstat (limited to 'noncore/unsupported/qashmoney/transferdialog.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/unsupported/qashmoney/transferdialog.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/noncore/unsupported/qashmoney/transferdialog.h b/noncore/unsupported/qashmoney/transferdialog.h
new file mode 100755
index 0000000..dd55879
--- a/dev/null
+++ b/noncore/unsupported/qashmoney/transferdialog.h
@@ -0,0 +1,62 @@
1#ifndef TRANSFERDIALOG_H
2#define TRANSFERDIALOG_H
3
4#include <qdialog.h>
5#include <qlayout.h>
6#include <qlineedit.h>
7#include <qpushbutton.h>
8#include <qcheckbox.h>
9#include <qhbox.h>
10#include <qlabel.h>
11
12#include "preferences.h"
13#include "account.h"
14
15class TransferDialog : public QDialog
16{
17 Q_OBJECT
18
19public:
20 TransferDialog ( QWidget *parent, int fromaccountid, int toaccountid );
21
22 QLabel *fromaccountlabel;
23 QLabel *fromaccount;
24
25 QLabel *toaccountlabel;
26 QLabel *toaccount;
27
28 QLabel *datelabel;
29
30 QHBox *datebox;
31 QLineEdit *date;
32 QPushButton *datebutton;
33
34 QLabel *amounttlabel;
35
36 QHBox *amountbox;
37 QLineEdit *amount;
38 QPushButton *calculatorbutton;
39
40 QCheckBox *clearedcheckbox;
41
42 QBoxLayout *layout;
43
44 bool getDateEdited ();
45
46public slots:
47
48 void showCalendar ();
49 void showCalculator ();
50 int getDay ();
51 int getMonth ();
52 int getYear ();
53
54private:
55
56 int fromaccountid;
57 int toaccountid;
58 int year, month, day;
59 bool dateedited;
60};
61
62#endif