aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlqt/data/tint.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlqt/data/tint.qml')
-rw-r--r--tests/auto/qml/qqmlqt/data/tint.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlqt/data/tint.qml b/tests/auto/qml/qqmlqt/data/tint.qml
new file mode 100644
index 0000000000..816e6e9b08
--- /dev/null
+++ b/tests/auto/qml/qqmlqt/data/tint.qml
@@ -0,0 +1,9 @@
+import QtQuick 2.0
+
+QtObject {
+ property color test1: Qt.tint("red", "blue");
+ property color test2: Qt.tint(Qt.rgba(1, 0, 0), Qt.rgba(0, 0, 0, 0));
+ property color test3: Qt.tint("red", Qt.rgba(0, 0, 1, 0.5));
+ property color test4: Qt.tint("red", Qt.rgba(0, 0, 1, 0.5), 10);
+ property color test5: Qt.tint("red")
+}