PrismLauncher/launcher/setupwizard/LanguageWizardPage.h

27 lines
460 B
C
Raw Normal View History

2017-01-05 03:05:08 +00:00
#pragma once
#include "BaseWizardPage.h"
class LanguageSelectionWidget;
2017-01-05 03:05:08 +00:00
class LanguageWizardPage : public BaseWizardPage
{
2018-07-15 13:51:05 +01:00
Q_OBJECT
2017-01-05 03:05:08 +00:00
public:
2018-07-15 13:51:05 +01:00
explicit LanguageWizardPage(QWidget *parent = Q_NULLPTR);
2017-01-05 03:05:08 +00:00
2018-07-15 13:51:05 +01:00
virtual ~LanguageWizardPage();
2017-01-05 03:05:08 +00:00
2018-07-15 13:51:05 +01:00
bool wantsRefreshButton() override;
2017-01-05 03:05:08 +00:00
2018-07-15 13:51:05 +01:00
void refresh() override;
2017-01-05 03:05:08 +00:00
2018-07-15 13:51:05 +01:00
bool validatePage() override;
2017-01-05 03:05:08 +00:00
protected:
2018-07-15 13:51:05 +01:00
void retranslate() override;
2017-01-05 03:05:08 +00:00
private:
LanguageSelectionWidget *mainWidget = nullptr;
2017-01-05 03:05:08 +00:00
};