EllipseHandles QML Type
Interaction overlay for an elliptical region of interest. More...
| Import Statement: | import QuickGraphLib.GraphItems |
| Inherits: |
Properties
- bottomHandle : alias
- cardinalHandleDelegate : Component
- cardinalHandleShape : int
- cardinalHandlesMovable : bool
- centerHandle : alias
- centerHandleDelegate : Component
- centerHandleShape : int
- centerHandleSize : real
- dataRect : rect
- handleMode : int
- handleSize : real
- handles : var
- leftHandle : alias
- minimumDataHeight : real
- minimumDataWidth : real
- movable : bool
- rightHandle : alias
- topHandle : alias
Signals
Detailed Description
EllipseHandles provides selection, body dragging and optional cardinal resize handles for an ellipse. It does not own the ellipse data; instead it emits movement and resize signals so applications can update their own model.
Property Documentation
bottomHandle : alias [read-only]
A direct reference to the bottom resize handle.
cardinalHandleDelegate : Component
Optional visual delegate used for cardinal resize handles.
The delegate can read the handle state through parent.handle.
cardinalHandleShape : int
The default shape used for cardinal resize handles.
cardinalHandlesMovable : bool
Whether cardinal resize handles can resize the ellipse.
centerHandle : alias [read-only]
A direct reference to the optional center move handle.
centerHandleDelegate : Component
Optional visual delegate used for the center move handle.
The delegate can read the handle state through parent.handle.
centerHandleShape : int
The default shape used for the center move handle.
centerHandleSize : real
The visual size and hit target size of the center handle.
dataRect : rect [required]
The ellipse bounding rectangle in data coordinates.
handleMode : int
Which built-in handles should be shown.
handleSize : real
The visual size and hit target size of cardinal resize handles.
handles : var [read-only]
GraphHandle objects rendered by this item.
leftHandle : alias [read-only]
A direct reference to the left resize handle.
minimumDataHeight : real
The minimum height emitted when resize handles are dragged toward the opposite edge.
minimumDataWidth : real
The minimum width emitted when resize handles are dragged toward the opposite edge.
movable : bool
Whether dragging the ellipse body should emit movement signals.
rightHandle : alias [read-only]
A direct reference to the right resize handle.
topHandle : alias [read-only]
A direct reference to the top resize handle.
Signal Documentation
moved(point delta)
Emitted when the ellipse body has moved by delta in data coordinates.
Note: The corresponding handler is onMoved.
resized(rect dataRect)
Emitted when a handle has resized the ellipse to dataRect.
Note: The corresponding handler is onResized.