Many thanks for the quick reply. I'm looking at the example and having a hard time how I should be setting the currently displayed icon based on these states and such. Do I really need to take a QPixmap and use the painter directly every time?
I.E. how do I use QIcon's Mode and State enums to set the current icon based on them. Say I have an Icon:
Do I set it as Active when I want? If so will it automatically update the icon? If so how do I do this?
Do I instead derive the pixmap from the state/mode? If so, how do I use this pixmap?




Reply With Quote
Bookmarks