2023-07-30 08:49:34 -04:00
|
|
|
// 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
|
2023-07-30 08:49:34 -04:00
|
|
|
import QtQuick.Layouts 1.15
|
2023-08-19 11:20:47 -04:00
|
|
|
import zone.xiv.astra 1.0
|
2023-07-30 08:49:34 -04:00
|
|
|
|
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"
|
2023-08-19 10:30:52 -04:00
|
|
|
text: i18n("Developer Settings")
|
2023-08-19 10:49:00 -04:00
|
|
|
icon.name: "preferences-others"
|
|
|
|
page: Qt.resolvedUrl("DeveloperSettings.qml")
|
2023-08-19 11:20:47 -04:00
|
|
|
visible: LauncherCore.showDevTools
|
2023-08-19 10:49:00 -04:00
|
|
|
},
|
|
|
|
KirigamiSettings.SettingAction {
|
|
|
|
actionName: "about"
|
2023-08-19 10:30:52 -04:00
|
|
|
text: i18n("About Astra")
|
2023-08-19 10:49:00 -04:00
|
|
|
icon.name: "help-about"
|
|
|
|
page: Qt.resolvedUrl("AboutPage.qml")
|
2023-07-30 08:49:34 -04:00
|
|
|
}
|
2023-08-19 10:49:00 -04:00
|
|
|
]
|
|
|
|
}
|