aboutsummaryrefslogtreecommitdiff
path: root/src/qt/messagepage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/messagepage.h')
-rw-r--r--src/qt/messagepage.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/qt/messagepage.h b/src/qt/messagepage.h
new file mode 100644
index 0000000000..55e6228124
--- /dev/null
+++ b/src/qt/messagepage.h
@@ -0,0 +1,38 @@
+#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);
+
+private:
+ Ui::MessagePage *ui;
+ WalletModel *model;
+
+private slots:
+ void on_pasteButton_clicked();
+ void on_addressBookButton_clicked();
+
+ void on_signMessage_clicked();
+ void on_copyToClipboard_clicked();
+};
+
+#endif // MESSAGEPAGE_H