summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeqt/data/darker.qml
blob: b265a0e5e22ce9cdb068df2951cadd177103efa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Qt 4.6

QtObject {
    property variant test1: Qt.darker(Qt.rgba(1, 0.8, 0.3))
    property variant test2: Qt.darker()
    property variant test3: Qt.darker(Qt.rgba(1, 0.8, 0.3), 10)
    property variant test4: Qt.darker("red");
    property variant test5: Qt.darker("perfectred"); // Non-existant color
    property variant test6: Qt.darker(10);
}