Top "Qmouseevent" questions

The QMouseEvent class contains parameters that describe a mouse event.

Can I get mouse events in a QGraphicsItem?

I have subclassed QGraphicsRectItem, and it's not receiving any mouse events. I've seen other questions similar to this say I …

qt qgraphicsview qgraphicsitem qmouseevent
How to draw a rectangle and adjust its shape by drag and drop in PyQt5

I'm trying to draw a rectangle on GUI created by PyQt5 by drag and drop. I managed to do that, …

python pyqt pyqt5 qpainter qmouseevent
Showing a popup menu on QGraphicsScene click or right click

Is there a way to show a popup when the user right clicks on an empty portion of the scene? …

qt contextmenu qgraphicsscene qmouseevent