diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeqt/data/tint.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeqt/data/tint.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeqt/data/tint.qml b/tests/auto/declarative/qdeclarativeqt/data/tint.qml new file mode 100644 index 0000000..da8afe2 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeqt/data/tint.qml @@ -0,0 +1,9 @@ +import Qt 4.6 + +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)); // XXX - what should this be? + property color test4: Qt.tint("red", Qt.rgba(0, 0, 1, 0.5), 10); + property color test5: Qt.tint("red") +} |