Kstars

AboutDialog.qml
1// SPDX-FileCopyrightText: 2018 Csaba Kertesz <csaba.kertesz@gmail.com>
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4import QtQuick 2.6
5import QtQuick.Window 2.2
6import QtQuick.Layouts 1.1
7import QtQuick.Controls 2.0
8import QtQuick.Controls.Material 2.0
9import QtQuick.Controls.Universal 2.0
10import "../constants" 1.0
11import "../modules"
12
13KSPage {
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-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:59:52 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.