mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
50 lines
1.8 KiB
QML
50 lines
1.8 KiB
QML
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import org.kde.kirigamiaddons.settings as KirigamiSettings
|
|
|
|
import zone.xiv.astra
|
|
|
|
KirigamiSettings.CategorizedSettings {
|
|
id: settingsPage
|
|
|
|
actions: [
|
|
KirigamiSettings.SettingAction {
|
|
actionName: "general"
|
|
text: i18n("General")
|
|
icon.name: "zone.xiv.astra"
|
|
page: Qt.resolvedUrl("/qt/qml/zone/xiv/astra/ui/Settings/GeneralSettings.qml")
|
|
},
|
|
KirigamiSettings.SettingAction {
|
|
actionName: "profiles"
|
|
text: i18n("Profiles")
|
|
icon.name: "preferences-desktop-gaming"
|
|
page: Qt.resolvedUrl("/qt/qml/zone/xiv/astra/ui/Settings/ProfilesPage.qml")
|
|
},
|
|
KirigamiSettings.SettingAction {
|
|
actionName: "accounts"
|
|
text: i18n("Accounts")
|
|
icon.name: "preferences-system-users"
|
|
page: Qt.resolvedUrl("/qt/qml/zone/xiv/astra/ui/Settings/AccountsPage.qml")
|
|
},
|
|
KirigamiSettings.SettingAction {
|
|
actionName: "compattool"
|
|
text: i18n("Compatibility Tool")
|
|
icon.name: "system-run"
|
|
page: Qt.resolvedUrl("/qt/qml/zone/xiv/astra/ui/Settings/CompatibilityToolSetup.qml")
|
|
},
|
|
KirigamiSettings.SettingAction {
|
|
actionName: "devtool"
|
|
text: i18n("Developer Settings")
|
|
icon.name: "preferences-others"
|
|
page: Qt.resolvedUrl("/qt/qml/zone/xiv/astra/ui/Settings/DeveloperSettings.qml")
|
|
visible: LauncherCore.settings.showDevTools
|
|
},
|
|
KirigamiSettings.SettingAction {
|
|
actionName: "about"
|
|
text: i18n("About Astra")
|
|
icon.name: "help-about"
|
|
page: Qt.resolvedUrl("/qt/qml/zone/xiv/astra/ui/Settings/AboutPage.qml")
|
|
}
|
|
]
|
|
}
|