diff options
Diffstat (limited to 'tests/manual/painterpathquickshape/text.qml')
-rw-r--r-- | tests/manual/painterpathquickshape/text.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/manual/painterpathquickshape/text.qml b/tests/manual/painterpathquickshape/text.qml new file mode 100644 index 0000000000..a4ca287600 --- /dev/null +++ b/tests/manual/painterpathquickshape/text.qml @@ -0,0 +1,21 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +import QtQuick +import QtQuick.Shapes + +ControlledShape { + strokeColor: "black" + strokeWidth: 1 + fillColor: "black" + + delegate: [ + PathText { + x: 0 + y: 0 + text: qsTr("Qt!") + font.family: "Arial" + font.pixelSize: 150 + } + ] +} |