Kstars

TutorialStep2.qml
1 // SPDX-FileCopyrightText: 2016 Artem Fedoskin <[email protected]>
2 // SPDX-License-Identifier: GPL-2.0-or-later
3 
4 import QtQuick 2.7
5 
6 import QtQuick.Controls 2.0
7 import QtQuick.Controls.Material 2.0
8 import QtQuick.Controls.Universal 2.0
9 
10 import QtQuick.Window 2.2 as Window
11 import QtQuick.Layouts 1.1
12 
13 RowLayout {
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 }
QTextStream & right(QTextStream &stream)
QTextStream & left(QTextStream &stream)
QString xi18n(const char *text, const TYPE &arg...)
QTextStream & left(QTextStream &s)
QTextStream & right(QTextStream &s)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 04:00:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.