How to disable mouse interaction on a QGraphicsScene or QGraphicsView
-
This post is deleted!
-
Hi,
You can reimplement the mouseXXXEvent methods and do nothing in them.
-
Could you be a bit more specific or point to other articles that go through this? What I have found is that I should filter events from the mouse, is that what you mean?
-
I was thinking abut e.g. mouseMoveEvent But indeed you can also use an "mouse event eater" filter object
-
I looked at using the QMouseEvent and using the ignore() function, but the computer still took input from the mouse. Although I have found filters for it, I don't understand them and would like to simply disable input from the mouse. What would you reccomend aside from the mouseMoveEvents, which I didn't fully understand?