tests/auto/qml/qqmlqt/data/tint.qml
raw| 1 | import QtQuick 2.0 |
| 2 | |
| 3 | QtObject { |
| 4 | property color test1: Qt.tint("red", "blue"); |
| 5 | property color test2: Qt.tint(Qt.rgba(1, 0, 0), Qt.rgba(0, 0, 0, 0)); |
| 6 | property color test3: Qt.tint("red", Qt.rgba(0, 0, 1, 0.5)); |
| 7 | property color test4: Qt.tint("red", Qt.rgba(0, 0, 1, 0.5), 10); |
| 8 | property color test5: Qt.tint("red") |
| 9 | } |