Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F114549
SettingsPage.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
876 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
'.'
as
Kazv
import
'settings'
as
Settings
Kazv
.
ClosableScrollablePage
{
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
Tue, Nov 26, 11:21 AM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40284
Default Alt Text
SettingsPage.qml (876 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment