diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-04-13 18:03:28 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-04-19 04:47:27 -0400 |
commit | 4b78c4ca069b0bf89e81c5b42eed8b3f9e9d2b03 (patch) | |
tree | cff322b50523562bb1ae37923d73a598f69ef68a | |
parent | ad263f820f8c359eff9c045e262539cd6cbf6ae5 (diff) |
wip - qcssparabola
-rw-r--r-- | src/branding/parabola/stylesheet.qss | 49 | ||||
-rw-r--r-- | src/modules/welcome/WelcomePage.cpp | 2 |
2 files changed, 9 insertions, 42 deletions
diff --git a/src/branding/parabola/stylesheet.qss b/src/branding/parabola/stylesheet.qss index c5341ee0a..f5fccfe46 100644 --- a/src/branding/parabola/stylesheet.qss +++ b/src/branding/parabola/stylesheet.qss @@ -1,41 +1,8 @@ -/* - -A branding component can ship a stylesheet (like this one) -which is applied to parts of the Calamares user-interface. -In principle, all parts can be styled through CSS. -Missing parts should be filed as issues. - -The IDs are based on the object names in the C++ code. - -Documentation for styling Qt Widgets through a stylesheet -can be found at - https://doc.qt.io/qt-5/stylesheet-examples.html -In Calamares, styling widget classes is supported (e.g. -using `QComboBox` as a selector). You can also use specific -object names (ids), which you can find through debugging tools. - -*/ - -/* Main application window. - -#mainApp { } -#logoApp { } -#sidebarApp { } -#sidebarMenuApp { } -*/ - -/* Partitioning module. - -#bootInfoIcon { } -#bootInfoLable { } -#deviceInfoIcon { } -#defineInfoLabel { } -#scrollAreaWidgetContents { } -#partitionBarView { } -*/ - -/* Licensing module. - -#licenseItem { } -#licenseItemFullText { } -*/ +/* QWidget { border: 5px solid #00FF00 ; } */ +/* #mainApp { background-color: #004444 ; } */ +/*#mainApp { border-left: 5px solid #00FFFF ; border-bottom: 5px solid #FFFF00 ; +border-right: 5px solid #88FF00 ; border-top: 5px solid #FF00FF ; }*/ +QMessageBox { border-top: 5px solid #0000FF ; } +#logoApp { border-top: 5px solid #0000FF ; } +#sidebarApp { border-left: 5px solid #FF00FF ; border-top: 5px solid #FF00FF ; } +#sidebarMenuApp { border-left: 5px solid #FF0000 ; border-bottom: 5px solid #FF0000 ; } diff --git a/src/modules/welcome/WelcomePage.cpp b/src/modules/welcome/WelcomePage.cpp index d3579b565..998573109 100644 --- a/src/modules/welcome/WelcomePage.cpp +++ b/src/modules/welcome/WelcomePage.cpp @@ -84,7 +84,7 @@ WelcomePage::WelcomePage( Config* conf, QWidget* parent ) const int welcome_text_idx = ui->verticalLayout->indexOf( ui->mainText ); ui->verticalLayout->insertWidget( welcome_text_idx + 1, m_checkingWidget ); - // insert optional logo banner image above welcome text + // insert optional banner image above welcome text Calamares::Branding::ImageEntry bannerImage = Calamares::Branding::ProductBanner; QString bannerPath = Calamares::Branding::instance()->imagePath( bannerImage ); if ( QFile::exists( bannerPath ) ) |