Prior to Qt4 there used to be a QCustomMenuItem class that allowed you to draw your own popup menu items. It's not there anymore.

Anyone who has some ideas how to achieve the same thing in Qt4?