Kirigami-addons

AboutKDEPage.qml
1// SPDX-FileCopyrightText: 2022 Joshua Goins <josh@redstrate.com>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4import QtQuick
5import QtQuick.Controls as QQC2
6import QtQuick.Window
7import QtQuick.Layouts
8import org.kde.kirigami as Kirigami
9
10/**
11 * @brief An "About KDE" page using Form components.
12 *
13 * This component consists of a full, internationalized "About KDE" page
14 * that can be instantiated directly without passing any properties.
15 *
16 * @since KirigamiAddons 0.11.0
17 *
18 * @inherit Kirigami.ScrollablePage
19 */
20FormCardPage {
21 id: page
22
23 title: i18nd("kirigami-addons6", "About KDE")
24
25 FormCard {
26 Layout.topMargin: Kirigami.Units.largeSpacing * 4
27
29 id: generalDelegate
30 Layout.fillWidth: true
31 background: null
32 contentItem: RowLayout {
33 spacing: Kirigami.Units.smallSpacing * 2
34
35 Kirigami.Icon {
36 Layout.preferredHeight: Kirigami.Units.iconSizes.huge
37 Layout.preferredWidth: height
38 Layout.maximumWidth: page.width / 3;
39 Layout.rightMargin: Kirigami.Units.largeSpacing
40 source: "kde"
41 }
42
43 ColumnLayout {
44 Layout.fillWidth: true
45 spacing: Kirigami.Units.smallSpacing
46
47 Kirigami.Heading {
48 Layout.fillWidth: true
49 text: i18nd("kirigami-addons6", "KDE")
50 wrapMode: Text.WordWrap
51 }
52
53 Kirigami.Heading {
54 Layout.fillWidth: true
55 level: 3
56 type: Kirigami.Heading.Type.Secondary
57 wrapMode: Text.WordWrap
58 text: i18nd("kirigami-addons6", "Be Free!")
59 }
60 }
61 }
62 }
63
65
67 text: i18nd("kirigami-addons6", "KDE is a world-wide community of software engineers, artists, writers, translators and creators who are committed to Free Software development. KDE produces the Plasma desktop environment, hundreds of applications, and the many software libraries that support them.\n\n\
68KDE is a cooperative enterprise: no single entity controls its direction or products. Instead, we work together to achieve the common goal of building the world's finest Free Software. Everyone is welcome to join and contribute to KDE, including you.")
69 textItem.wrapMode: Text.WordWrap
70 }
71
73
75 text: i18nd("kirigami-addons6", "Homepage")
76 onClicked: Qt.openUrlExternally("https://kde.org/")
77 }
78 }
79
81 title: i18nd("kirigami-addons6", "Report bugs")
82 }
83
84 FormCard {
86 text: i18nd("kirigami-addons6", "Software can always be improved, and the KDE team is ready to do so. However, you - the user - must tell us when something does not work as expected or could be done better.\n\n\
87KDE has a bug tracking system. Use the button below to file a bug, or use the program's About page to report a bug specific to this application.\n\n\
88If you have a suggestion for improvement then you are welcome to use the bug tracking system to register your wish. Make sure you use the severity called \"Wishlist\".")
89 textItem.wrapMode: Text.WordWrap
90 }
91
93
95 text: i18nd("kirigami-addons6", "Report a bug")
96 onClicked: Qt.openUrlExternally("https://bugs.kde.org/")
97 }
98 }
99
100 FormHeader {
101 title: i18nd("kirigami-addons6", "Join us")
102 }
103
104 FormCard {
106 text: i18nd("kirigami-addons6", "You do not have to be a software developer to be a member of the KDE team. You can join the language teams that translate program interfaces. You can provide graphics, themes, sounds, and improved documentation. You decide!")
107 textItem.wrapMode: Text.WordWrap
108 }
109
110 FormDelegateSeparator { above: getInvolved }
111
113 id: getInvolved
114 text: i18nd("kirigami-addons6", "Get Involved")
115 onClicked: Qt.openUrlExternally("https://community.kde.org/Get_Involved")
116 }
117
118 FormDelegateSeparator { above: devDoc; below: getInvolved }
119
121 id: devDoc
122 text: i18nd("kirigami-addons6", "Developer Documentation")
123 onClicked: Qt.openUrlExternally("https://develop.kde.org/")
124 }
125 }
126
127 FormHeader {
128 title: i18nd("kirigami-addons6", "Support us")
129 }
130
131 FormCard {
133 text: i18nd("kirigami-addons6", "KDE software is and will always be available free of charge, however creating it is not free.\n\n\
134To support development the KDE community has formed the KDE e.V., a non-profit organization legally founded in Germany. KDE e.V. represents the KDE community in legal and financial matters.\n\n\
135KDE benefits from many kinds of contributions, including financial. We use the funds to reimburse members and others for expenses they incur when contributing. Further funds are used for legal support and organizing conferences and meetings.\n\n\
136We would like to encourage you to support our efforts with a financial donation.\n\n\
137Thank you very much in advance for your support.")
138 textItem.wrapMode: Text.WordWrap
139 }
140
141 FormDelegateSeparator { above: ev }
142
144 id: ev
145 text: i18nd("kirigami-addons6", "KDE e.V")
146 onClicked: Qt.openUrlExternally("https://ev.kde.org/")
147 }
148
149 FormDelegateSeparator { above: donate; below: ev }
150
152 id: donate
153 text: i18nd("kirigami-addons6", "Donate")
154 onClicked: Qt.openUrlExternally("https://www.kde.org/donate")
155 }
156 }
157}
A base item for delegates to be used in a FormCard.
A Form delegate that corresponds to a clickable button.
A single card that follows a form style.
Definition FormCard.qml:35
A context-aware separator.
A header item for a form card.
A Form delegate that corresponds to a text label and a description.
QString i18nd(const char *domain, const char *text, const TYPE &arg...)
QAction * donate(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:10:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.