A Path object defines a path for use by PathView. More...
This element was introduced in Qt 4.7.
A Path is composed of one or more path segments - PathLine, PathQuad, PathCubic.
The spacing of the items along the Path can be adjusted via a PathPercent object.
PathAttribute allows named attributes with values to be defined along the path.
See also PathView, PathAttribute, PathPercent, PathLine, PathQuad, and PathCubic.
read-onlyclosed : bool |
This property holds whether the start and end of the path are identical.
read-onlydefaultpathElements : list<PathElement> |
This property holds the objects composing the path.
A path can contain the following path objects:
PathView { anchors.fill: parent model: ContactModel {} delegate: delegate path: Path { startX: 120; startY: 100 PathAttribute { name: "iconScale"; value: 1.0 } PathAttribute { name: "iconOpacity"; value: 1.0 } PathQuad { x: 120; y: 25; controlX: 260; controlY: 75 } PathAttribute { name: "iconScale"; value: 0.3 } PathAttribute { name: "iconOpacity"; value: 0.5 } PathQuad { x: 120; y: 100; controlX: -20; controlY: 75 } } }
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.