2011-05-08 22:23:31 +02:00
|
|
|
#ifndef SENDCOINSDIALOG_H
|
|
|
|
#define SENDCOINSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2011-05-12 14:44:52 +02:00
|
|
|
namespace Ui {
|
|
|
|
class SendCoinsDialog;
|
|
|
|
}
|
2011-06-30 18:05:29 +02:00
|
|
|
class WalletModel;
|
2011-05-12 14:44:52 +02:00
|
|
|
|
2011-05-08 22:23:31 +02:00
|
|
|
class SendCoinsDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2011-05-12 14:44:52 +02:00
|
|
|
|
2011-05-08 22:23:31 +02:00
|
|
|
public:
|
2011-05-15 19:31:20 +02:00
|
|
|
explicit SendCoinsDialog(QWidget *parent = 0, const QString &address = "");
|
2011-05-12 14:44:52 +02:00
|
|
|
~SendCoinsDialog();
|
2011-05-08 22:23:31 +02:00
|
|
|
|
2011-06-30 18:05:29 +02:00
|
|
|
void setModel(WalletModel *model);
|
2011-05-30 20:20:12 +02:00
|
|
|
|
2011-07-07 17:33:15 +02:00
|
|
|
public slots:
|
|
|
|
void clear();
|
|
|
|
void reject();
|
|
|
|
void accept();
|
|
|
|
|
2011-05-12 14:44:52 +02:00
|
|
|
private:
|
|
|
|
Ui::SendCoinsDialog *ui;
|
2011-06-30 18:05:29 +02:00
|
|
|
WalletModel *model;
|
2011-05-12 17:55:24 +02:00
|
|
|
|
|
|
|
private slots:
|
2011-07-02 13:45:59 +02:00
|
|
|
void on_payTo_textChanged(const QString &address);
|
2011-05-12 17:55:24 +02:00
|
|
|
void on_addressBookButton_clicked();
|
|
|
|
void on_pasteButton_clicked();
|
|
|
|
void on_sendButton_clicked();
|
2011-05-08 22:23:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SENDCOINSDIALOG_H
|