feather/src/wizard/viewonlywallet.h
dsc eac29cd0b6
Import wallet from keys (view-only)
Signed-off-by: dsc <dsc@xmr.pm>
2020-10-13 21:09:33 +02:00

36 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