diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-02 08:34:07 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-11-02 08:34:07 (GMT) |
commit | 8b4cbdbd3bfcdc98ca5f8e728b004596a1213127 (patch) | |
tree | 82a1e7105672b72278a7f7967cb5c70c1188c506 /tests/auto/declarative/qmlqt/data/tint.qml | |
parent | 237ff8235191bdc06f0ef80d76c8f9a0934413b9 (diff) | |
download | Qt-8b4cbdbd3bfcdc98ca5f8e728b004596a1213127.zip Qt-8b4cbdbd3bfcdc98ca5f8e728b004596a1213127.tar.gz Qt-8b4cbdbd3bfcdc98ca5f8e728b004596a1213127.tar.bz2 |
Qt object test
Diffstat (limited to 'tests/auto/declarative/qmlqt/data/tint.qml')
-rw-r--r-- | tests/auto/declarative/qmlqt/data/tint.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlqt/data/tint.qml b/tests/auto/declarative/qmlqt/data/tint.qml new file mode 100644 index 0000000..31e67ba --- /dev/null +++ b/tests/auto/declarative/qmlqt/data/tint.qml @@ -0,0 +1,9 @@ +import Qt 4.6 + +Object { + 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") +} |