Important: Please read the Qt Code of Conduct -

Set items on top of the selection?

  • I have a listwidget with items on it. When I select an item (depending on the OS) it gains a color. In my system (Ubuntu) it is orange. The thing is that I want specific characteristics of my selected item not to be under this semi-transparent color, but above it.

    For example, when I have an item with a icon on it and I select it, I want the whole item to become orange except the icon itself.

    What I want: (notice that the picture is on top of the orange selection
    What I have now:

    Thanks in advance for any answers!

Log in to reply