QML Basic Type: pointA point type has x and y attributes. To create a point value, specify it as a "x,y" string: CustomObject { myPointProperty: "0,20" } Or use the Qt.point() function: CustomObject { myPointProperty: Qt.point(0, 20) } See also QML Basic Types. |