summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qashmoney/datepicker.h
authormickeyl <mickeyl>2004-11-04 10:33:04 (UTC)
committer mickeyl <mickeyl>2004-11-04 10:33:04 (UTC)
commit7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77 (patch) (unidiff)
treee76604c6af3da9c19b69dcdcf8105d58bac63f71 /noncore/unsupported/qashmoney/datepicker.h
parentcd2d50799e087fad5b56df9d7fe9aa572a313e64 (diff)
downloadopie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.zip
opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.gz
opie-7855b19ce0241a7b7b4fc72e3a8ddd9bf73b0a77.tar.bz2
opie-qashmoney is now unsupported
Diffstat (limited to 'noncore/unsupported/qashmoney/datepicker.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/unsupported/qashmoney/datepicker.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/noncore/unsupported/qashmoney/datepicker.h b/noncore/unsupported/qashmoney/datepicker.h
new file mode 100755
index 0000000..67e63e9
--- a/dev/null
+++ b/noncore/unsupported/qashmoney/datepicker.h
@@ -0,0 +1,60 @@
1#ifndef DATEPICKER_H
2#define DATEPICKER_H
3
4#include <qdialog.h>
5#include <qlabel.h>
6#include <qdatetime.h>
7#include <qcombobox.h>
8#include <qlayout.h>
9
10class DatePicker : public QDialog
11
12 {
13 Q_OBJECT
14
15 public:
16 QLabel *daylabel;
17 QComboBox *daybox;
18
19 QLabel *monthlabel;
20 QComboBox *monthbox;
21
22 DatePicker ( QDate entrydate );
23 int getDay ();
24 int getMonth ();
25 int getYear ();
26
27 private slots:
28 void setDay ( int );
29 void setMonth ( int );
30 void setYear ( int );
31
32 private:
33 void displayDays ( QComboBox *daybox );
34 void displayMonths ( QComboBox *monthbox );
35 void displayYears ( QComboBox *yearbox );
36
37 QDate date;
38
39 QLabel *yearlabel;
40 QComboBox *yearbox;
41
42 QGridLayout *layout;
43
44 int day, month, year;
45
46 };
47
48#endif
49
50
51
52
53
54
55
56
57
58
59
60