Add signal documentation for graphicsscene
This commit is contained in:
parent
43209593c8
commit
58a865e088
@ -36,6 +36,18 @@ class GraphicsScene(QtGui.QGraphicsScene):
|
||||
This lets us indicate unambiguously to the user which item they are about to click/drag on
|
||||
* Eats mouseMove events that occur too soon after a mouse press.
|
||||
* Reimplements items() and itemAt() to circumvent PyQt bug
|
||||
|
||||
====================== ==================================================================
|
||||
**Signals**
|
||||
sigMouseClicked(event) Emitted when the mouse is clicked over the scene. Use ev.pos() to
|
||||
get the click position relative to the item that was clicked on,
|
||||
or ev.scenePos() to get the click position in scene coordinates.
|
||||
See :class:`pyqtgraph.GraphicsScene.MouseClickEvent`.
|
||||
sigMouseMoved(pos) Emitted when the mouse cursor moves over the scene. The position
|
||||
is given in scene coordinates.
|
||||
sigMouseHover(items) Emitted when the mouse is moved over the scene. Items is a list
|
||||
of items under the cursor.
|
||||
====================== ==================================================================
|
||||
|
||||
Mouse interaction is as follows:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user