Is it possible to make QHeaderView sections look more like buttons and be able to be depressed?
Unsolved
General and Desktop
-
I am new to QT. I am trying to make the QHeaderView of a QTreeWidget look like below :
In the program I am trying to convert to QT, the buttons depress when clicked on. I noticed that the first column seems to depress when clicked on in QHeaderView, but the rest of the columns do not. Is it possible to make the other columns respond the same as the first column? Can this be done with style sheets? I tried :QHeaderView::section:pressed
{
background-color:red;
}This worked for the first column but not for the rest. By working I mean when I pressed on the first column header, the background turned red. When I released the mouse, it returned to the default background color.
Thanks for help in advance
Gary