MCPcopy Index your code
hub / github.com/PyQt5/PyQt / __init__

Method __init__

PyQtGraph/testGraphAnalysis.py:22–25  ·  view source on GitHub ↗
(self, *args, **kwds)

Source from the content-addressed store, hash-verified

20
21class CustomViewBox(pg.ViewBox):
22 def __init__(self, *args, **kwds):
23 pg.ViewBox.__init__(self, *args, **kwds)
24 self.RectMode = 3
25 self.setMouseMode(self.RectMode)
26
27 def mouseClickEvent(self, ev):
28 if ev.button() == pg.QtCore.Qt.RightButton:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected