1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-23 21:07:45 +00:00
astra/launcher/ui/Settings/SettingsPage.qml

53 lines
1.7 KiB
QML
Raw Normal View History

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
import QtQuick 2.15
2023-08-19 10:49:00 -04:00
import org.kde.kirigami 2.18 as Kirigami
import org.kde.kirigamiaddons.settings 1.0 as KirigamiSettings
import QtQuick.Layouts 1.15
import zone.xiv.astra 1.0
2023-08-19 10:49:00 -04:00
KirigamiSettings.CategorizedSettings {
id: settingsPage
actions: [
KirigamiSettings.SettingAction {
actionName: "general"
text: i18n("General")
icon.name: "zone.xiv.astra"
page: Qt.resolvedUrl("GeneralSettings.qml")
},
KirigamiSettings.SettingAction {
actionName: "profiles"
text: i18n("Profiles")
icon.name: "preferences-desktop-gaming"
page: Qt.resolvedUrl("ProfilesPage.qml")
},
KirigamiSettings.SettingAction {
actionName: "accounts"
text: i18n("Accounts")
icon.name: "preferences-system-users"
page: Qt.resolvedUrl("AccountsPage.qml")
},
KirigamiSettings.SettingAction {
actionName: "compattool"
text: i18n("Compatibility Tool")
icon.name: "system-run"
page: Qt.resolvedUrl("CompatibilityToolSetup.qml")
},
KirigamiSettings.SettingAction {
actionName: "devtool"
text: i18n("Developer Settings")
2023-08-19 10:49:00 -04:00
icon.name: "preferences-others"
page: Qt.resolvedUrl("DeveloperSettings.qml")
visible: LauncherCore.showDevTools
2023-08-19 10:49:00 -04:00
},
KirigamiSettings.SettingAction {
actionName: "about"
text: i18n("About Astra")
2023-08-19 10:49:00 -04:00
icon.name: "help-about"
page: Qt.resolvedUrl("AboutPage.qml")
}
2023-08-19 10:49:00 -04:00
]
}