Bitcoin Core  21.99.0
P2P Digital Currency
signverifymessagedialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2020 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 PlatformStyle;
11 class WalletModel;
12 
13 namespace Ui {
15 }
16 
17 class SignVerifyMessageDialog : public QDialog
18 {
19  Q_OBJECT
20 
21 public:
22  explicit SignVerifyMessageDialog(const PlatformStyle *platformStyle, QWidget *parent);
24 
25  void setModel(WalletModel *model);
26  void setAddress_SM(const QString &address);
27  void setAddress_VM(const QString &address);
28 
29  void showTab_SM(bool fShow);
30  void showTab_VM(bool fShow);
31 
32 protected:
33  bool eventFilter(QObject *object, QEvent *event) override;
34 
35 private:
36  Ui::SignVerifyMessageDialog *ui;
39 
40 private Q_SLOTS:
41  /* sign message */
47  /* verify message */
51 };
52 
53 #endif // BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
SignVerifyMessageDialog::on_signMessageButton_SM_clicked
void on_signMessageButton_SM_clicked()
Definition: signverifymessagedialog.cpp:109
WalletModel
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:51
SignVerifyMessageDialog::setAddress_VM
void setAddress_VM(const QString &address)
Definition: signverifymessagedialog.cpp:70
SignVerifyMessageDialog::showTab_VM
void showTab_VM(bool fShow)
Definition: signverifymessagedialog.cpp:83
SignVerifyMessageDialog::setModel
void setModel(WalletModel *model)
Definition: signverifymessagedialog.cpp:59
SignVerifyMessageDialog
Definition: signverifymessagedialog.h:17
SignVerifyMessageDialog::model
WalletModel * model
Definition: signverifymessagedialog.h:37
SignVerifyMessageDialog::on_addressBookButton_VM_clicked
void on_addressBookButton_VM_clicked()
Definition: signverifymessagedialog.cpp:184
SignVerifyMessageDialog::ui
Ui::SignVerifyMessageDialog * ui
Definition: signverifymessagedialog.h:36
SignVerifyMessageDialog::platformStyle
const PlatformStyle * platformStyle
Definition: signverifymessagedialog.h:38
SignVerifyMessageDialog::~SignVerifyMessageDialog
~SignVerifyMessageDialog()
Definition: signverifymessagedialog.cpp:54
SignVerifyMessageDialog::on_copySignatureButton_SM_clicked
void on_copySignatureButton_SM_clicked()
Definition: signverifymessagedialog.cpp:169
SignVerifyMessageDialog::on_verifyMessageButton_VM_clicked
void on_verifyMessageButton_VM_clicked()
Definition: signverifymessagedialog.cpp:197
SignVerifyMessageDialog::setAddress_SM
void setAddress_SM(const QString &address)
Definition: signverifymessagedialog.cpp:64
SignVerifyMessageDialog::eventFilter
bool eventFilter(QObject *object, QEvent *event) override
Definition: signverifymessagedialog.cpp:262
Ui
Definition: addressbookpage.h:14
SignVerifyMessageDialog::on_pasteButton_SM_clicked
void on_pasteButton_SM_clicked()
Definition: signverifymessagedialog.cpp:104
SignVerifyMessageDialog::SignVerifyMessageDialog
SignVerifyMessageDialog(const PlatformStyle *platformStyle, QWidget *parent)
Definition: signverifymessagedialog.cpp:21
SignVerifyMessageDialog::on_addressBookButton_SM_clicked
void on_addressBookButton_SM_clicked()
Definition: signverifymessagedialog.cpp:90
SignVerifyMessageDialog::on_clearButton_VM_clicked
void on_clearButton_VM_clicked()
Definition: signverifymessagedialog.cpp:252
PlatformStyle
Definition: platformstyle.h:13
SignVerifyMessageDialog::showTab_SM
void showTab_SM(bool fShow)
Definition: signverifymessagedialog.cpp:76
SignVerifyMessageDialog::on_clearButton_SM_clicked
void on_clearButton_SM_clicked()
Definition: signverifymessagedialog.cpp:174