learning_qt
8th September 2009, 14:32
Hello,
I created QGraphicsRectItem objects and I added those items to
QGraphicsScene, then I hope to get the event
void QGraphicsItem::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent * event ) [virtual protected] when I double click one item.
But the function void QGraphicsItem::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent * event ) is never called from my source code.
Please give some helps!
Thanks!
I created QGraphicsRectItem objects and I added those items to
QGraphicsScene, then I hope to get the event
void QGraphicsItem::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent * event ) [virtual protected] when I double click one item.
But the function void QGraphicsItem::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent * event ) is never called from my source code.
Please give some helps!
Thanks!