diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeqt/data/lighter.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeqt/data/lighter.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeqt/data/lighter.qml b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml new file mode 100644 index 0000000000..67f0d0f30d --- /dev/null +++ b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml @@ -0,0 +1,11 @@ +import QtQuick 1.0 + +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), 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) +} |