Hi,

We've written an application that uses style sheets to "skin" buttons, etc., using PNG files. There are multiple instances where we re-use widgets (i.e., have multiple instances of the same kind of widget) where each instance must have the style sheet "re-declared" due to the widget hierarchy. Is there any way to make widgets whose style sheets point to the same image "share" one single pixmap within memory?

I see Qt has "implicit data sharing," but I struggle to figure out any easy way to leverage it for style pixmaps while using style sheets.

Any help would be much appreciated! Thanks!

-Ray Froehlich