2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-12-26 19:56:06 +00:00
|
|
|
// Copyright (c) 2020-2021, 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
|