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