// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2020-2021, The Monero Project. #ifndef FEATHER_VIEWONLYDIALOG_H #define FEATHER_VIEWONLYDIALOG_H #include #include "appcontext.h" #include "components.h" namespace Ui { class ViewOnlyDialog; } class ViewOnlyDialog : public WindowModalDialog { Q_OBJECT public: explicit ViewOnlyDialog(QSharedPointer ctx, QWidget *parent = nullptr); ~ViewOnlyDialog() override; private slots: void onWriteViewOnlyWallet(); private: void copyToClipboad(); QScopedPointer ui; QSharedPointer m_ctx; }; #endif //FEATHER_KEYSDIALOG_H