]> Git Repo - VerusCoin.git/blob - src/qt/signverifymessagedialog.h
Merge pull request #5520
[VerusCoin.git] / src / qt / signverifymessagedialog.h
1 // Copyright (c) 2011-2013 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.
4
5 #ifndef BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
6 #define BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
7
8 #include <QDialog>
9
10 class WalletModel;
11
12 namespace Ui {
13     class SignVerifyMessageDialog;
14 }
15
16 class SignVerifyMessageDialog : public QDialog
17 {
18     Q_OBJECT
19
20 public:
21     explicit SignVerifyMessageDialog(QWidget *parent);
22     ~SignVerifyMessageDialog();
23
24     void setModel(WalletModel *model);
25     void setAddress_SM(const QString &address);
26     void setAddress_VM(const QString &address);
27
28     void showTab_SM(bool fShow);
29     void showTab_VM(bool fShow);
30
31 protected:
32     bool eventFilter(QObject *object, QEvent *event);
33
34 private:
35     Ui::SignVerifyMessageDialog *ui;
36     WalletModel *model;
37
38 private slots:
39     /* sign message */
40     void on_addressBookButton_SM_clicked();
41     void on_pasteButton_SM_clicked();
42     void on_signMessageButton_SM_clicked();
43     void on_copySignatureButton_SM_clicked();
44     void on_clearButton_SM_clicked();
45     /* verify message */
46     void on_addressBookButton_VM_clicked();
47     void on_verifyMessageButton_VM_clicked();
48     void on_clearButton_VM_clicked();
49 };
50
51 #endif // BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
This page took 0.027663 seconds and 4 git commands to generate.