To paint the rectangle in qml using mouse area. I dont know how to use drag to paint the rectangle. Here is the code i am working with
Rectangle {
id: container
width: 600; height: 200
MouseArea {
anchors.fill: parent
drag.target:
drag.axis:
}
}
↧