Martchus
a7d2611400
Allow re-applying the default icon theme independently of palette
...
This is useful under Android where the palette is apparently not set to
something matching the darkmode setting but the Qt Quick Material style
nevertheless seems to follow the darkmode setting. So we just want to take
the darkmode setting into account for assigning the appropriate icon theme
and ignore the palette.
2024-03-31 13:42:38 +02:00
Martchus
adf64a3d0d
Apply clang-format
2023-11-18 22:05:36 +01:00
Martchus
c7426403e5
Allow configuring notice on localization option page individually
...
Whether an application can retranslate the UI dynamically likely differs
from whether the other appearance related settings can be applied
dynamically so this needs to be configurable individually.
Additionally, the environment settings can never be applied dynamically so
the notice on that page should always be shown.
2023-07-03 00:21:29 +02:00
Martchus
f69ffec06c
Allow tracking whether the locale has changed via the `QtSettings` class
...
This allows an application to reload translations if the default locale has
changed to apply locale changes dynamically.
2023-07-02 23:48:46 +02:00
Martchus
bc3f84e65d
Apply clang-format
2023-07-01 23:43:46 +02:00
Martchus
8d8585d00d
Allow to instantiate built-in option pages individually
...
Expose conversion from QtSettings to QtSettingsData so one can pass such
an object to the constructor of e.g. QtLanguageOptionPage.
2023-06-26 21:22:42 +02:00
Martchus
63b33810e5
Allow disabling notices in Qt settings option pages
2023-03-26 21:24:43 +02:00
Martchus
bbb65ae0dd
Add function to re-evaluate the palette and default icon theme
2023-03-23 22:40:42 +01:00
Martchus
b3e7c390d9
Have everything in one top-level namespace
2019-06-10 21:57:46 +02:00
Martchus
afe3373896
Apply tidy after updating to clang-format 5.0.0
...
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
Martchus
2dcbc02f4b
Apply clang-format
2017-05-01 03:16:25 +02:00
Martchus
58d762b7ee
Improve error message in loadApplicationTranslationFile()
2016-10-05 23:00:51 +02:00
Martchus
7f9afcda73
Fix decoration for static builds
...
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
Martchus
55ad0b4de1
Improve icons
...
- Provide fallback for Qt icon
- Ensure default search paths are not overwritten
2016-08-17 20:05:48 +02:00
Martchus
de98b88f4a
Improve Qt settings
...
Setting font and icon theme doesn't work yet, not sure
about locale
2016-08-14 22:44:25 +02:00
Martchus
20e663cbcc
Make include guards more unique and consistent
2016-07-04 23:26:48 +02:00
Martchus
aa880c3ed5
further development of Qt settings
2016-04-09 02:33:45 +02:00
Martchus
87fd94a2e0
improved settings dialog API
2016-04-04 14:49:40 +02:00