on xenial help sign in
Add a rotating rectangle, useful to see when the menus are being "slow" rebuilding themselves
d554efdAlbert Astals Cid
tools/menutool/menutool.qml+14
@@ -48,6 +48,20 @@ Item {
48 model: menuModel
48 model: menuModel
49 }
49 }
50
50
51+ Rectangle {
52+ width: 50
53+ height: 50
54+ anchors.centerIn: parent
55+ color: "gray"
56+ rotation: 45
57+ Timer {
58+ interval: 20
59+ running: true
60+ repeat: true
61+ onTriggered: parent.rotation = parent.rotation+1
62+ }
63+ }
64+
51 Rectangle {
65 Rectangle {
52 color: "green"
66 color: "green"
53 anchors.bottom: parent.bottom
67 anchors.bottom: parent.bottom