summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qashmoney/transferdialog.h
Side-by-side diff
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 @@
+#ifndef TRANSFERDIALOG_H
+#define TRANSFERDIALOG_H
+
+#include <qdialog.h>
+#include <qlayout.h>
+#include <qlineedit.h>
+#include <qpushbutton.h>
+#include <qcheckbox.h>
+#include <qhbox.h>
+#include <qlabel.h>
+
+#include "preferences.h"
+#include "account.h"
+
+class TransferDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ TransferDialog ( QWidget *parent, int fromaccountid, int toaccountid );
+
+ QLabel *fromaccountlabel;
+ QLabel *fromaccount;
+
+ QLabel *toaccountlabel;
+ QLabel *toaccount;
+
+ QLabel *datelabel;
+
+ QHBox *datebox;
+ QLineEdit *date;
+ QPushButton *datebutton;
+
+ QLabel *amounttlabel;
+
+ QHBox *amountbox;
+ QLineEdit *amount;
+ QPushButton *calculatorbutton;
+
+ QCheckBox *clearedcheckbox;
+
+ QBoxLayout *layout;
+
+ bool getDateEdited ();
+
+public slots:
+
+ void showCalendar ();
+ void showCalculator ();
+ int getDay ();
+ int getMonth ();
+ int getYear ();
+
+private:
+
+ int fromaccountid;
+ int toaccountid;
+ int year, month, day;
+ bool dateedited;
+};
+
+#endif