Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

paint on rectangle using mouse area qml(Qt-5 ubuntu)

$
0
0
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:           }     }

Viewing all articles
Browse latest Browse all 13965