Merge pull request #1267 from ixjlyons/fix-plotcurveitem-sigclicked

Add mouse event to PlotCurveItem sigClicked signature
This commit is contained in:
Ogi Moore 2020-06-20 08:19:51 -07:00 committed by GitHub
commit e5a1327041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
==================== ===============================================
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):
"""