Commit Graph

32 Commits

Author SHA1 Message Date
Adriaan de Groot
819a57e458 [libcalamaresui] Store resize configuration
- Use the named enums code for simplicity.
2019-01-11 17:35:06 +01:00
Adriaan de Groot
dd8e53dc22 Copyright: update copyright lines on files touched in 2018
Contributions from:
  Adriaan de Groot <groot@kde.org>
  Gabriel Craciunescu <crazy@frugalware.org>
  AlmAck <gluca86@gmail.com>
  Andrius Štikonas <andrius@stikonas.eu>
  Caio Carvalho <caiojcarvalho@gmail.com>
  Raul Rodrigo Segura <raurodse@gmail.com>
2018-06-15 05:59:11 -04:00
Adriaan de Groot
fdda0e14aa [libcalamaresui] Improve explainYamlException
- overloads for common kinds of label
 - improve error reporting when reading settings and branding files
2018-05-24 06:46:11 -04:00
Adriaan de Groot
f8bc195fb4 [libcalamaresui] Improve warning when branding has no translation 2018-03-09 07:21:16 -05:00
Adriaan de Groot
3ae126f589 [modules] Use cError() as well
- Switch KPMHelpers to using Calamares logging instead of qDebug()
2018-02-13 11:59:38 +01:00
Adriaan de Groot
60f440f72b [libcalamaresui] Use new convenience logging methods
- Remove a few confusing Q_FUNCINFO
2018-02-12 11:58:34 -05:00
Adriaan de Groot
762ad54344 Documentation: change http links to GitHub to https 2017-12-20 08:39:09 -05:00
Adriaan de Groot
6c5199c9cc YAML: on error, report filename along with location 2017-09-06 05:10:33 -04:00
Adriaan de Groot
594bc37d67 Coverity: uninitialized member 2017-07-11 09:32:09 -04:00
Adriaan de Groot
44e6955f19 Feature: allow disable welcome-logo resizing 2017-07-04 04:30:08 -04:00
Adriaan de Groot
3b5955900e Coverity: explicit initialization 2017-06-27 06:05:26 -04:00
Adriaan de Groot
ce6997d214 Coverity: fix some uninitialized members 2017-06-17 15:14:02 -04:00
Adriaan de Groot
f1cfde36d6 Allow different welcome message.
FIXES #592
2017-06-12 15:25:54 -04:00
Adriaan de Groot
14912d6c63 Merge branch 'master' of https://github.com/AOSC-Dev/calamares into AOSC-Dev-master 2017-06-08 04:54:06 -04:00
Andrius Štikonas
9f0ca042fe Port away from most cases of Q_FOREACH to C++11 ranged for loop.
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
2016-09-01 16:46:14 +01:00
Mingcong Bai
2d64110150 calamares: sidebarTextHighlight for branding
This commit adds support for distribution to define sidebarTextHighlight to their
branding.desc file, to control the left panel (sidebar) with highlight behind the
current step (isCurrent) text label.
2016-01-06 20:02:56 -07:00
Teo Mrnjavac
75cf3f08c6 Add ProductWelcome image to Branding. 2015-06-20 00:18:14 +02:00
Teo Mrnjavac
09d7cd9de6 Add translationsPathPrefix to Branding. 2015-05-07 16:10:42 +02:00
Teo Mrnjavac
ec883e391d Add different kinds of Url to Branding. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
bce6ec94fd Add ProductUrl and ProductUrlText to Branding. 2015-04-01 18:03:17 +02:00
Teo Mrnjavac
cc5095781d Branding::style is now ::styleString for clarity. 2015-03-19 18:03:55 +01:00
demmm
b982d751af adding needed Branding.cpp section
builds, but segfaults on running
2015-03-19 18:03:55 +01:00
demmm
56afa45812 start of trial to add sidebar style options
use a new style section in branding.desc, doesn't build as is
2015-03-19 18:03:55 +01:00
demmm
d750885e75 Revert "add URL option in greeting page" 2015-03-19 10:44:34 -04:00
demmm
be29755230 add URL option in greeting page
URL is a variable set in branding.desc, distros cna link to a Known Issues page
text for the URL is also possible to set in branding, known issues is default
advantage is any text possible as distros see fit
disadvantage, not part of translated strings
if most agree, Known Issues can be set as hard coded text, not in branding.desc
2015-03-19 10:32:14 -04:00
Teo Mrnjavac
14ddba70ef Initial commit for QML slideshow support. 2015-01-23 20:24:45 +01:00
Kevin Kofler
462819060b branding: Add a dedicated bootloaderEntryName setting.
Use it in the bootloader and grubcfg modules instead of
shortProductName.
2014-11-19 16:50:15 +01:00
Kevin Kofler
538b457ea8 branding: Add a shortProductName entry.
This is what the bootloader modules really want, and it was also missing
for consistency with the other branding entries.
2014-11-16 05:14:57 +01:00
Kevin Kofler
98f99fa5bf Introduce and use a Calamares::Branding::setGlobals method.
The method creates a map called "branding" in the global storage, and
inserts an entry for each of the branding strings. This makes the
branding information accessible to the Python modules.

The method is called by CalamaresApplication::initJobQueue.

This is necessary because the Branding class is in libcalamaresui, so
Python modules cannot access it directly.
2014-11-16 04:19:53 +01:00
Teo Mrnjavac
7594c85f2e Add ImageRegistry support to Branding. 2014-10-16 16:57:52 +02:00
Teo Mrnjavac
5e8ab97de4 Actually load branding data from default component. 2014-10-16 16:15:31 +02:00
Teo Mrnjavac
2182918476 Groundwork for branding loader/manager. 2014-10-10 18:18:35 +02:00