mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 20:19:31 +00:00
37 lines
665 B
C
37 lines
665 B
C
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
// Copyright (c) 2020, The Monero Project.
|
||
|
|
||
|
#ifndef FEATHER_WIZARDVIEWONLY_H
|
||
|
#define FEATHER_WIZARDVIEWONLY_H
|
||
|
|
||
|
#include <QtCore>
|
||
|
#include <QLabel>
|
||
|
#include <QWizardPage>
|
||
|
#include <QWidget>
|
||
|
#include <QTextEdit>
|
||
|
#include <QCompleter>
|
||
|
|
||
|
#include "appcontext.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class ViewOnlyPage;
|
||
|
}
|
||
|
|
||
|
class ViewOnlyPage : public QWizardPage
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ViewOnlyPage(AppContext *ctx, QWidget *parent = nullptr);
|
||
|
bool validatePage() override;
|
||
|
int nextId() const override;
|
||
|
void cleanupPage() const;
|
||
|
|
||
|
private:
|
||
|
AppContext *m_ctx;
|
||
|
QLabel *topLabel;
|
||
|
Ui::ViewOnlyPage *ui;
|
||
|
};
|
||
|
|
||
|
#endif
|