summaryrefslogtreecommitdiff
path: root/raveos-calamares-module/welcome/RaveWelcomeViewStep.h
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-calamares-module/welcome/RaveWelcomeViewStep.h')
-rw-r--r--raveos-calamares-module/welcome/RaveWelcomeViewStep.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/raveos-calamares-module/welcome/RaveWelcomeViewStep.h b/raveos-calamares-module/welcome/RaveWelcomeViewStep.h
index 87b42dd..10289e9 100644
--- a/raveos-calamares-module/welcome/RaveWelcomeViewStep.h
+++ b/raveos-calamares-module/welcome/RaveWelcomeViewStep.h
@@ -8,8 +8,9 @@
#include <viewpages/ViewStep.h>
#include <Job.h>
-class QComboBox;
+class QButtonGroup;
class QLabel;
+class QPushButton;
class PLUGINDLLEXPORT RaveWelcomeViewStep : public Calamares::ViewStep
{
@@ -21,6 +22,7 @@ public:
QString prettyName() const override;
QWidget* widget() override;
+ QSize widgetMargins(Qt::Orientations panelSides) override;
bool isNextEnabled() const override;
bool isBackEnabled() const override;
@@ -36,13 +38,17 @@ private slots:
private:
void buildWidget();
+ void updateTexts();
QString getLocale() const;
QString brandingTranslationsPrefix() const;
void applyLiveKeyboardLayout(const QString& localeId);
- QWidget* m_widget = nullptr;
- QLabel* m_bgLabel = nullptr;
- QComboBox* m_langCombo = nullptr;
+ QWidget* m_widget = nullptr;
+ QButtonGroup* m_langButtons = nullptr;
+ QLabel* m_tag = nullptr;
+ QLabel* m_title = nullptr;
+ QLabel* m_localeLabel = nullptr;
+ QPushButton* m_next = nullptr;
QStringList m_localeIds;
int m_currentLocaleIndex = 0;