2020-11-03 21:04:57 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
2021-09-28 15:04:06 +00:00
|
|
|
|
|
|
|
import utils 1.0
|
2021-10-27 21:27:49 +00:00
|
|
|
import shared 1.0
|
|
|
|
import shared.popups 1.0
|
|
|
|
import shared.status 1.0
|
2020-11-03 21:04:57 +00:00
|
|
|
|
2021-10-06 09:16:39 +00:00
|
|
|
import "../controls"
|
|
|
|
|
|
|
|
// TODO: replace with StatusModal
|
2020-11-03 21:04:57 +00:00
|
|
|
ModalPopup {
|
|
|
|
id: popup
|
2022-04-04 11:26:30 +00:00
|
|
|
title: qsTr("Fleet")
|
2020-11-03 21:04:57 +00:00
|
|
|
|
2021-12-14 18:47:32 +00:00
|
|
|
property var advancedStore
|
|
|
|
|
2020-11-03 21:04:57 +00:00
|
|
|
property string newFleet: "";
|
2022-02-09 09:43:23 +00:00
|
|
|
|
2020-11-03 21:04:57 +00:00
|
|
|
Column {
|
|
|
|
id: column
|
2021-03-19 10:25:29 +00:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
|
|
|
|
spacing: 0
|
2020-11-03 21:04:57 +00:00
|
|
|
|
|
|
|
ButtonGroup { id: fleetSettings }
|
|
|
|
|
2021-06-04 17:38:25 +00:00
|
|
|
FleetRadioSelector {
|
2021-12-14 18:47:32 +00:00
|
|
|
advancedStore: popup.advancedStore
|
2024-05-28 06:48:04 +00:00
|
|
|
fleetName: Constants.waku_sandbox
|
2021-10-27 09:37:58 +00:00
|
|
|
buttonGroup: fleetSettings
|
2021-06-04 17:38:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
FleetRadioSelector {
|
2021-12-14 18:47:32 +00:00
|
|
|
advancedStore: popup.advancedStore
|
2021-06-04 17:38:25 +00:00
|
|
|
fleetName: Constants.waku_test
|
2021-10-27 09:37:58 +00:00
|
|
|
buttonGroup: fleetSettings
|
2021-06-04 17:38:25 +00:00
|
|
|
}
|
2022-02-18 21:23:35 +00:00
|
|
|
|
2023-11-01 19:34:17 +00:00
|
|
|
FleetRadioSelector {
|
|
|
|
advancedStore: popup.advancedStore
|
|
|
|
fleetName: Constants.shards_test
|
|
|
|
buttonGroup: fleetSettings
|
|
|
|
}
|
2024-05-14 22:06:22 +00:00
|
|
|
|
|
|
|
FleetRadioSelector {
|
|
|
|
advancedStore: popup.advancedStore
|
2024-07-11 20:09:20 +00:00
|
|
|
fleetName: Constants.status_staging
|
2024-05-14 22:06:22 +00:00
|
|
|
buttonGroup: fleetSettings
|
|
|
|
}
|
2020-11-03 21:04:57 +00:00
|
|
|
}
|
|
|
|
}
|