diff options
Diffstat (limited to 'tests/auto/qmlls/utils/data/BaseType.qml')
-rw-r--r-- | tests/auto/qmlls/utils/data/BaseType.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/qmlls/utils/data/BaseType.qml b/tests/auto/qmlls/utils/data/BaseType.qml new file mode 100644 index 0000000000..168630f8ef --- /dev/null +++ b/tests/auto/qmlls/utils/data/BaseType.qml @@ -0,0 +1,28 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +import QtQuick 2.15 + +Item { + property string inBaseTypeDotQml: "Hello from BaseType!" + + component MyBaseInlineComponent: Item { + id: baseIC + } + + Item { + id: child + + Item { + id: nestedChild + + component MyNestedInlineComponent: Item { + property string inMyNestedInlineComponent: "world" + } + } + } + property int helloProperty: 123 + function helloFunction() { + return helloProperty + } +} |