Another Mouse Event in QGraphicsObject question
Unsolved
General and Desktop
-
I've seen this asked many times on these forums, but the solutions presented do not solve my problem, and I do not know why.
I have derived a class from QGraphicsObject and I can successfully receive sceneEvents. I would like to know when the user is moving the mouse (similar to hover) with a mouse button held. I expected mouseMoveEvent to capture this, but it is never entered. My class accepts hover events and the QGraphicsView sets mouse tracking. I had it working before I introduced an event filter (which I have now commented out) into the QMainWindow that contains the viewport,
Thanks
-
Hi and welcome to devnet,
Can you show your item's implementation ?