Warning, /education/kstars/kstars/kstarslite/qml/modules/tutorial/TutorialStep1.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 import QtQuick 2.7
0005 
0006 import QtQuick.Controls 2.0
0007 import QtQuick.Controls.Material 2.0
0008 import QtQuick.Controls.Universal 2.0
0009 
0010 import QtQuick.Window 2.2 as Window
0011 import QtQuick.Layouts 1.1
0012 
0013 RowLayout {
0014     signal stepFinished()
0015 
0016     visible: step1
0017     anchors {
0018         left: parent.left
0019         verticalCenter: parent.verticalCenter
0020         right: parent.right
0021     }
0022 
0023     Image {
0024         id: arrow
0025         source: "../../images/tutorial-arrow-horizontal.png"
0026     }
0027 
0028     TutorialPane {
0029         anchors{
0030             left: arrow.right
0031             verticalCenter: arrow.verticalCenter
0032         }
0033 
0034         contentWidth: (parent.width - arrow.width) * 0.75
0035         title: xi18n("Global Drawer")
0036         description: xi18n("By swiping from left to right on any page of KStars Lite you can access global drawer")
0037         onNextClicked: {
0038             step1 = false
0039             step2 = true
0040         }
0041     }
0042 }