Add mouse event to PlotCurveItem sigClicked signature

This commit is contained in:
Kenneth Lyons 2020-06-19 23:00:02 -07:00
parent f5b8a150c0
commit 352a8a425a

View File

@ -29,15 +29,15 @@ class PlotCurveItem(GraphicsObject):
- Fill under curve
- Mouse interaction
==================== ===============================================
===================== ===============================================
**Signals:**
sigPlotChanged(self) Emitted when the data being plotted has changed
sigClicked(self) Emitted when the curve is clicked
==================== ===============================================
sigPlotChanged(self) Emitted when the data being plotted has changed
sigClicked(self, ev) Emitted when the curve is clicked
===================== ===============================================
"""
sigPlotChanged = QtCore.Signal(object)
sigClicked = QtCore.Signal(object)
sigClicked = QtCore.Signal(object, object)
def __init__(self, *args, **kargs):
"""