feather/src/dialog/SignVerifyDialog.h
2024-01-01 18:07:58 +01:00

35 lines
682 B
C++

// SPDX-License-Identifier: BSD-3-Clause
// SPDX-FileCopyrightText: 2020-2024 The Monero Project
#ifndef FEATHER_SIGNVERIFYDIALOG_H
#define FEATHER_SIGNVERIFYDIALOG_H
#include <QDialog>
#include "components.h"
#include "libwalletqt/Wallet.h"
namespace Ui {
class SignVerifyDialog;
}
class SignVerifyDialog : public WindowModalDialog
{
Q_OBJECT
public:
explicit SignVerifyDialog(Wallet *wallet, QWidget *parent = nullptr);
~SignVerifyDialog() override;
private slots:
void signMessage();
void verifyMessage();
void copyToClipboard();
private:
QScopedPointer<Ui::SignVerifyDialog> ui;
Wallet *m_wallet;
};
#endif //FEATHER_SIGNVERIFYDIALOG_H