Kstars

TutorialStep1.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 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}
QString xi18n(const char *text, const TYPE &arg...)
QTextStream & left(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.