Alessandro Bonazzi 8c43d5cf2f Patch level : 12.00
Files correlati     : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe

Bug                 :

Commento:
Merge 1.0 libraries
2025-04-06 00:42:21 +02:00

27 lines
618 B
QML

import QtQuick 1.0
/*
this test shows a blue box being dragged around -- first roughly tracing the
borders of the window, then doing a rough 'x'-shape, then moving to around the middle.
*/
Rectangle{
width:400
height:440
color: "white"
Rectangle{
id: draggable
width:40; height:40; color: "lightsteelblue"
y:20
MouseArea{
anchors.fill: parent
drag.target: draggable
drag.axis: "XandYAxis"
drag.minimumX: 0
drag.maximumX: 360
drag.minimumY: 20
drag.maximumY: 400
}
}
}