Warning, /libraries/kirigami-addons/src/formcard/AboutKDE.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2022 Joshua Goins <josh@redstrate.com>
0002 // SPDX-License-Identifier: LGPL-2.0-or-later
0003
0004 import QtQuick 2.15
0005 import QtQuick.Controls 2.15 as QQC2
0006 import QtQuick.Window 2.15
0007 import QtQuick.Layouts 1.15
0008 import org.kde.kirigami 2.20 as Kirigami
0009
0010 /**
0011 * @brief An "About KDE" page using Form components.
0012 *
0013 * This component consists of a full, internationalized "About KDE" page
0014 * that can be instantiated directly without passing any properties.
0015 *
0016 * @since KirigamiAddons 0.11.0
0017 *
0018 * @inherit Kirigami.ScrollablePage
0019 */
0020 FormCardPage {
0021 id: page
0022
0023 title: i18nd("kirigami-addons6", "About KDE")
0024
0025 FormCard {
0026 Layout.topMargin: Kirigami.Units.gridUnit
0027
0028 AbstractFormDelegate {
0029 id: generalDelegate
0030 Layout.fillWidth: true
0031 background: null
0032 contentItem: RowLayout {
0033 spacing: Kirigami.Units.smallSpacing * 2
0034
0035 Kirigami.Icon {
0036 Layout.rowSpan: 3
0037 Layout.preferredHeight: Kirigami.Units.iconSizes.huge
0038 Layout.preferredWidth: height
0039 Layout.maximumWidth: page.width / 3;
0040 Layout.rightMargin: Kirigami.Units.largeSpacing
0041 source: "kde"
0042 }
0043
0044 ColumnLayout {
0045 Layout.fillWidth: true
0046 spacing: Kirigami.Units.smallSpacing
0047
0048 Kirigami.Heading {
0049 Layout.fillWidth: true
0050 text: i18nd("kirigami-addons6", "KDE")
0051 wrapMode: Text.WordWrap
0052 }
0053
0054 Kirigami.Heading {
0055 Layout.fillWidth: true
0056 level: 3
0057 type: Kirigami.Heading.Type.Secondary
0058 wrapMode: Text.WordWrap
0059 text: i18nd("kirigami-addons6", "Be Free!")
0060 }
0061 }
0062 }
0063 }
0064
0065 FormDelegateSeparator {}
0066
0067 FormTextDelegate {
0068 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\
0069 KDE 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.")
0070 textItem.wrapMode: Text.WordWrap
0071 }
0072
0073 FormDelegateSeparator {}
0074
0075 FormButtonDelegate {
0076 text: i18nd("kirigami-addons6", "Homepage")
0077 onClicked: Qt.openUrlExternally("https://kde.org/")
0078 }
0079 }
0080
0081 FormHeader {
0082 title: i18nd("kirigami-addons6", "Report bugs")
0083 }
0084
0085 FormCard {
0086 FormTextDelegate {
0087 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\
0088 KDE 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\
0089 If 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\".")
0090 textItem.wrapMode: Text.WordWrap
0091 }
0092
0093 FormDelegateSeparator {}
0094
0095 FormButtonDelegate {
0096 text: i18nd("kirigami-addons6", "Report a bug")
0097 onClicked: Qt.openUrlExternally("https://bugs.kde.org/")
0098 }
0099 }
0100
0101 FormHeader {
0102 title: i18nd("kirigami-addons6", "Join us")
0103 }
0104
0105 FormCard {
0106 FormTextDelegate {
0107 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!")
0108 textItem.wrapMode: Text.WordWrap
0109 }
0110
0111 FormDelegateSeparator { above: getInvolved }
0112
0113 FormButtonDelegate {
0114 id: getInvolved
0115 text: i18nd("kirigami-addons6", "Get Involved")
0116 onClicked: Qt.openUrlExternally("https://community.kde.org/Get_Involved")
0117 }
0118
0119 FormDelegateSeparator { above: devDoc; below: getInvolved }
0120
0121 FormButtonDelegate {
0122 id: devDoc
0123 text: i18nd("kirigami-addons6", "Developer Documentation")
0124 onClicked: Qt.openUrlExternally("https://develop.kde.org/")
0125 }
0126 }
0127
0128 FormHeader {
0129 title: i18nd("kirigami-addons6", "Support us")
0130 }
0131
0132 FormCard {
0133 FormTextDelegate {
0134 text: i18nd("kirigami-addons6", "KDE software is and will always be available free of charge, however creating it is not free.\n\n\
0135 To 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\
0136 KDE 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\
0137 We would like to encourage you to support our efforts with a financial donation.\n\n\
0138 Thank you very much in advance for your support.")
0139 textItem.wrapMode: Text.WordWrap
0140 }
0141
0142 FormDelegateSeparator { above: ev }
0143
0144 FormButtonDelegate {
0145 id: ev
0146 text: i18nd("kirigami-addons6", "KDE e.V")
0147 onClicked: Qt.openUrlExternally("https://ev.kde.org/")
0148 }
0149
0150 FormDelegateSeparator { above: donate; below: ev }
0151
0152 FormButtonDelegate {
0153 id: donate
0154 text: i18nd("kirigami-addons6", "Donate")
0155 onClicked: Qt.openUrlExternally("https://www.kde.org/donate")
0156 }
0157 }
0158 }