mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-20 08:38:40 +02:00
36 lines
647 B
C++
36 lines
647 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
|
|
|
#ifndef FEATHER_VIEWONLYDIALOG_H
|
|
#define FEATHER_VIEWONLYDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "components.h"
|
|
#include "libwalletqt/Wallet.h"
|
|
|
|
namespace Ui {
|
|
class ViewOnlyDialog;
|
|
}
|
|
|
|
class ViewOnlyDialog : public WindowModalDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ViewOnlyDialog(Wallet *wallet, QWidget *parent = nullptr);
|
|
~ViewOnlyDialog() override;
|
|
|
|
private slots:
|
|
void onWriteViewOnlyWallet();
|
|
|
|
private:
|
|
void copyToClipboard();
|
|
|
|
QScopedPointer<Ui::ViewOnlyDialog> ui;
|
|
Wallet *m_wallet;
|
|
};
|
|
|
|
|
|
#endif //FEATHER_KEYSDIALOG_H
|