Martchus
b2f76021cc
Update patch version
2023-09-05 17:51:57 +02:00
Martchus
f5d99397ff
Avoid CMake deprecation warning by bumping version
2023-07-23 21:18:51 +02:00
Martchus
856663f89d
Update translations
2023-07-04 18:20:05 +02:00
Martchus
4c32a60551
Remove duplicated lookup in `loadApplicationTranslationFile()`
2023-07-03 22:00:42 +02:00
Martchus
a6a64aa429
Make warning about missing Qt translations dependent on BUILTIN_TRANSLATIONS_OF_QT
2023-07-03 21:58:18 +02:00
Martchus
0e9637faa2
Fix dynamic retranslation of about dialog
...
`retranslateUi` must not be used here as it would revert the controls to
the initial state.
2023-07-03 00:49:37 +02:00
Martchus
e448ff04fa
Apply clang-format
2023-07-03 00:26:25 +02:00
Martchus
710a092458
Update translations
2023-07-03 00:25:57 +02: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
b340ff819c
Retranslate certain dialogs/widgets dynamically
...
This does not cover all details yet.
2023-07-03 00:07:01 +02:00
Martchus
147b08ecf8
Retranslate tab texts in settings dialog dynamically
2023-07-02 23:54:55 +02:00
Martchus
0392b27b97
Add function for assigning a settings category name with retranslation
...
The function is still experimental as there's likely a better way to
implement this.
2023-07-02 23:54:14 +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
f30d020cda
Update translations
2023-07-02 17:12:32 +02:00
Martchus
dd99862769
Make the settings dialog react to language changes
...
This covers the settings dialog itself and option pages based on
`UiFileBasedOptionPage`. Other option pages need to react to the
new `OptionPageWidget::retranslationRequired()` signal or handle
the `QEvent::LanguageChange` event which is now propageted to the
page's widget.
2023-07-02 17:12:32 +02:00
Martchus
bc3f84e65d
Apply clang-format
2023-07-01 23:43:46 +02:00
Martchus
8fd1452174
Allow clearing previously installed translation files
2023-07-01 23:43:27 +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
3ac8c8e1a4
Update minor version
2023-06-26 21:22:42 +02:00
Martchus
96f10766d4
Enable web view support only by default if Qt WebEngine is present
...
The web view is only an optional enhancement in my applications so having
the support disabled is rather common. So for a better out-of-the-box
experience when configuring my projects it makes sense not having to
disable web view support explicitly if Qt WebEngine is not installed
anyways.
2023-06-10 18:08:13 +02:00
Martchus
defecc45bc
Fix showing font dialog
2023-06-09 12:28:26 +02:00
Martchus
0a952a2093
Bump patch version
2023-06-09 12:27:25 +02:00
Martchus
fecf24a845
Update translations
2023-06-08 16:58:12 +02:00
Martchus
cc05211664
Fix applying certain color roles when loading palette from file
2023-06-08 16:42:09 +02:00
Martchus
c528926ce6
Remove useless function from palette editor
2023-06-08 16:21:50 +02:00
Martchus
0e7c10e622
Apply clang-format
2023-06-08 15:33:15 +02:00
Martchus
474af5eed9
Update translations
2023-06-08 14:04:55 +02:00
Martchus
3fffbc26e8
Fix selecting custom palette
...
For some reason the tool button's palette changes back to the old palette
when applying changes. So it cannot be used to hold the intermediately
selected paletted.
2023-06-08 13:28:35 +02:00
Martchus
958d7bc7c9
Bump patch version
2023-06-08 13:22:00 +02:00
Martchus
7dab696f42
Update translations
2023-05-21 20:12:41 +02:00
Martchus
acecbd1158
Fix warnings about cv qualifiers droped from `static_cast` return type
...
The change for avoiding a warning from MSVC about 64-bit shift operations
introduced a different warning from GCC. Hopefully this now avoids warnings
in all compilers.
2023-05-21 19:00:36 +02:00
Martchus
03a3867688
Fix warning from MSVC about 64-bit shift operations
2023-05-10 22:07:39 +02:00
Martchus
6e4ea3652c
Build CLI wrappers for Qt applications by default
...
Most of my Qt apps provide at least a basic CLI as well so providing the
CLI wrapper by default makes most sense.
2023-05-07 21:41:47 +02:00
Martchus
a91c015e1c
Bump patch version
2023-05-07 21:41:47 +02:00
Martchus
6974beab8a
Update translations
2023-04-02 18:29:17 +02:00
Martchus
92c643f5ff
Apply clang-format
2023-04-02 18:29:01 +02:00
Martchus
0ce5be5b2f
Use Fusion by default on Windows 11
...
The native Windows style doesn't look very nice
on Windows 11 so Fusion looks better in comparison,
see https://bugreports.qt.io/browse/QTBUG-97668 .
2023-03-28 23:42:13 +02:00
Martchus
63b33810e5
Allow disabling notices in Qt settings option pages
2023-03-26 21:24:43 +02:00
Martchus
bd1e603fcf
Improve behavior of `QtSettings::apply()` to be called multiple times
...
* Restore default settings
* Remove previously configured paths
2023-03-26 21:05:13 +02:00
Martchus
3e0754ebe5
Use fully qualified type in signal signature of `OptionCategory`
2023-03-26 19:51:50 +02:00
Martchus
f27288fb1f
Pass context object in lambda connections in `qtsettings.cpp`
2023-03-26 19:42:25 +02:00
Martchus
121d6a10db
Fix return type of `dialogStyleForPalette()` for Windows implementation
2023-03-26 19:37:13 +02:00
Martchus
8642f14bb1
Apply clang-format and cmake-format
2023-03-25 18:50:08 +01:00
Martchus
41a1ede6fc
Improve handling style changes in custom dialog style
...
* Avoid using global palette when computing stylesheet
* Re-compute stylesheet on palette changes
2023-03-25 18:49:43 +01:00
Martchus
bbb65ae0dd
Add function to re-evaluate the palette and default icon theme
2023-03-23 22:40:42 +01:00
Martchus
5430edc5fc
Avoid running expensive icon-bundling code on every CMake re-configuration
2023-03-23 22:08:57 +01:00
Martchus
0e151b3cc6
Avoid relying on external tool for working around CMake's broken `REALPATH`
2023-03-23 21:48:59 +01:00
Martchus
c2bd68824c
Workaround broken `get_filename_component(... REALPATH)` on Windows
...
See https://gitlab.kitware.com/cmake/cmake/-/issues/17206
2023-03-16 00:50:50 +01:00
Martchus
dd3ae7b32b
Make search path for icon themes configurable
2023-03-16 00:48:11 +01:00
Martchus
b8a428f29f
Update translations
2023-03-15 21:29:30 +01:00