Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML Drag Outside of Window

$
0
0
I have a simple rectangle that drags on the x axis. My window size is 800×480. I have a white Rectangle that is able to drag on the X axis. When pressed (onPressed) the Rectangle changes to red and drags along the X axis. If the mouse goes outside the window my onReleased signal does not fire nor does the drag ever resume when the mouse enters the window again, Thus the rectangle is still Red. Is there any way that I can pickup if the mouse leaves the window? Thank you

Viewing all articles
Browse latest Browse all 4972

Trending Articles