Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Uniform Qt highlight/selection color for Linux
QtWS25 Last Chance

Uniform Qt highlight/selection color for Linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 332 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.
  • W Offline
    W Offline
    wuz352
    wrote on last edited by
    #1

    Hello. I run Arch Linux. I have been able to have Qt applications run a system theme through configuration. However, I am unable to set the highlight/selection color.

    For instance, in VLC the progressbar color always remains the default blue. In other Qt applications the highlight/selection color is also this default blue. Beyond this my applications match my theme. I have searched and been unable to find any code that can give me a system wide Qt highlight/selection color.

    Is a system wide, default highlight/selection color possible through a config file on Linux? If there is a way to do this, please point me to a tutorial or anything helpful. I've never used Qt before. Many thanks.

    RatzzR 1 Reply Last reply
    0
    • W wuz352

      Hello. I run Arch Linux. I have been able to have Qt applications run a system theme through configuration. However, I am unable to set the highlight/selection color.

      For instance, in VLC the progressbar color always remains the default blue. In other Qt applications the highlight/selection color is also this default blue. Beyond this my applications match my theme. I have searched and been unable to find any code that can give me a system wide Qt highlight/selection color.

      Is a system wide, default highlight/selection color possible through a config file on Linux? If there is a way to do this, please point me to a tutorial or anything helpful. I've never used Qt before. Many thanks.

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @wuz352

      U meant something like setting setStyleSheet to whole app using selection-color or selection-background-color ?

      --Alles ist gut.

      1 Reply Last reply
      2

      • Login

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