Kstars

AboutDialog.qml
1 // SPDX-FileCopyrightText: 2018 Csaba Kertesz <[email protected]>
2 // SPDX-License-Identifier: GPL-2.0-or-later
3 
4 import QtQuick 2.6
5 import QtQuick.Window 2.2
6 import QtQuick.Layouts 1.1
7 import QtQuick.Controls 2.0
8 import QtQuick.Controls.Material 2.0
9 import QtQuick.Controls.Universal 2.0
10 import "../constants" 1.0
11 import "../modules"
12 
13 KSPage {
14  id: aboutDialog
15  objectName: "aboutDialog"
16  title: xi18n("About")
17 
18  property alias versionText: versionLabel.text
19  property alias buildText: buildLabel.text
20  property alias teamText: teamLabel.text
21  property alias licenseText: licenseLabel.text
22 
23  ColumnLayout {
24  Layout.fillWidth: true
25  Layout.fillHeight: true
26 
27  KSLabel {
28  text: xi18n("KStars")
29  }
30 
31  KSLabel {
32  id: versionLabel
33  text: ""
34  }
35 
36  KSLabel {
37  text: xi18n("Desktop Planetarium")
38  }
39 
40  KSLabel {
41  id: buildLabel
42  text: ""
43  }
44 
45  KSLabel {
46  id: teamLabel
47  text: ""
48  }
49 
50  KSLabel {
51  textFormat: Text.RichText
52  text: "<a href=\"https://edu.kde.org/kstars\">https://edu.kde.org/kstars</a>"
53  }
54 
55  KSLabel {
56  id: licenseLabel
57  text: ""
58  }
59  }
60 }
QString xi18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.