Warning, /network/tokodon/src/content/ui/InitialSetup/SetupWelcome.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com> 0002 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0003 0004 import QtQuick 0005 import QtQuick.Controls 2 as QQC2 0006 import QtQuick.Layouts 0007 import QtQml.Models 0008 0009 import org.kde.kirigami 2 as Kirigami 0010 import org.kde.kirigamiaddons.formcard 1 as FormCard 0011 0012 import org.kde.tokodon 0013 0014 MastoPage { 0015 id: root 0016 0017 title: i18nc("@title:window", "Welcome") 0018 0019 Image { 0020 source: "qrc:/org.kde.tokodon.svg" 0021 0022 fillMode: Image.PreserveAspectFit 0023 0024 Layout.fillWidth: true 0025 Layout.fillHeight: true 0026 Layout.margins: Kirigami.Units.largeSpacing * 3 0027 } 0028 0029 FormCard.FormHeader { 0030 title: i18n("Welcome to Tokodon") 0031 } 0032 0033 FormCard.FormCard { 0034 FormCard.FormTextDelegate { 0035 text: i18n("Some initial setup is required before you can use Tokodon.") 0036 } 0037 0038 FormCard.FormDelegateSeparator {} 0039 0040 FormCard.FormButtonDelegate { 0041 id: learnMoreButton 0042 text: i18n("Continue") 0043 icon.name: "go-next-symbolic" 0044 onClicked: applicationWindow().pageStack.push(Qt.createComponent("org.kde.tokodon", InitialSetupFlow.getNextStep())); 0045 } 0046 } 0047 }