Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112095
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
Sat, Nov 23, 2:27 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38789
Default Alt Text
SettingsPage.qml (853 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment