aboutsummaryrefslogtreecommitdiff
path: root/src/qt/messagepage.h
blob: d668ae98d051971c680482920473078c45d6d6f2 (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
39
40
41
42
#ifndef MESSAGEPAGE_H
#define MESSAGEPAGE_H

#include <QDialog>

namespace Ui {
    class MessagePage;
}
class WalletModel;

QT_BEGIN_NAMESPACE
QT_END_NAMESPACE

class MessagePage : public QDialog
{
    Q_OBJECT

public:
    explicit MessagePage(QWidget *parent = 0);
    ~MessagePage();

    void setModel(WalletModel *model);

    void setAddress(QString);

protected:
    bool eventFilter(QObject *object, QEvent *event);

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

private slots:
    void on_pasteButton_clicked();
    void on_addressBookButton_clicked();

    void on_signMessage_clicked();
    void on_copyToClipboard_clicked();
    void on_clearButton_clicked();
};

#endif // MESSAGEPAGE_H