View.mousePressEvent

View.mousePressEvent(event)[source]

Callback for the mouse press event.

Parameters
eventPySide2.QtGui.QMouseEvent

The Qt event.