// SPDX-FileCopyrightText: 2026 Matvey Shcherbinin // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL import QtQuick import koutnet.app import QtQuick.Controls as QQC2 import QtQuick.Layouts import org.kde.kirigami as Kirigami // The last of four: the goodbye, and the way to take the application further, // as a signed user of free software. Konoka waves above, three doors to the // KDE and KOutNet communities sit by the text, and a dark box below shows what // giving back means and names the ways to do it. Konoka is drawn by Matvey // Shcherbinin and published under CC BY-SA 4.0, so her credit stays on this // page as the license asks. // // The strings are the same kind every other page carries: English source, and // a translation catalogue later, in the same way the rest of the application // is translated. WizardPage { id: root function makeLink(url, text) { return "" + text + "" } readonly property string communityLinks: root.makeLink("https://kde.org/community/", i18nc("@info:usagetip link to the KDE community website", "Learn more about the KDE community")) + " · " + root.makeLink("https://discuss.kde.org/", i18nc("@info:usagetip link to the KDE forum", "Get help on the KDE community forum")) + " · " + root.makeLink("https://tasks.koutnet.pw/", i18nc("@info:usagetip link to the project site", "KOutNet community")) readonly property string givingText: i18nc("@info:usagetip why the user should help with development", "If you found KOutNet useful, you might want to help with development or make a donation. KDE is not some big corporation, it is a community of volunteers from all over the world, and your contribution really matters!") readonly property string givingLinks: root.makeLink("https://www.kde.org/donate/", i18nc("@info:usagetip link to donate", "Donate")) + " · " + root.makeLink("https://community.kde.org/Get_Involved", i18nc("@info:usagetip link to the KDE get involved portal", "Get involved in KDE")) + " · " + root.makeLink("https://tasks.koutnet.pw/", i18nc("@info:usagetip link to the project task board", "Get involved in KOutNet")) readonly property string credits: i18nc("@info credit for the mascot", "Konoka is drawn by Matvey Shcherbinin and shared under CC BY-SA 4.0.") title: i18nc("@title:window", "Enjoy KOutNet!") description: i18nc("@info:usagetip", "We hope this version of KOutNet brings you as much pleasure as working on it gave us. It is time to get to work: explore what this multi-protocol messenger, growing toward KDE, can do, talk about the topics you love, and bring your ideas to life!") ColumnLayout { anchors.top: parent.top anchors.horizontalCenter: parent.horizontalCenter width: Math.min(parent.width - Kirigami.Units.gridUnit * 2, Kirigami.Units.gridUnit * 32) spacing: Kirigami.Units.largeSpacing Image { Layout.alignment: Qt.AlignHCenter Layout.preferredWidth: Math.min(root.width - Kirigami.Units.gridUnit * 4, Kirigami.Units.gridUnit * 24) Layout.preferredHeight: Kirigami.Units.gridUnit * 15 source: "../../assets/konoka-welcome-last.png" fillMode: Image.PreserveAspectFit Accessible.ignored: true } // The doors to the communities, read as a row of links under the text. QQC2.Label { Layout.fillWidth: true horizontalAlignment: Text.AlignHCenter wrapMode: Text.WordWrap text: root.communityLinks linkColor: AppPalette.activeText onLinkActivated: (link) => Qt.openUrlExternally(link) } // The dark box: giving back in one breath, and the three ways to do it. // A Frame and not a Rectangle, because a Rectangle sizes to nothing and // the two labels on it overlapped at the top; a Frame grows with its // content and paints its own dark surface. QQC2.Frame { Layout.fillWidth: true padding: Kirigami.Units.largeSpacing background: Rectangle { radius: 8 color: "#1d2129" border.color: "#353b47" border.width: 1 } ColumnLayout { width: parent.width spacing: Kirigami.Units.smallSpacing QQC2.Label { Layout.fillWidth: true wrapMode: Text.WordWrap text: root.givingText color: "#f2f3f5" } QQC2.Label { Layout.fillWidth: true Layout.topMargin: Kirigami.Units.smallSpacing horizontalAlignment: Text.AlignHCenter wrapMode: Text.WordWrap text: root.givingLinks color: "#f2f3f5" linkColor: "#8ab8ff" onLinkActivated: (link) => Qt.openUrlExternally(link) } } } QQC2.Label { Layout.fillWidth: true Layout.topMargin: Kirigami.Units.largeSpacing horizontalAlignment: Text.AlignHCenter wrapMode: Text.WordWrap opacity: 0.6 text: root.credits onLinkActivated: (link) => Qt.openUrlExternally(link) } } }