status-desktop/ui/app/AppLayouts/Profile/popups/FleetsModal.qml

59 lines
1.3 KiB
QML

import QtQuick 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
import utils 1.0
import shared 1.0
import shared.popups 1.0
import shared.status 1.0
import AppLayouts.Profile.stores 1.0
import "../controls"
// TODO: replace with StatusModal
ModalPopup {
id: popup
title: qsTr("Fleet")
property AdvancedStore advancedStore
property string newFleet: "";
Column {
id: column
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
spacing: 0
ButtonGroup { id: fleetSettings }
FleetRadioSelector {
advancedStore: popup.advancedStore
fleetName: Constants.waku_sandbox
buttonGroup: fleetSettings
}
FleetRadioSelector {
advancedStore: popup.advancedStore
fleetName: Constants.waku_test
buttonGroup: fleetSettings
}
FleetRadioSelector {
advancedStore: popup.advancedStore
fleetName: Constants.status_prod
buttonGroup: fleetSettings
}
FleetRadioSelector {
advancedStore: popup.advancedStore
fleetName: Constants.status_staging
buttonGroup: fleetSettings
}
}
}