mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
41 lines
789 B
C++
41 lines
789 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: The Monero Project
|
|
|
|
#ifndef FEATHER_WIZARDVIEWONLY_H
|
|
#define FEATHER_WIZARDVIEWONLY_H
|
|
|
|
#include <QWizardPage>
|
|
|
|
class WizardFields;
|
|
|
|
namespace Ui {
|
|
class PageWalletRestoreKeys;
|
|
}
|
|
|
|
class PageWalletRestoreKeys : public QWizardPage
|
|
{
|
|
Q_OBJECT
|
|
|
|
enum walletType {
|
|
ViewOnly = 0,
|
|
Spendable = 1,
|
|
Spendable_Nondeterministic = 2
|
|
};
|
|
|
|
public:
|
|
explicit PageWalletRestoreKeys(WizardFields *fields, QWidget *parent = nullptr);
|
|
void initializePage() override;
|
|
bool validatePage() override;
|
|
int nextId() const override;
|
|
void showInputLines();
|
|
|
|
private:
|
|
void onOptionsClicked();
|
|
int walletType();
|
|
|
|
Ui::PageWalletRestoreKeys *ui;
|
|
WizardFields *m_fields;
|
|
};
|
|
|
|
#endif
|