diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
| commit | a64ef966534f8dba6af889ba4bfce15691bfc85b (patch) | |
| tree | b30f284d05b80fa115569ab220deae13797fad6f /raveos-calamares-module/welcome/RaveWelcomeViewStep.h | |
| parent | 919f977b40016f588b0c8532c8a57f6035056b95 (diff) | |
| download | RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.tar.gz RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.zip | |
új telepítő
Diffstat (limited to 'raveos-calamares-module/welcome/RaveWelcomeViewStep.h')
| -rw-r--r-- | raveos-calamares-module/welcome/RaveWelcomeViewStep.h | 14 |
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; |