Hi !
I'm currently working on a QHeaderView, styling it with a stylesheet. I'm almost done, i just can't find the way to set a background-color to the QHeader::section used for sorting...
In the Qt doc (here), I found this example:
Qt Code:
{ background-color: red; }To copy to clipboard, switch view to plain text mode
I tried it but the :checked pseudo-state does not seem to do anything.
What does it do ??
Is there a way to achieve my goal ?
Thanks,
Marwyn


Reply With Quote

Bookmarks