Kirigami-addons

AboutKDE.qml
1// SPDX-FileCopyrightText: 2022 Joshua Goins <josh@redstrate.com>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4import QtQuick 2.15
5import QtQuick.Controls 2.15 as QQC2
6import QtQuick.Window 2.15
7import QtQuick.Layouts 1.15
8import org.kde.kirigami 2.20 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.gridUnit
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.rowSpan: 3
37 Layout.preferredHeight: Kirigami.Units.iconSizes.huge
38 Layout.preferredWidth: height
39 Layout.maximumWidth: page.width / 3;
40 Layout.rightMargin: Kirigami.Units.largeSpacing
41 source: "kde"
42 }
43
44 ColumnLayout {
45 Layout.fillWidth: true
46 spacing: Kirigami.Units.smallSpacing
47
48 Kirigami.Heading {
49 Layout.fillWidth: true
50 text: i18nd("kirigami-addons6", "KDE")
51 wrapMode: Text.WordWrap
52 }
53
54 Kirigami.Heading {
55 Layout.fillWidth: true
56 level: 3
57 type: Kirigami.Heading.Type.Secondary
58 wrapMode: Text.WordWrap
59 text: i18nd("kirigami-addons6", "Be Free!")
60 }
61 }
62 }
63 }
64
66
68 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\
69KDE 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.")
70 textItem.wrapMode: Text.WordWrap
71 }
72
74
76 text: i18nd("kirigami-addons6", "Homepage")
77 onClicked: Qt.openUrlExternally("https://kde.org/")
78 }
79 }
80
82 title: i18nd("kirigami-addons6", "Report bugs")
83 }
84
85 FormCard {
87 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\
88KDE 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\
89If 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\".")
90 textItem.wrapMode: Text.WordWrap
91 }
92
94
96 text: i18nd("kirigami-addons6", "Report a bug")
97 onClicked: Qt.openUrlExternally("https://bugs.kde.org/")
98 }
99 }
100
101 FormHeader {
102 title: i18nd("kirigami-addons6", "Join us")
103 }
104
105 FormCard {
107 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!")
108 textItem.wrapMode: Text.WordWrap
109 }
110
111 FormDelegateSeparator { above: getInvolved }
112
114 id: getInvolved
115 text: i18nd("kirigami-addons6", "Get Involved")
116 onClicked: Qt.openUrlExternally("https://community.kde.org/Get_Involved")
117 }
118
119 FormDelegateSeparator { above: devDoc; below: getInvolved }
120
122 id: devDoc
123 text: i18nd("kirigami-addons6", "Developer Documentation")
124 onClicked: Qt.openUrlExternally("https://develop.kde.org/")
125 }
126 }
127
128 FormHeader {
129 title: i18nd("kirigami-addons6", "Support us")
130 }
131
132 FormCard {
134 text: i18nd("kirigami-addons6", "KDE software is and will always be available free of charge, however creating it is not free.\n\n\
135To 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\
136KDE 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\
137We would like to encourage you to support our efforts with a financial donation.\n\n\
138Thank you very much in advance for your support.")
139 textItem.wrapMode: Text.WordWrap
140 }
141
142 FormDelegateSeparator { above: ev }
143
145 id: ev
146 text: i18nd("kirigami-addons6", "KDE e.V")
147 onClicked: Qt.openUrlExternally("https://ev.kde.org/")
148 }
149
150 FormDelegateSeparator { above: donate; below: ev }
151
153 id: donate
154 text: i18nd("kirigami-addons6", "Donate")
155 onClicked: Qt.openUrlExternally("https://www.kde.org/donate")
156 }
157 }
158}
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 Tue Mar 26 2024 11:16:11 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.