You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
|
|
|
|
|
|
|
#ifndef WOWLET_CREATEWALLET_H
|
|
|
|
#define WOWLET_CREATEWALLET_H
|
|
|
|
|
|
|
|
#include <QLabel>
|
|
|
|
#include <QWizardPage>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include "appcontext.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class CreateWalletPage;
|
|
|
|
}
|
|
|
|
|
|
|
|
class CreateWalletPage : public QWizardPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit CreateWalletPage(AppContext *ctx, QWidget *parent = nullptr);
|
|
|
|
void initializePage() override;
|
|
|
|
bool validatePage() override;
|
|
|
|
int nextId() const override;
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void createWallet();
|
|
|
|
void defaultWalletDirChanged(QString walletDir);
|
|
|
|
|
|
|
|
private:
|
|
|
|
AppContext *m_ctx;
|
|
|
|
Ui::CreateWalletPage *ui;
|
|
|
|
QString m_walletDir;
|
|
|
|
bool validateWidgets();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //WOWLET_CREATEWALLET_H
|