Hi, Matthias!
It'll be great to add Qt (6.5+) bindings for QStyleHints::colorScheme/QStyleHints::setColorScheme (https://doc.qt.io/qt-6/qstylehints.html) and Qt::ColorScheme (https://doc.qt.io/qt-6/qt.html#ColorScheme-enum), so it'll be possible to easily switch between light and dark mode programmatically. Will be particularly useful in cases where KLayout is launched from other application, so KLayout could follow current color scheme of that application.
Hi, Matthias!
It'll be great to add Qt (6.5+) bindings for
QStyleHints::colorScheme/QStyleHints::setColorScheme(https://doc.qt.io/qt-6/qstylehints.html) andQt::ColorScheme(https://doc.qt.io/qt-6/qt.html#ColorScheme-enum), so it'll be possible to easily switch between light and dark mode programmatically. Will be particularly useful in cases where KLayout is launched from other application, so KLayout could follow current color scheme of that application.