Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Como How to change the color of the columns of a QTableView?

Como How to change the color of the columns of a QTableView?

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 346 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.
  • _ Offline
    _ Offline
    _jao_victor_
    wrote on last edited by
    #1

    How can I change the color of the table columns? On my computer it is the color of the OS theme (black), but I wanted blue.

    teste.png

    jsulmJ 1 Reply Last reply
    0
    • _ _jao_victor_

      How can I change the color of the table columns? On my computer it is the color of the OS theme (black), but I wanted blue.

      teste.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @_jao_victor_ If you're using QTableView (please always tell what you're using, it is not even clear whether you're using widgets or QML!) then take a look at https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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