summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/transferdialog.h
authorallenforsythe <allenforsythe>2003-05-04 22:02:48 (UTC)
committer allenforsythe <allenforsythe>2003-05-04 22:02:48 (UTC)
commit4593e3cf4eca4867e34b3220007c24523cf642b6 (patch) (unidiff)
treebd8071834dec2a5008b1b270c7953f5cfd65754d /noncore/apps/qashmoney/transferdialog.h
parent2894d0b14c0b3efa3ce259214b5aa597a6abfed1 (diff)
downloadopie-4593e3cf4eca4867e34b3220007c24523cf642b6.zip
opie-4593e3cf4eca4867e34b3220007c24523cf642b6.tar.gz
opie-4593e3cf4eca4867e34b3220007c24523cf642b6.tar.bz2
Initial revision
Diffstat (limited to 'noncore/apps/qashmoney/transferdialog.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/transferdialog.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/transferdialog.h b/noncore/apps/qashmoney/transferdialog.h
new file mode 100755
index 0000000..dd55879
--- a/dev/null
+++ b/noncore/apps/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