diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/generalizedGroupHint.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/generalizedGroupHint.qml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/generalizedGroupHint.qml b/tests/auto/qml/qmllint/data/generalizedGroupHint.qml new file mode 100644 index 0000000000..5fec03f7f3 --- /dev/null +++ b/tests/auto/qml/qmllint/data/generalizedGroupHint.qml @@ -0,0 +1,23 @@ +import QtQuick + +Window { + width: 640 + height: 480 + visible: true + title: 'Resolve my color type' + + Item { + id: foo + + states: [ + State { + PropertyChanges { + target: foo + myColor: Qt.rgba(0.5, 0.5, 0.5, 0.16) + } + } + ] + + property color myColor: 'black' + } +} |