blob: 71e0ac8989a4eacd9ec902ae5be7c029543ef42e (
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
|
import QtQuick
import Test
Item {
width: 320
height: 240
property alias exclusiveGrabber: exGrabber
property alias passiveGrabber: psGrabber
ExclusiveGrabber {
id: exGrabber
width: parent.width
height: 30
color: "blue"
anchors.verticalCenter: parent.verticalCenter
Text {
anchors.centerIn: parent
text: "Exclusive Grabber"
}
}
PassiveGrabber {
id: psGrabber
width: parent.width * 0.3
height: parent.height
color: "yellow"
opacity: 0.5
Text {
anchors.centerIn: parent
text: "Passive Grabber"
rotation: 90
}
}
}
|