mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
32 lines
729 B
C
32 lines
729 B
C
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
// Copyright (c) 2020, The Monero Project.
|
||
|
|
||
|
#ifndef WALLETWIZARD_H
|
||
|
#define WALLETWIZARD_H
|
||
|
|
||
|
#include <QWizard>
|
||
|
#include <QLabel>
|
||
|
#include <QRadioButton>
|
||
|
|
||
|
#include "appcontext.h"
|
||
|
#include "utils/seeds.h"
|
||
|
#include "utils/config.h"
|
||
|
|
||
|
class WalletWizard : public QWizard
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
enum Page { Page_Menu, Page_CreateWallet, Page_CreateWalletSeed, Page_OpenWallet, Page_Network, Page_Restore };
|
||
|
|
||
|
explicit WalletWizard(AppContext *ctx, WalletWizard::Page startPage = WalletWizard::Page::Page_Menu, QWidget *parent = nullptr);
|
||
|
signals:
|
||
|
void openWallet(QString path, QString password);
|
||
|
|
||
|
private:
|
||
|
AppContext *m_ctx;
|
||
|
void createWallet();
|
||
|
};
|
||
|
|
||
|
#endif // WALLETWIZARD_H
|