summaryrefslogtreecommitdiffstats
path: root/application/setupwizard/LanguageWizardPage.h
blob: 8b55d57fe79c847ce87754d69708168ff201fc89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#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;
};