Freezentablewidget example color problems



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.