Kstars

TutorialStep2.qml
1// SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com>
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4import QtQuick 2.7
5
6import QtQuick.Controls 2.0
7import QtQuick.Controls.Material 2.0
8import QtQuick.Controls.Universal 2.0
9
10import QtQuick.Window 2.2 as Window
11import QtQuick.Layouts 1.1
12
13RowLayout {
14 visible: step2
15 anchors {
16 left: parent.left
17 verticalCenter: parent.verticalCenter
18 right: parent.right
19 }
20
21 TutorialPane {
22 anchors{
23 right: arrow.left
24 verticalCenter: arrow.verticalCenter
25 }
26
27 contentWidth: (parent.width - arrow.width) * 0.75
28 title: xi18n("Context Drawer")
29 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.")
30
31 onNextClicked: {
32 step2 = false
33 step3 = true
34 }
35 }
36
37 Image {
38 id: arrow
39 rotation: 180
40 source: "../../images/tutorial-arrow-horizontal.png"
41 }
42}
QString xi18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.