tests/auto/qml/qqmlqt/data/lighter.qml
raw| 1 | import QtQuick 2.0 |
| 2 | |
| 3 | QtObject { |
| 4 | property variant test1: Qt.lighter(Qt.rgba(1, 0.8, 0.3)) |
| 5 | property variant test2: Qt.lighter() |
| 6 | property variant test3: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8) |
| 7 | property variant test4: Qt.lighter("red"); |
| 8 | property variant test5: Qt.lighter("perfectred"); // Non-existent color |
| 9 | property variant test6: Qt.lighter(10); |
| 10 | property variant test7: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8, 5) |
| 11 | } |