Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
23 lines
477 B
QML
23 lines
477 B
QML
import QtQuick 1.0
|
|
Rectangle {
|
|
id: whiteRect
|
|
width: 200
|
|
height: 200
|
|
color: "white"
|
|
Rectangle {
|
|
id: blackRect
|
|
objectName: "blackrect"
|
|
color: "black"
|
|
y: 50
|
|
x: 50
|
|
width: 100
|
|
height: 100
|
|
MouseArea {
|
|
objectName: "mouseregion"
|
|
anchors.fill: parent
|
|
drag.target: blackRect
|
|
drag.axis: blackRect.x <= 60 ? Drag.XandYAxis : Drag.YAxis
|
|
}
|
|
}
|
|
}
|