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
|
||||
- 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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user