mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
32 lines
570 B
C++
32 lines
570 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 ¤t, const QModelIndex &previous);
|
|
|
|
private:
|
|
QVBoxLayout *verticalLayout = nullptr;
|
|
QListView *languageView = nullptr;
|
|
};
|