2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2024-01-01 17:07:58 +00:00
|
|
|
// SPDX-FileCopyrightText: 2020-2024 The Monero Project
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
#ifndef FEATHER_SIGNVERIFYDIALOG_H
|
|
|
|
#define FEATHER_SIGNVERIFYDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2021-06-27 14:33:18 +00:00
|
|
|
|
2021-10-22 17:19:56 +00:00
|
|
|
#include "components.h"
|
2020-10-07 10:36:04 +00:00
|
|
|
#include "libwalletqt/Wallet.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class SignVerifyDialog;
|
|
|
|
}
|
|
|
|
|
2021-10-22 17:19:56 +00:00
|
|
|
class SignVerifyDialog : public WindowModalDialog
|
2020-10-07 10:36:04 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit SignVerifyDialog(Wallet *wallet, QWidget *parent = nullptr);
|
|
|
|
~SignVerifyDialog() override;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void signMessage();
|
|
|
|
void verifyMessage();
|
|
|
|
void copyToClipboard();
|
2021-06-27 14:43:14 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
QScopedPointer<Ui::SignVerifyDialog> ui;
|
|
|
|
Wallet *m_wallet;
|
2020-10-07 10:36:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //FEATHER_SIGNVERIFYDIALOG_H
|