2023-07-31 19:00:59 -04:00
|
|
|
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2023-09-16 18:15:11 -04:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
|
|
|
import org.kde.kirigami as Kirigami
|
|
|
|
import org.kde.kirigamiaddons.formcard as FormCard
|
|
|
|
|
|
|
|
import zone.xiv.astra
|
2023-07-31 19:00:59 -04:00
|
|
|
|
|
|
|
import "../Components"
|
|
|
|
|
2023-08-19 10:49:00 -04:00
|
|
|
FormCard.FormCardPage {
|
2023-07-31 19:00:59 -04:00
|
|
|
id: page
|
|
|
|
|
|
|
|
title: i18n("Developer Settings")
|
|
|
|
|
2023-08-19 10:49:00 -04:00
|
|
|
FormCard.FormHeader {
|
|
|
|
title: i18n("Patching")
|
|
|
|
}
|
|
|
|
|
2023-08-19 10:30:52 -04:00
|
|
|
FormCard.FormCard {
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
|
|
FormCard.FormCheckDelegate {
|
|
|
|
id: keepPatchesDelegate
|
|
|
|
|
|
|
|
text: i18n("Keep Patches")
|
|
|
|
description: i18n("Do not delete patches after they're used. Astra will not redownload patch data, if found.")
|
|
|
|
checked: LauncherCore.keepPatches
|
|
|
|
onCheckedChanged: LauncherCore.keepPatches = checked
|
|
|
|
}
|
2023-08-19 10:49:00 -04:00
|
|
|
}
|
2023-08-19 10:30:52 -04:00
|
|
|
|
2023-08-19 10:49:00 -04:00
|
|
|
FormCard.FormHeader {
|
|
|
|
title: i18n("Servers")
|
|
|
|
}
|
|
|
|
|
|
|
|
FormCard.FormCard {
|
|
|
|
Layout.fillWidth: true
|
2023-08-19 10:30:52 -04:00
|
|
|
|
|
|
|
FormCard.FormTextFieldDelegate {
|
|
|
|
id: dalamudServerDelegate
|
|
|
|
|
|
|
|
label: i18n("Dalamud Distribution Server")
|
|
|
|
text: LauncherCore.dalamudDistribServer
|
|
|
|
onTextChanged: LauncherCore.dalamudDistribServer = text
|
|
|
|
}
|
|
|
|
|
|
|
|
FormCard.FormDelegateSeparator {
|
|
|
|
above: dalamudServerDelegate
|
|
|
|
below: mainServerDelegate
|
|
|
|
}
|
|
|
|
|
|
|
|
FormCard.FormTextFieldDelegate {
|
|
|
|
id: mainServerDelegate
|
|
|
|
|
|
|
|
label: i18n("SE Main Server")
|
|
|
|
text: LauncherCore.squareEnixServer
|
|
|
|
onTextChanged: LauncherCore.squareEnixServer = text
|
|
|
|
}
|
|
|
|
|
|
|
|
FormCard.FormDelegateSeparator {
|
|
|
|
above: mainServerDelegate
|
|
|
|
below: loginServerDelegate
|
|
|
|
}
|
|
|
|
|
|
|
|
FormCard.FormTextFieldDelegate {
|
|
|
|
id: loginServerDelegate
|
|
|
|
|
|
|
|
label: i18n("SE Login Server")
|
|
|
|
text: LauncherCore.squareEnixLoginServer
|
|
|
|
onTextChanged: LauncherCore.squareEnixLoginServer = text
|
2023-07-31 19:00:59 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|