MultiMC5/application/setupwizard/LanguageWizardPage.h
2018-07-15 14:51:05 +02:00

32 lines
600 B
C++

#pragma once
#include "BaseWizardPage.h"
class QVBoxLayout;
class QListView;
class LanguageWizardPage : public BaseWizardPage
{
Q_OBJECT
public:
explicit LanguageWizardPage(QWidget *parent = Q_NULLPTR);
virtual ~LanguageWizardPage();
bool wantsRefreshButton() override;
void refresh() override;
bool validatePage() override;
protected:
void retranslate() override;
protected slots:
void languageRowChanged(const QModelIndex &current, const QModelIndex &previous);
private:
QVBoxLayout *verticalLayout = nullptr;
QListView *languageView = nullptr;
};