2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2012-02-29 01:48:06 +00:00
|
|
|
|
2021-02-04 10:46:07 +00:00
|
|
|
import QtQuick
|
2021-08-31 11:19:05 +00:00
|
|
|
import shared as Examples
|
2012-02-29 01:48:06 +00:00
|
|
|
|
|
|
|
Item {
|
2023-02-20 17:01:12 +00:00
|
|
|
id: root
|
2012-02-29 01:48:06 +00:00
|
|
|
height: 480
|
|
|
|
width: 320
|
|
|
|
Examples.LauncherList {
|
2023-02-20 17:01:12 +00:00
|
|
|
anchors.fill: root
|
2012-02-29 01:48:06 +00:00
|
|
|
Component.onCompleted: {
|
2023-02-20 17:01:12 +00:00
|
|
|
addExample(qsTr("Red heart"), qsTr("Draws a red heart with bezier curves"),
|
|
|
|
Qt.resolvedUrl("bezierCurve/bezierCurve.qml"))
|
|
|
|
addExample(qsTr("Talk bubble"), qsTr("Draws a talk bubble with quadratic curves"),
|
|
|
|
Qt.resolvedUrl("quadraticCurveTo/quadraticCurveTo.qml"))
|
|
|
|
addExample(qsTr("Squircle"), qsTr("Draws a smooth squircle with simple lines"),
|
|
|
|
Qt.resolvedUrl("squircle/squircle.qml"))
|
|
|
|
addExample(qsTr("Rounded rectangle"), qsTr("Draws a rounded rectangle with lines and arcs"),
|
|
|
|
Qt.resolvedUrl("roundedrect/roundedrect.qml"))
|
|
|
|
addExample(qsTr("Smile face"), qsTr("Draws a smile face with complex paths"),
|
|
|
|
Qt.resolvedUrl("smile/smile.qml"))
|
|
|
|
addExample(qsTr("Clip"), qsTr("Shows the canvas clip feature"),
|
|
|
|
Qt.resolvedUrl("clip/clip.qml"))
|
|
|
|
addExample(qsTr("Tiger"), qsTr("Draw a tiger with a collection of SVG paths"),
|
|
|
|
Qt.resolvedUrl("tiger/tiger.qml"))
|
2012-02-29 01:48:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|