Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Controls.Windows dark mode
Forum Updated to NodeBB v4.3 + New Features

Controls.Windows dark mode

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 205 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    glibg10b
    wrote on last edited by
    #1

    7e5d6fe2-c810-4d4e-9190-2795a1cfc09f-image.png

    The above screenshot was taken after starting my application with Windows's dark mode turned on. The following screenshot was taken after starting with it turned off:

    b5e80a0a-406a-4132-a0ae-09cfb912d53a-image.png

    As you can see, dark mode only affects the FreeDesktop icons and the HeaderViews.

    My main.qml imports QtQuick.Controls (not one of the sub-modules like QtQuick.Controls.Windows or Universal). I'm using PySide6 6.8.

    I looked at the documentation, but unlike the other styles, the Windows style doesn't have a theme option that can be set with Windows.theme = 'System'. Is there a way to get dark mode working for all components? Has it just not been implemented yet? I don't really want to resort to Universal unless I have no other option.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved