Warning, /education/kstars/kstars/kstarslite/qml/modules/tutorial/TutorialStep2.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     visible: step2
0015     anchors {
0016         left: parent.left
0017         verticalCenter: parent.verticalCenter
0018         right: parent.right
0019     }
0020 
0021     TutorialPane {
0022         anchors{
0023             right: arrow.left
0024             verticalCenter: arrow.verticalCenter
0025         }
0026 
0027         contentWidth: (parent.width - arrow.width) * 0.75
0028         title: xi18n("Context Drawer")
0029         description: xi18n("By swiping from right to left you can access context drawer with functions related to Sky Map. This menu is available only on Sky Map.")
0030 
0031         onNextClicked: {
0032             step2 = false
0033             step3 = true
0034         }
0035     }
0036 
0037     Image {
0038         id: arrow
0039         rotation: 180
0040         source: "../../images/tutorial-arrow-horizontal.png"
0041     }
0042 }