Qt Quick Studio Components QML Types

Preset components are available for creating differently shaped objects, such as arcs, pies, regular polygons, stars, texts, or triangles, as well as objects with particular abilities, such as being visibly flipped between their front and back sides, like a card. The components are built on top of Qt Quick Shapes QML Types, with some additional properties.

The QML types can be imported into your application using the following import statements in your .qml file:

import QtQuick.Studio.Components

ArcItem

An arc that ends at the specified position and uses the specified radius

BorderItem

A border drawn in four segments: left, top, right, and bottom

EllipseItem

A filled ellipse with an optional border

FlipableItem

Provides a surface that can be flipped

GroupItem

A group item that gets its size from its children

PieItem

A pie

RectangleItem

A filled rectangle with an optional border

RegularPolygonItem

A filled regular polygon with an optional border

StarItem

A filled star-shaped polygon with an optional border

SvgPathItem

A path defined using an SVG path data string

TextItem

A filled text with an optional border

TriangleItem

A triangle

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.