Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
Hi KDE folks, Qt 6.8 has implemented QPlatformTheme::requestColorScheme() as a virtual function. It is meant to allow a programmatic color scheme change within a QGuiApplication. If the system's theme is dark, the application can still be light and vice versa. https://codereview.qt-project.org/

Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
ts as well. If we wanted to propagate palettes to QKdeTheme, we would have to read them directly from settings without having to link to KDE. Cheers Axel From: David Redondo Sent: Tuesday, 11 March 2025 09:39 To: kde-devel@kde.org Cc: Axel Spoerl Subject: R

Re: Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
Asking differently: How can a Qt application make sure, that KdePlatformTheme is used? From: kde-devel on behalf of Axel Spoerl Sent: Tuesday, 11 March 2025 11:46 To: kde-devel@kde.org Subject: Re: Re: Re: Programmatic color scheme change in QKdeTheme Just

Re: Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
ect: Re: Re: Re: Programmatic color scheme change in QKdeTheme [You don't often get email from k...@david-redondo.de. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Am Dienstag, 11. März 2025, 10:10 schrieb Axel Spoerl: > Hi David, > thanks for the insig

Re: Programmatic color scheme change in QKdeTheme

2025-03-10 Thread Axel Spoerl
deTheme. The patch I mentioned factors it out from qgenericunixthemes.cpp. So enhancing the class will become a little easier. Cheers Axel From: David Redondo Sent: Monday, 10 March 2025 17:39 To: kde-devel@kde.org Cc: Axel Spoerl Subject: Re: Programmatic co