Adriaan de Groot
7d7a4597c1
[libcalamaresui] prefer < comparison of Qt versions
2024-02-04 22:06:55 +01:00
Adriaan de Groot
fd2610c739
[*] Remove pre-Qt-5.15 compatibility ifdefs
2024-02-04 22:06:51 +01:00
Adriaan de Groot
e73f5fb9fe
[libcalamaresui] update percentage indicator on language change
...
Otherwise starting in one language will never change the
formatting of percentages when the language changes
later (example: Turkish writes %30, while Dutch writes 30%).
FIXES #2258
2023-12-25 00:06:00 +01:00
Adriaan de Groot
8ebba4fcff
libcalamares*: adapt consumers of network manager
2023-10-24 02:01:19 +02:00
Emir SARI
682cbe6951
Improve string formatting and context
2023-10-23 13:39:26 +03:00
Adriaan de Groot
aaa82386d8
libcalamaresui: always use KOSRelease
...
The places where KOSRelease was ifdeffed always set the ifdef in
the surrounding CMake code, so make it unconditional.
2023-10-17 22:46:11 +02:00
Adriaan de Groot
63b0589382
CI: apply style tool across the entire codebase
2023-10-17 22:24:46 +02:00
Adriaan de Groot
61f0100cd9
Python: add new Python job implementation
...
The implementation is quite incomplete: it does not
actually run any Python code.
2023-10-16 20:07:39 +02:00
Adriaan de Groot
4a5e7af9a4
libcalamaresui: support Qt6 QMLViewStep
2023-10-10 23:51:52 +02:00
Adriaan de Groot
628c98becb
libcalamaresui: apply coding style (include order)
2023-10-10 23:51:52 +02:00
Adriaan de Groot
364e940a9a
CMake: don't default to SHARED libraries, require explicit
2023-09-28 20:56:09 +02:00
Adriaan de Groot
1efb12e332
libcalamares: rename CalamaresUtilsSystem and Gui
2023-09-11 20:40:10 +02:00
Adriaan de Groot
eb840d4117
libcalamares: ditch namespace CalamaresUtils
...
- Most CalamaresUtils things go to Calamares
- YAML support to Calamares::YAML and then remove redundant "yaml"
from the function names.
2023-09-11 20:34:01 +02:00
Adriaan de Groot
a9ef587705
libcalamares: use namespace Calamares::Network consistently
2023-09-10 22:32:49 +02:00
Adriaan de Groot
1ca6b27afe
Merge pull request #2195 from AsahiLinux/wayland-hidpi
...
Make HiDPI SVG rendering work on Wayland
2023-09-05 15:53:53 +02:00
Adriaan de Groot
8a8860e75c
Qt6: resolve TODOs against missing KF6
...
- On FreeBSD, no KF6 was available
- On KDE Neon Unstable, there are somewhat wonky KF6 packages available
- Adjust CMake to find the KDE Neon versions, then fix the C++ code
2023-09-04 21:51:03 +02:00
Hector Martin
15027f40b2
Make HiDPI SVG rendering work on Wayland
...
Branding SVGs were rendering at 1x on Wayland and then scaling up to the
display DPI, which looks ugly. To get this to work properly we need to
explicitly multiply the devicePixelRatio into the dimensions that
QPixmaps render at, since QPixmap is DPI-unaware.
This probably only takes care of a subset of the problem codepaths, but
at least it makes the sidebar logo and welcome screen work properly.
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-09-04 14:35:14 +09:00
Adriaan de Groot
8ea7c578b3
libcalamaresui: deal with QMessageBox::question
2023-09-03 23:02:09 +02:00
Adriaan de Groot
159eccbda0
libcalamaresui: enable build for Qt6
...
Compatibility code for mutex and variant is already in place.
2023-09-03 23:02:09 +02:00
Adriaan de Groot
f385c94729
[libcalamaresui] Document 'we do not translate this' for developer-tooltip
2023-04-25 11:17:11 +02:00
Adriaan de Groot
b07f0c2857
Changes: add credit for %p
...
While here, add a disambiguation to help translators.
2023-04-23 11:35:48 +02:00
Emir SARI
2d118c7057
Add i18n support for percent value
2023-04-18 04:21:08 +03:00
Adriaan de Groot
1821eb1b39
[libcalamaresui] Branding uses $-substitution
...
Replace @{name} with ${name} to be consistent with the rest
of the replacement-code in Calamares.
2022-09-09 22:04:49 +02:00
Adriaan de Groot
6558cd5150
CMake: add .so-version
...
This is basically PR #2002 , from Undef-a.
2022-08-23 15:45:20 +02:00
Adriaan de Groot
1c7c0b9af8
CI: apply coding style (clang-format 13)
2022-06-27 00:37:15 +02:00
Adriaan de Groot
20d96f9ea3
[libcalamaresui] More constness
2022-06-26 23:24:32 +02:00
Adriaan de Groot
d9b4562076
Style: remove trailing ; after namespace
2022-06-20 21:48:22 +02:00
Adriaan de Groot
57d978b82d
Merge pull request #1977 from calamares/issue-1974
...
[welcome] Show welcome-image when all requirements are satisfied
2022-06-11 00:17:01 +02:00
Adriaan de Groot
42f9f07a07
[libcalamares] The spinner doesn't support rich text
2022-06-10 01:27:37 +02:00
Adriaan de Groot
d4a776e759
[libcalamaresui] Adjust description of countdown spinner
2022-06-07 11:55:03 +02:00
Adriaan de Groot
2c07463ac6
[libcalamaresui] Check for typo's in branding keys
2022-06-03 11:53:02 +02:00
Adriaan de Groot
7356961f52
[libcalamares] Use the enum names as keys
...
- this uses the Qt internals to map enum values to names, making
the separate translation table unnecessary. Adjust default branding
to use the new names.
This makes code (using enum identifiers) and configuration (using
string keys) consistent in naming.
2022-06-03 11:40:10 +02:00
Adriaan de Groot
dc699db5f5
[libcalamaresui] Document style-string mapping
...
- while here, the static array of names doesn't need to be
a class member, it is entirely internal.
- document how names are mapped to branding keys.
2022-06-03 11:20:59 +02:00
Adriaan de Groot
66682b3e84
Merge branch 'calamares' into work-3.3
2022-05-18 15:13:21 +02:00
Adriaan de Groot
874a0c1f38
CI: apply coding style globally again
2022-05-18 12:44:55 +02:00
Adriaan de Groot
7096ee760e
[libcalamaresui] Remove unused image-transformation function
2022-05-10 00:07:41 +02:00
Adriaan de Groot
880c367d64
[libcalamaresui] Remove under-used function
2022-05-10 00:07:41 +02:00
Adriaan de Groot
704e250664
[libcalamaresui] Remove under-used function
...
- there was one consumer of this function, and it was over-engineered
for what was needed (removing a list of widgets). Just drop it.
2022-05-10 00:07:41 +02:00
Adriaan de Groot
928b46f18e
[libcalamaresui] Use namespace Calamares::Widgets
2022-05-10 00:07:41 +02:00
Adriaan de Groot
a7d3630e42
[libcalamaresui] Improve naming, resolve TODO
2022-05-04 00:51:50 +02:00
Adriaan de Groot
7db14cb5cf
[libcalamaresui] Fix build for ::ceil
2022-04-20 12:00:21 +02:00
Adriaan de Groot
87ff7ae0da
[libcalamaresui] Use Qt max, min, bound
2022-04-16 12:51:11 +02:00
Adriaan de Groot
58306de28a
[libcalamaresui] Private static methods can be hidden
2022-04-16 12:48:12 +02:00
Adriaan de Groot
56c27c4255
[libcalamaresui] Warnings--
2022-04-16 12:45:58 +02:00
Adriaan de Groot
18fef8dfe5
[libcalamaresui] Apply coding style
2022-04-16 12:39:21 +02:00
Adriaan de Groot
7e5df42fc0
Merge branch 'issue-1924' into work-3.3
...
This is a rather clunky implementation of re-check requirements.
"Clunky" because the UI parts are re-created each time, rather
than fishing from a model of checked (or unchecked) requirements.
The Widgets parts should be updated to use a full model, rather
than the recreate-list-of-Widgets implementation they have now.
Unrelated changes pull in a bunch of improvements to the
waiting spinner widget.
2022-04-16 12:34:40 +02:00
Adriaan de Groot
e11a0ee448
[libcalamaresui] Use delegating-constructor, drop initialize()
2022-04-16 12:25:28 +02:00
Adriaan de Groot
18f8633dd9
[libcalamaresui] Also modern-style initialize center and disable flags
...
- All constructors explicitly initialize these, so there's no
real change here.
2022-04-16 12:20:02 +02:00
Adriaan de Groot
497422e72c
[libcalamaresui] Don't disable parent while waiting
2022-04-16 12:18:49 +02:00
Adriaan de Groot
78a8993f38
[libcalamaresui] Move to more modern-style initializations
2022-04-16 12:11:52 +02:00