mirror of
https://github.com/feather-wallet/feather.git
synced 2025-02-03 19:56:33 +00:00
34 lines
628 B
C++
34 lines
628 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
|
|
|
#ifndef FEATHER_VIEWONLYDIALOG_H
|
|
#define FEATHER_VIEWONLYDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "appcontext.h"
|
|
|
|
namespace Ui {
|
|
class ViewOnlyDialog;
|
|
}
|
|
|
|
class ViewOnlyDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ViewOnlyDialog(QSharedPointer<AppContext> ctx, QWidget *parent = nullptr);
|
|
~ViewOnlyDialog() override;
|
|
|
|
private slots:
|
|
void onWriteViewOnlyWallet();
|
|
|
|
private:
|
|
void copyToClipboad();
|
|
|
|
QScopedPointer<Ui::ViewOnlyDialog> ui;
|
|
QSharedPointer<AppContext> m_ctx;
|
|
};
|
|
|
|
|
|
#endif //FEATHER_KEYSDIALOG_H
|