PolylineHandles QML Type
Interaction overlay for an open polyline region of interest. More...
| Import Statement: | import QuickGraphLib.GraphItems |
| Inherits: |
Properties
- handleHitSize : real
- handleSize : real
- handles : var
- hitWidth : real
- movable : bool
- points : var
- vertexHandleDelegate : Component
- vertexHandleShape : int
- vertexHandlesMovable : bool
Signals
- moved(point delta)
- pointMoved(int index, point position)
Detailed Description
PolylineHandles provides selection, body dragging and vertex handles for a list of points. It does not own the point data; instead it emits movement signals so applications can update their own model.
Property Documentation
handleHitSize : real |
The mouse hit target size of vertex handles.
handleSize : real |
The visual size and hit target size of vertex handles.
handles : var |
GraphHandle objects rendered by this item.
hitWidth : real |
The body hit target width in pixels.
movable : bool |
Whether dragging the polyline body should emit movement signals.
points : var |
Points in data coordinates.
vertexHandleDelegate : Component |
Optional visual delegate used for vertex handles.
The delegate can read the handle state through parent.handle.
vertexHandleShape : int |
The default shape used for vertex resize handles.
vertexHandlesMovable : bool |
Whether vertex handles can move individual points.
Signal Documentation
moved(point delta) |
Emitted when the polyline body has moved by delta in data coordinates.
Note: The corresponding handler is onMoved.
Emitted when point index has moved to position in data coordinates.
Note: The corresponding handler is onPointMoved.