on xenial help sign in
allow selecting iteoms in spread by clicking the icon
0f5a760Michael Zanetti
qml/Stage/Stage.qml+5
@@ -1425,6 +1425,11 @@ AbstractStage {
1425 opacity: 0
1425 opacity: 0
1426 z: 1
1426 z: 1
1427 visible: opacity > 0
1427 visible: opacity > 0
1428+
1429+ onClicked: {
1430+ spreadItem.highlightedIndex = index;
1431+ priv.goneToSpread = false;
1432+ }
1428 }
1433 }
1429
1434
1430 Image {
1435 Image {
qml/Stage/WindowInfoItem.qml+7
@@ -12,6 +12,8 @@ Item {
12 property real iconMargin: (height - titleLabel.height) * 0.25
12 property real iconMargin: (height - titleLabel.height) * 0.25
13 property real labelMargin: (height - titleLabel.height) * 0.1
13 property real labelMargin: (height - titleLabel.height) * 0.1
14
14
15+ signal clicked()
16+
15 ProportionalShape {
17 ProportionalShape {
16 id: iconShape
18 id: iconShape
17 anchors {
19 anchors {
@@ -30,6 +32,11 @@ Item {
30 }
32 }
31 }
33 }
32
34
35+ MouseArea {
36+ anchors.fill: iconShape
37+ onClicked: root.clicked()
38+ }
39+
33 Label {
40 Label {
34 id: titleLabel
41 id: titleLabel
35 anchors {
42 anchors {