Page MenuHomePhorge

SettingsPage.qml
No OneTemporary

Size
853 B
Referenced Files
None
Subscribers
None

SettingsPage.qml

/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15
import org.kde.kirigami 2.13 as Kirigami
import 'settings' as Settings
Kirigami.ScrollablePage {
id: settingsPage
title: l10n.get('settings-page-title')
contextualActions: [
Kirigami.Action {
icon.name: 'document-save'
text: l10n.get('settings-save')
onTriggered: { settingsPage.saveRecursively() }
}
]
ColumnLayout {
Settings.ProfileSettings {
id: profileSettings
Layout.fillWidth: true
}
Settings.CacheSettings {
id: cacheSettings
Layout.fillWidth: true
}
}
function saveRecursively() {
profileSettings.save();
cacheSettings.save();
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 7:03 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41815
Default Alt Text
SettingsPage.qml (853 B)

Event Timeline