PrismLauncher/application/setupwizard/LanguageWizardPage.h
Petr Mrázek e71786d7b9 NOISSUE language selection wizard improvements
Same needs to be applied to the application settings later.
2019-01-08 02:20:36 +01:00

34 lines
649 B
C++

#pragma once
#include "BaseWizardPage.h"
class QVBoxLayout;
class QTreeView;
class QLabel;
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;
QTreeView *languageView = nullptr;
QLabel *helpUsLabel = nullptr;
};