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

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), 2.8)
    property variant test4: Qt.darker("red");
    property variant test5: Qt.darker("perfectred"); // Non-existant color
    property variant test6: Qt.darker(10);
    property variant test7: Qt.darker(Qt.rgba(1, 0.8, 0.3), 2.8, 10)
}