Raven Core  3.0.0
P2P Digital Currency
signverifymessagedialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2015 The Bitcoin Core developers
2 // Copyright (c) 2017-2019 The Raven Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef RAVEN_QT_SIGNVERIFYMESSAGEDIALOG_H
7 #define RAVEN_QT_SIGNVERIFYMESSAGEDIALOG_H
8 
9 #include <QDialog>
10 
11 class PlatformStyle;
12 class WalletModel;
13 
14 namespace Ui {
16 }
17 
18 class SignVerifyMessageDialog : public QDialog
19 {
20  Q_OBJECT
21 
22 public:
23  explicit SignVerifyMessageDialog(const PlatformStyle *platformStyle, QWidget *parent);
25 
26  void setModel(WalletModel *model);
27  void setAddress_SM(const QString &address);
28  void setAddress_VM(const QString &address);
29 
30  void showTab_SM(bool fShow);
31  void showTab_VM(bool fShow);
32 
33 protected:
34  bool eventFilter(QObject *object, QEvent *event);
35 
36 private:
37  Ui::SignVerifyMessageDialog *ui;
40 
41 private Q_SLOTS:
42  /* sign message */
43  void on_addressBookButton_SM_clicked();
44  void on_pasteButton_SM_clicked();
45  void on_signMessageButton_SM_clicked();
46  void on_copySignatureButton_SM_clicked();
47  void on_clearButton_SM_clicked();
48  /* verify message */
49  void on_addressBookButton_VM_clicked();
50  void on_verifyMessageButton_VM_clicked();
51  void on_clearButton_VM_clicked();
52 };
53 
54 #endif // RAVEN_QT_SIGNVERIFYMESSAGEDIALOG_H
Ui::SignVerifyMessageDialog * ui
Interface to Raven wallet from Qt view code.
Definition: walletmodel.h:165
const PlatformStyle * platformStyle