feather/src/wizard/PageMenu.h

37 lines
739 B
C
Raw Normal View History

// SPDX-License-Identifier: BSD-3-Clause
2022-02-10 10:26:41 +00:00
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
#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;
}
2021-03-12 18:26:48 +00:00
class PageMenu : public QWizardPage
{
Q_OBJECT
public:
2021-05-18 15:59:18 +00:00
explicit PageMenu(WizardFields *fields, WalletKeysFilesModel *wallets, QWidget *parent = nullptr);
void initializePage() override;
bool validatePage() override;
int nextId() const override;
2021-03-12 18:26:48 +00:00
signals:
void enableDarkMode(bool enable);
private:
2021-05-10 13:20:33 +00:00
Ui::PageMenu *ui;
WalletKeysFilesModel *m_walletKeysFilesModel;
2021-03-12 18:26:48 +00:00
WizardFields *m_fields;
};
#endif //FEATHER_WIZARDMENU_H