Revision control

Copy as Markdown

import QtQuick 2.0
QtObject {
property color test1: Qt.rgba(1, 0, 0, 0.8);
property color test2: Qt.rgba(1, 0.5, 0.3);
property color test3: Qt.rgba(1, 1);
property color test4: Qt.rgba(1, 1, 1, 1, 1);
property color test5: Qt.rgba(1.2, 1.3, 1.4, 1.5);
property color test6: Qt.rgba(-0.1, -0.2, -0.3, -0.4);
property color test7: Qt.rgba(undefined, undefined, undefined, undefined); // should not crash
}