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. Freezentablewidget example color problems
Qt 6.11 is out! See what's new in the release blog

Freezentablewidget example color problems

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 435 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.
  • E Offline
    E Offline
    epalmero
    wrote on last edited by
    #1

    Dear All:

    I am trying to do something very similar to the freezentablewidget example where you have the first column in a frozen position when you scroll horizontally. So far all has been fine but I have an small problem. I would like to set the background color to the one of the original QTableView but I don't want border. In the Qt examples they set the ""selection-background-color: #0000FF" to this. What I did was something like this:

    @frozenTableView_->setStyleSheet("QTableView { border: none;}");@

    and that remove the border but the problem is that when I select the rows does not take the selection color of the original table but it is gray. Any idea how to solve this issues.

    Thanks a lot
    Ernesto

    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