From 9381a9e5c6c907ba05643b0789123d2dac00bb3b Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 2 Nov 2020 11:15:52 +0200 Subject: startupscreen: Add deployment guide Use the html text from Boot to Qt documentation for the guide. Some modification needed for the html file to remove header and footer, use correct path to images and remove links: sed -i -e '0,/$$$b2qt/d' -e '/@@@b2qt/,$d' -e 's|images/|assets/|' \ -e 's/]*>//g' -e 's|||g' assets/b2qt-tutorial-deploying.html Since TextArea doesn't work correcly in Flickable with touch event, use Text element with styling from dummy TextArea. Task-number: QTBUG-87029 Change-Id: I5835fc684ad01d69e1bce7f6920dd5f561fbe56c Reviewed-by: Rami Potinkara Reviewed-by: Tarja Sundqvist --- startupscreen/MainView.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'startupscreen/MainView.qml') diff --git a/startupscreen/MainView.qml b/startupscreen/MainView.qml index fb79df3..c297f41 100644 --- a/startupscreen/MainView.qml +++ b/startupscreen/MainView.qml @@ -147,6 +147,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: parent.bottom anchors.bottomMargin: height / 4 + onPressed: guide.visible = true } } } @@ -229,6 +230,11 @@ Item { id: usbModeDialog } + GuideView { + id: guide + visible: false + } + // base state = landscape states: [ State { -- cgit v1.2.3