blob: 0d5b4967665aabdc79c4e69ccfeec8386a462f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
import QtQuick 2.5
Rectangle {
width: 240
height: 320
MouseArea {
objectName: "mouseArea"
anchors.fill: parent
drag.target: moveable
drag.filterChildren: true
Rectangle {
id: moveable
objectName: "moveable"
color: "red"
x: 50
y: 80
width: 200
height: 200
}
Flickable {
objectName: "flickable"
anchors.fill: parent
contentHeight: 450
Rectangle {
x: 100
y: 50
width: 50
height: 350
color: "yellow"
}
MouseArea {
width: 240
height: 450
}
}
}
}
|