on xenial help sign in
Add alias to allow hiding the skip link on the Edge Demo, hide it for the final step in the tour
a229371mhall119
Components/EdgeDemo.qml+2−1
@@ -218,8 +218,9 @@ Item {
218 d.finalEdgeDemo = d.overlay.createObject(demo.underlay, {
218 d.finalEdgeDemo = d.overlay.createObject(demo.underlay, {
219 "edge": "none",
219 "edge": "none",
220 "title": i18n.tr("Well done"),
220 "title": i18n.tr("Well done"),
221− "text": i18n.tr("You have now mastered the edge gestures and can start using the phone. Tap anywhere to start"),
221+ "text": i18n.tr("You have now mastered the edge gestures and can start using the phone<br><br>Tap anywhere to start"),
222 "anchors.fill": demo.dash,
222 "anchors.fill": demo.dash,
223+ "showSkip": false,
223 });
224 });
224 }
225 }
225 if (d.finalEdgeDemo) {
226 if (d.finalEdgeDemo) {
Components/EdgeDemoOverlay.qml+5
@@ -43,6 +43,11 @@ Showable {
43 */
43 */
44 property alias skipText: skipLabel.text
44 property alias skipText: skipLabel.text
45
45
46+ /*
47+ * This is the visible status of the skip button.
48+ */
49+ property alias showSkip: skipLabel.visible
50+
46 /*
51 /*
47 * Whether this demo is running currently.
52 * Whether this demo is running currently.
48 */
53 */