You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "installerpage.h"
|
|
|
|
#include <QString>
|
|
|
|
#include <QMap>
|
|
|
|
|
|
|
|
class QLabel;
|
|
|
|
class QComboBox;
|
|
|
|
class QTextBrowser;
|
|
|
|
|
|
|
|
class PageWelcome : public InstallerPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit PageWelcome(QString* currentLanguage);
|
|
|
|
|
|
|
|
void retranslateUi();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupUi();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void changeLanguageIndex(int indx);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void show();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void changeLanguage(QString);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QLabel* m_labelWelcome;
|
|
|
|
QLabel* m_labelLanguage;
|
|
|
|
QComboBox* m_comboboxLanguages;
|
|
|
|
|
|
|
|
QString* m_currentLanguage;
|
|
|
|
|
|
|
|
QMap<QString, QString> m_Languages;
|
|
|
|
};
|
|
|
|
|