feather/src/wizard/PageMenu.h

38 lines
771 B
C
Raw Normal View History

// SPDX-License-Identifier: BSD-3-Clause
2020-12-26 19:56:06 +00:00
// Copyright (c) 2020-2021, 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-03-12 18:26:48 +00:00
explicit PageMenu(AppContext *ctx, 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;
AppContext *m_ctx;
WalletKeysFilesModel *m_walletKeysFilesModel;
2021-03-12 18:26:48 +00:00
WizardFields *m_fields;
};
#endif //FEATHER_WIZARDMENU_H