Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Standard selection



  • Hi. Is there a way to apply a standard selection look to a widget? I have a custom widget that consists of two labels, one on top of the other. The top label holds a pixmap and the bottom some text. This basically represents the icon view using windows explorer or mac finder. Now when I click one of these items I want to make it look like it is selected as it would in those native apps for each platform. Any ideas?

    Thanks.



  • Why don't you use a QListView with a custom delegat?
    Sounds like you will have some list?



  • Looks like that is just what I need, I'll give it a shot.

    Thanks.


Log in to reply