diff options
author | sje397 <sje397@gmail.com> | 2012-02-27 22:55:04 +1100 |
---|---|---|
committer | sje397 <sje397@gmail.com> | 2012-05-12 00:13:13 +1000 |
commit | 0c587936c7f0bbab83c54f877f720dbf3387ef73 (patch) | |
tree | 506f436c3e13fefb83197c83e8e0debaa74e6b74 /src/qt/verifymessagedialog.h | |
parent | 97521b5257046d62fee367ee79ef4b4133db3601 (diff) |
Add a menu option to verify a signed message
(Also move 'setAttribute(Qt::WA_DeleteOnClose)' out of QRCodeDialog)
Diffstat (limited to 'src/qt/verifymessagedialog.h')
-rw-r--r-- | src/qt/verifymessagedialog.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/qt/verifymessagedialog.h b/src/qt/verifymessagedialog.h new file mode 100644 index 0000000000..6a641f7731 --- /dev/null +++ b/src/qt/verifymessagedialog.h @@ -0,0 +1,36 @@ +#ifndef VERIFYMESSAGEDIALOG_H +#define VERIFYMESSAGEDIALOG_H + +#include <QDialog> + +class AddressTableModel; + +QT_BEGIN_NAMESPACE +class QAbstractButton; +QT_END_NAMESPACE + +namespace Ui { + class VerifyMessageDialog; +} + +class VerifyMessageDialog : public QDialog +{ + Q_OBJECT + +public: + explicit VerifyMessageDialog(AddressTableModel *addressModel, QWidget *parent = 0); + ~VerifyMessageDialog(); + +private slots: + void on_buttonBox_clicked(QAbstractButton *button); + + void on_copyToClipboard_clicked(); + +private: + bool checkAddress(); + + Ui::VerifyMessageDialog *ui; + AddressTableModel *model; +}; + +#endif // VERIFYMESSAGEDIALOG_H |