// SPDX-License-Identifier: BSD-3-Clause // SPDX-FileCopyrightText: 2020-2023 The Monero Project #ifndef FEATHER_VIEWONLYDIALOG_H #define FEATHER_VIEWONLYDIALOG_H #include #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; Wallet *m_wallet; }; #endif //FEATHER_KEYSDIALOG_H