Add mouse event to PlotCurveItem sigClicked signature
This commit is contained in:
parent
f5b8a150c0
commit
352a8a425a
@ -29,15 +29,15 @@ class PlotCurveItem(GraphicsObject):
|
|||||||
- Fill under curve
|
- Fill under curve
|
||||||
- Mouse interaction
|
- Mouse interaction
|
||||||
|
|
||||||
==================== ===============================================
|
===================== ===============================================
|
||||||
**Signals:**
|
**Signals:**
|
||||||
sigPlotChanged(self) Emitted when the data being plotted has changed
|
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)
|
sigPlotChanged = QtCore.Signal(object)
|
||||||
sigClicked = QtCore.Signal(object)
|
sigClicked = QtCore.Signal(object, object)
|
||||||
|
|
||||||
def __init__(self, *args, **kargs):
|
def __init__(self, *args, **kargs):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user