mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-15 08:08:49 +00:00
New advanced module added as submodule of the profile section module. Advanced store introduced on the qml side and qml part updated accordingly.
66 lines
1.5 KiB
QML
66 lines
1.5 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
|
|
//% "Fleet"
|
|
title: qsTrId("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
|
|
anchors.rightMargin: Style.current.padding
|
|
anchors.leftMargin: Style.current.padding
|
|
|
|
spacing: 0
|
|
|
|
ButtonGroup { id: fleetSettings }
|
|
|
|
FleetRadioSelector {
|
|
advancedStore: popup.advancedStore
|
|
fleetName: Constants.eth_prod
|
|
buttonGroup: fleetSettings
|
|
}
|
|
|
|
FleetRadioSelector {
|
|
advancedStore: popup.advancedStore
|
|
fleetName: Constants.eth_staging
|
|
buttonGroup: fleetSettings
|
|
}
|
|
|
|
FleetRadioSelector {
|
|
advancedStore: popup.advancedStore
|
|
fleetName: Constants.eth_test
|
|
buttonGroup: fleetSettings
|
|
}
|
|
|
|
FleetRadioSelector {
|
|
advancedStore: popup.advancedStore
|
|
fleetName: Constants.waku_prod
|
|
buttonGroup: fleetSettings
|
|
}
|
|
|
|
FleetRadioSelector {
|
|
advancedStore: popup.advancedStore
|
|
fleetName: Constants.waku_test
|
|
buttonGroup: fleetSettings
|
|
}
|
|
}
|
|
}
|