pollymc/launcher/setupwizard/LanguageWizardPage.h

27 lines
460 B
C
Raw Normal View History

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