convert to full tab-based ui
[novacoin.git] / src / qt / sendcoinsdialog.h
1 #ifndef SENDCOINSDIALOG_H
2 #define SENDCOINSDIALOG_H
3
4 #include <QDialog>
5
6 namespace Ui {
7     class SendCoinsDialog;
8 }
9 class WalletModel;
10
11 class SendCoinsDialog : public QDialog
12 {
13     Q_OBJECT
14
15 public:
16     explicit SendCoinsDialog(QWidget *parent = 0, const QString &address = "");
17     ~SendCoinsDialog();
18
19     void setModel(WalletModel *model);
20
21 public slots:
22     void clear();
23     void reject();
24     void accept();
25
26 private:
27     Ui::SendCoinsDialog *ui;
28     WalletModel *model;
29
30 private slots:
31     void on_payTo_textChanged(const QString &address);
32     void on_buttonBox_rejected();
33     void on_addressBookButton_clicked();
34     void on_pasteButton_clicked();
35     void on_sendButton_clicked();
36 };
37
38 #endif // SENDCOINSDIALOG_H