diff options
Diffstat (limited to 'tests/auto/qml/qqmlqt/data/color.qml')
-rw-r--r-- | tests/auto/qml/qqmlqt/data/color.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlqt/data/color.qml b/tests/auto/qml/qqmlqt/data/color.qml new file mode 100644 index 0000000000..89e2216ce5 --- /dev/null +++ b/tests/auto/qml/qqmlqt/data/color.qml @@ -0,0 +1,10 @@ +import QtQuick 2.0 + +QtObject { + property variant test1: Qt.color("red") + property variant test2: Qt.color("#ff00ff00") + property variant test3: Qt.color("taint") // Taint is not a valid color + property variant test4: Qt.color(0.5) + property variant test5: Qt.color() + property variant test6: Qt.color("blue", 0) +} |