From 4593e3cf4eca4867e34b3220007c24523cf642b6 Mon Sep 17 00:00:00 2001 From: allenforsythe Date: Sun, 04 May 2003 22:02:48 +0000 Subject: Initial revision --- (limited to 'noncore/apps/qashmoney/transferdialog.h') 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 @@ +#ifndef TRANSFERDIALOG_H +#define TRANSFERDIALOG_H + +#include +#include +#include +#include +#include +#include +#include + +#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 -- cgit v0.9.0.2