ShapeRepeater QML Type

A Repeater-like component that works with ShapePaths. More...

Import Statement: import QuickGraphLib
Inherits:

Instantiator

Properties

Detailed Description

See the Repeater documentation for the general concept, and how to access data from the Instantiator::model.

If the ShapeRepeater is a child of the GraphArea provided to graphArea, then paths the ShapeRepeater instantiates will be inserted, in order, immediately after the repeater's position in the list of shape paths.

Note: The ShapeRepeater must temporarily remove the children of the GraphArea in order to add/remove paths it instantiates. This is fine for most elements, but Repeaters will destroy all of their children when this happens. This may cause performance issues or loss of state. If this is an issue, place the Repeater outside the GraphArea or inside an Item.

See also Peak buttons.

Property Documentation

graphArea : QQS.Shape [required]

The GraphArea to add paths to.