summaryrefslogtreecommitdiffstats
path: root/application/setupwizard/LanguageWizardPage.h
blob: 866f81c3fe3a806ff4762c41c6d770e59ba292bf (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;
};