Fix constness of ArgsManager methods
[bitcoinplatinum.git] / src / qt / signverifymessagedialog.h
blobd2e04cd4fe67f6d49e561cd4a3832f42730f3795
1 // Copyright (c) 2011-2015 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
6 #define BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
8 #include <QDialog>
10 class PlatformStyle;
11 class WalletModel;
13 namespace Ui {
14 class SignVerifyMessageDialog;
17 class SignVerifyMessageDialog : public QDialog
19 Q_OBJECT
21 public:
22 explicit SignVerifyMessageDialog(const PlatformStyle *platformStyle, QWidget *parent);
23 ~SignVerifyMessageDialog();
25 void setModel(WalletModel *model);
26 void setAddress_SM(const QString &address);
27 void setAddress_VM(const QString &address);
29 void showTab_SM(bool fShow);
30 void showTab_VM(bool fShow);
32 protected:
33 bool eventFilter(QObject *object, QEvent *event);
35 private:
36 Ui::SignVerifyMessageDialog *ui;
37 WalletModel *model;
38 const PlatformStyle *platformStyle;
40 private Q_SLOTS:
41 /* sign message */
42 void on_addressBookButton_SM_clicked();
43 void on_pasteButton_SM_clicked();
44 void on_signMessageButton_SM_clicked();
45 void on_copySignatureButton_SM_clicked();
46 void on_clearButton_SM_clicked();
47 /* verify message */
48 void on_addressBookButton_VM_clicked();
49 void on_verifyMessageButton_VM_clicked();
50 void on_clearButton_VM_clicked();
53 #endif // BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H