aboutsummaryrefslogtreecommitdiff
path: root/src/qt/messagepage.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2011-12-23 10:14:57 -0500
committerWladimir J. van der Laan <laanwj@gmail.com>2012-01-27 08:41:55 +0100
commit2bc4fd609ca00d5a5cb0b6b3eba5f35cb334b967 (patch)
tree79eb64f0322a6b6fadaa72cbce3b3fc369a2a007 /src/qt/messagepage.h
parent70f55355e29c8e45b607e782c5d76609d23cc858 (diff)
Bitcoin-Qt signmessage GUI (pull request #582)
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