jano_alex_es
9th February 2010, 09:25
Hi,
it's strange, but I have a very basic question but I don't find the answer :S
if you create something, like for instance:
QGraphicsPixmapItem* pPixmap = new QGraphicsPixmapItem();
How I can access to its events? In my case, I would like to execute code when painting is called, so far I've subclased the paint event but for the first time I'm not subclassing anything.
thanks!
it's strange, but I have a very basic question but I don't find the answer :S
if you create something, like for instance:
QGraphicsPixmapItem* pPixmap = new QGraphicsPixmapItem();
How I can access to its events? In my case, I would like to execute code when painting is called, so far I've subclased the paint event but for the first time I'm not subclassing anything.
thanks!