9
property bool cloned: false
10
property bool closeRequested: false
11
signal cloneRequested()
15
property real distanceX
16
property real distanceY
17
property bool dragging
20
var pos = mapToItem(root.target, mouseX, mouseY);
30
var pos = mapToItem(root.target.parent, mouseX, mouseY);
31
root.target.x = pos.x - distanceX;
32
root.target.y = pos.y - distanceY;
39
anchors.top: parent.top
40
anchors.bottom: parent.bottom
45
root.cloneRequested();
51
anchors.top: parent.top
52
anchors.bottom: parent.bottom
53
anchors.right: parent.right
56
fontSizeMode: Text.VerticalFit
57
minimumPixelSize: 10; font.pixelSize: 72
58
font.weight: Font.Bold
59
horizontalAlignment: Text.AlignRight
60
verticalAlignment: Text.AlignVCenter
64
root.closeRequested = true;