aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsdialog.h
blob: 4e019b72960e0388b8556cd2c6404f01c8a924d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef SENDCOINSDIALOG_H
#define SENDCOINSDIALOG_H

#include <QDialog>

namespace Ui {
    class SendCoinsDialog;
}
class WalletModel;

class SendCoinsDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SendCoinsDialog(QWidget *parent = 0, const QString &address = "");
    ~SendCoinsDialog();

    void setModel(WalletModel *model);

public slots:
    void clear();
    void reject();
    void accept();

private:
    Ui::SendCoinsDialog *ui;
    WalletModel *model;

private slots:
    void on_payTo_textChanged(const QString &address);
    void on_buttonBox_rejected();
    void on_addressBookButton_clicked();
    void on_pasteButton_clicked();
    void on_sendButton_clicked();
};

#endif // SENDCOINSDIALOG_H