[PyQt] connection to QGraphicScene mouse button event
TheLonelyStar
nabble2 at lonely-star.org
Thu Jul 9 16:34:18 BST 2009
Hi,
I am working with python2.5, Qt4.2.
I have a QGraphicScene and I want to connect to its "mousePressEvent".
I tried:
self.connect(theScrene,QtCore.SIGNAL('mousePressEvent()'),self.sceneClicked)
But I do not get the events.
Is there another way than subclassing from QGraphicScene?
Thanks!
Nathan
--
View this message in context: http://www.nabble.com/connection-to-QGraphicScene-mouse-button-event-tp24411973p24411973.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt
mailing list