2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-02-10 10:26:41 +00:00
|
|
|
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
#ifndef FEATHER_WIZARDMENU_H
|
|
|
|
#define FEATHER_WIZARDMENU_H
|
|
|
|
|
|
|
|
#include <QLabel>
|
|
|
|
#include <QWizardPage>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include "appcontext.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
2021-03-12 18:26:48 +00:00
|
|
|
class PageMenu;
|
2020-10-07 10:36:04 +00:00
|
|
|
}
|
|
|
|
|
2021-03-12 18:26:48 +00:00
|
|
|
class PageMenu : public QWizardPage
|
2020-10-07 10:36:04 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-05-18 15:59:18 +00:00
|
|
|
explicit PageMenu(WizardFields *fields, WalletKeysFilesModel *wallets, QWidget *parent = nullptr);
|
2020-12-23 02:57:01 +00:00
|
|
|
void initializePage() override;
|
2020-10-07 10:36:04 +00:00
|
|
|
bool validatePage() override;
|
|
|
|
int nextId() const override;
|
|
|
|
|
2021-03-12 18:26:48 +00:00
|
|
|
signals:
|
|
|
|
void enableDarkMode(bool enable);
|
|
|
|
|
2020-10-07 10:36:04 +00:00
|
|
|
private:
|
2021-05-10 13:20:33 +00:00
|
|
|
Ui::PageMenu *ui;
|
2020-12-23 02:57:01 +00:00
|
|
|
WalletKeysFilesModel *m_walletKeysFilesModel;
|
2021-03-12 18:26:48 +00:00
|
|
|
WizardFields *m_fields;
|
2020-10-07 10:36:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //FEATHER_WIZARDMENU_H
|