Warning, /plasma/plasma-welcome/src/qml/footers/FooterUpdate.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2023 Oliver Beard <olib141@outlook.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Controls as QQC2 0009 import QtQuick.Layouts 0010 import org.kde.kirigami as Kirigami 0011 0012 import org.kde.plasma.welcome 0013 0014 RowLayout { 0015 spacing: Kirigami.Units.smallSpacing 0016 0017 QQC2.Switch { 0018 Layout.alignment: Qt.AlignLeft 0019 0020 text: i18nc("@option:check", "Show this page after Plasma is updated") 0021 checked: Config.showUpdatePage 0022 onToggled: { Config.showUpdatePage = checked; Config.save() } 0023 } 0024 0025 QQC2.Button { 0026 id: okButton 0027 Layout.alignment: Qt.AlignRight 0028 0029 action: Kirigami.Action { 0030 text: i18nc("@action:button", "&OK") 0031 icon.name: "dialog-ok-apply-symbolic" 0032 shortcut: "Right" 0033 0034 onTriggered: Qt.quit() 0035 } 0036 } 0037 }