Skip to content

Qt (6.5+) bindings for QStyleHints::colorScheme and Qt::ColorScheme #2383

Description

@EugeneZelenko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions