Warning, /network/tokodon/src/content/ui/InitialSetup/SetupPassword.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", "Password Service")
0018 
0019     FormCard.FormHeader {
0020         title: i18n("Setup Required")
0021     }
0022 
0023     FormCard.FormCard {
0024         FormCard.FormTextDelegate {
0025             text: i18n("Tokodon requires a password service to be running to save personally sensitive information.\n\nTokodon can use KWallet, GNOME Keyring or any libsecret-compatible service.\n\nAfter you installed the service, make sure it's running and restart Tokodon.")
0026         }
0027 
0028         FormCard.FormDelegateSeparator {}
0029 
0030         FormCard.FormButtonDelegate {
0031             id: learnMoreButton
0032             text: i18n("Quit Tokodon")
0033             icon.name: "application-exit-symbolic"
0034             onClicked: Qt.exit(0)
0035         }
0036     }
0037 }