Hi all
I'd like to have a QGraphicsPixmapItem with signals/slots
I see that there is a QGraphicsObject, but I was wondering if there's a faster way to do this.
Thanks
Hi all
I'd like to have a QGraphicsPixmapItem with signals/slots
I see that there is a QGraphicsObject, but I was wondering if there's a faster way to do this.
Thanks
You could inherit from both QGraphicsPixmapItem and QObject. I don't think it's faster than QGraphicsObject, but it will probably use less memory. Take a look at these posts:
http://stackoverflow.com/questions/2...-qgraphicsitem
http://stackoverflow.com/questions/4...erformance-hit
Bookmarks