MCPcopy Create free account
hub / github.com/PyQt5/PyQt / mouseClickEvent

Method mouseClickEvent

PyQtGraph/tools.py:81–83  ·  view source on GitHub ↗
(self, ev)

Source from the content-addressed store, hash-verified

79 self.setMouseMode(self.RectMode)
80
81 def mouseClickEvent(self, ev):
82 if ev.button() == pg.QtCore.Qt.RightButton:
83 self.autoRange()
84
85 def mouseDragEvent(self, ev):
86 pg.ViewBox.mouseDragEvent(self, ev)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected