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. Using system colors automatically

Using system colors automatically

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 971 Views 1 Watching
  • 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.
  • SeeLookS Offline
    SeeLookS Offline
    SeeLook
    wrote on last edited by
    #1

    Hi,
    So far, the only way to keep written application in accordance with system colors (color scheme) was to add color property for every Text, Label, etc. items - it is bearable.
    In the same moment, buttons of Dialog respect system colors without any additional efforts, but Button control not yet - it has hard-coded background and text colors.
    The "worst" case is with CheckBox-es - to keep them in colors, the only way I found is to reimplement its style.

    Did I miss something how to do this in single place.
    In contrary QtWidgets respect system color scheme out of a box.

    1 Reply Last reply
    0
    • nestoracN Offline
      nestoracN Offline
      nestorac
      wrote on last edited by
      #2

      They should all respect system colours.

      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