diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-04-29 07:59:58 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-04-29 07:59:58 (GMT) |
commit | 31dae3d294b932c4fb2934b713273433ff4aff7c (patch) | |
tree | 2d44d9c6c61adebca4efe0f494d6647c150e6711 /tests/auto/declarative/qdeclarativeqt/data/lighter.qml | |
parent | 20290c189bf00fc457ec7d1f82708a8df83adbc5 (diff) | |
download | Qt-31dae3d294b932c4fb2934b713273433ff4aff7c.zip Qt-31dae3d294b932c4fb2934b713273433ff4aff7c.tar.gz Qt-31dae3d294b932c4fb2934b713273433ff4aff7c.tar.bz2 |
Allow factor parameter to be passed to Qt.lighter() and Qt.darker()
Diffstat (limited to 'tests/auto/declarative/qdeclarativeqt/data/lighter.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeqt/data/lighter.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeqt/data/lighter.qml b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml index 6c0053ba..ddaf78d 100644 --- a/tests/auto/declarative/qdeclarativeqt/data/lighter.qml +++ b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml @@ -3,8 +3,9 @@ import Qt 4.7 QtObject { property variant test1: Qt.lighter(Qt.rgba(1, 0.8, 0.3)) property variant test2: Qt.lighter() - property variant test3: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 10) + property variant test3: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8) property variant test4: Qt.lighter("red"); property variant test5: Qt.lighter("perfectred"); // Non-existant color property variant test6: Qt.lighter(10); + property variant test7: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8, 5) } |