Files
wowlet/src/wizard/PageWalletRestoreKeys.h
T
2025-02-20 18:52:03 +01:00

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