Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F116560
SettingsPage.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
853 B
Referenced Files
None
Subscribers
None
SettingsPage.qml
View Options
/*
* 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
Details
Attached
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)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment