PrismLauncher/application/setupwizard/LanguageWizardPage.h

32 lines
600 B
C
Raw Normal View History

2017-01-05 03:05:08 +00:00
#pragma once
#include "BaseWizardPage.h"
class QVBoxLayout;
class QListView;
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
protected slots:
2018-07-15 13:51:05 +01:00
void languageRowChanged(const QModelIndex &current, const QModelIndex &previous);
2017-01-05 03:05:08 +00:00
private:
2018-07-15 13:51:05 +01:00
QVBoxLayout *verticalLayout = nullptr;
QListView *languageView = nullptr;
2017-01-05 03:05:08 +00:00
};