Hi!

I have a QGraphicsScene that draws a fullscreen (video) image in the background. I use OpenGL for that.
On top of the video I am showing buttons and other widgets. I achieve that by embedding normal QWidgets as QGraphicsProxyWidgets. To speed up redrawing I enabled caching of those proxy widget items.
My problem is, that widgets like buttons which have several states (hover, pressed ...) are only cached once so I don't see mouse over effects. Invalidating the cache on every Mouse event doesn't seem to be a good solution performance-wise.
Does Qt offer any solution to that problem, or will I need to implement my own button class? I like the convenience of QGraphicsProxyWidgets together with StyleSheets, and wouldn't want to miss that.

Regards,
Matthias