57 lines
1.2 KiB
QML
57 lines
1.2 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 "../controls"
|
|
|
|
// TODO: replace with StatusModal
|
|
ModalPopup {
|
|
id: popup
|
|
title: qsTr("Fleet")
|
|
|
|
property var 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.shards_test
|
|
buttonGroup: fleetSettings
|
|
}
|
|
|
|
FleetRadioSelector {
|
|
advancedStore: popup.advancedStore
|
|
fleetName: Constants.status_staging
|
|
buttonGroup: fleetSettings
|
|
}
|
|
}
|
|
}
|