2017-01-05 08:35:08 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "BaseWizardPage.h"
|
|
|
|
|
|
|
|
class QVBoxLayout;
|
|
|
|
class QListView;
|
|
|
|
|
|
|
|
class LanguageWizardPage : public BaseWizardPage
|
|
|
|
{
|
2018-07-15 18:21:05 +05:30
|
|
|
Q_OBJECT
|
2017-01-05 08:35:08 +05:30
|
|
|
public:
|
2018-07-15 18:21:05 +05:30
|
|
|
explicit LanguageWizardPage(QWidget *parent = Q_NULLPTR);
|
2017-01-05 08:35:08 +05:30
|
|
|
|
2018-07-15 18:21:05 +05:30
|
|
|
virtual ~LanguageWizardPage();
|
2017-01-05 08:35:08 +05:30
|
|
|
|
2018-07-15 18:21:05 +05:30
|
|
|
bool wantsRefreshButton() override;
|
2017-01-05 08:35:08 +05:30
|
|
|
|
2018-07-15 18:21:05 +05:30
|
|
|
void refresh() override;
|
2017-01-05 08:35:08 +05:30
|
|
|
|
2018-07-15 18:21:05 +05:30
|
|
|
bool validatePage() override;
|
2017-01-05 08:35:08 +05:30
|
|
|
|
|
|
|
protected:
|
2018-07-15 18:21:05 +05:30
|
|
|
void retranslate() override;
|
2017-01-05 08:35:08 +05:30
|
|
|
|
|
|
|
protected slots:
|
2018-07-15 18:21:05 +05:30
|
|
|
void languageRowChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
2017-01-05 08:35:08 +05:30
|
|
|
|
|
|
|
private:
|
2018-07-15 18:21:05 +05:30
|
|
|
QVBoxLayout *verticalLayout = nullptr;
|
|
|
|
QListView *languageView = nullptr;
|
2017-01-05 08:35:08 +05:30
|
|
|
};
|