Kstars

TutorialStep1.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  signal stepFinished()
15 
16  visible: step1
17  anchors {
18  left: parent.left
19  verticalCenter: parent.verticalCenter
20  right: parent.right
21  }
22 
23  Image {
24  id: arrow
25  source: "../../images/tutorial-arrow-horizontal.png"
26  }
27 
28  TutorialPane {
29  anchors{
30  left: arrow.right
31  verticalCenter: arrow.verticalCenter
32  }
33 
34  contentWidth: (parent.width - arrow.width) * 0.75
35  title: xi18n("Global Drawer")
36  description: xi18n("By swiping from left to right on any page of KStars Lite you can access global drawer")
37  onNextClicked: {
38  step1 = false
39  step2 = true
40  }
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 Fri Aug 19 2022 03:57:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.