[PyQt] adding signalling to QGraphicsItems
Christopher M. Nahler
christopher.nahler at papermodels.at
Thu Jul 1 10:58:01 BST 2010
I want to add signalling functionality to scene items. In my case they
are usually QGraphicsRectItems..
I thought I could do this with deriving from QGraphicsObject but then I
loose all the funtionality for the rectangle, handling pens and brushes,
shapes etc.
Isn't it easier to just derive from QGraphicsRectItem and QObject? Or
should I derive from QGraphicsRectItem and QGraphicsObject instead?
Or are there any other ways to do this?
Thanks in advance
Chris
More information about the PyQt
mailing list