Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
signverifymessagedialog.h
Go to the documentation of this file.
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.
4
5#ifndef BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
6#define BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
7
8#include <QDialog>
9
10class PlatformStyle;
11class WalletModel;
12
13namespace Ui {
15}
16
17class SignVerifyMessageDialog : public QDialog {
19
20public:
22 QWidget *parent);
24
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
32protected:
33 bool eventFilter(QObject *object, QEvent *event) override;
34
35private:
36 Ui::SignVerifyMessageDialog *ui;
39
40private Q_SLOTS:
41 /* sign message */
47 /* verify message */
51};
52
53#endif // BITCOIN_QT_SIGNVERIFYMESSAGEDIALOG_H
bool eventFilter(QObject *object, QEvent *event) override
void setAddress_SM(const QString &address)
const PlatformStyle * platformStyle
void setModel(WalletModel *model)
Ui::SignVerifyMessageDialog * ui
void setAddress_VM(const QString &address)
Interface to Bitcoin wallet from Qt view code.
Definition walletmodel.h:47
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85