status-desktop/ui/app/AppLayouts/Profile/Sections/NetworksModal.qml

61 lines
1.6 KiB
QML
Raw Normal View History

2020-11-23 19:14:48 +00:00
import QtQuick 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
import "../../../../imports"
import "../../../../shared"
import "../../../../shared/status"
ModalPopup {
id: popup
title: qsTr("Network")
property string newNetwork: "";
2020-11-23 20:41:57 +00:00
2020-11-23 19:14:48 +00:00
Column {
id: column
spacing: Style.current.padding
width: parent.width
ButtonGroup { id: networkSettings }
2020-11-23 20:41:57 +00:00
StatusSectionHeadline {
text: qsTr("Main networks")
}
2020-11-23 19:14:48 +00:00
NetworkRadioSelector {
2020-11-23 20:41:57 +00:00
network: Constants.networkMainnet
2020-11-23 19:14:48 +00:00
}
NetworkRadioSelector {
2020-11-23 20:41:57 +00:00
network: Constants.networkPOA
2020-11-23 19:14:48 +00:00
}
NetworkRadioSelector {
2020-11-23 20:41:57 +00:00
network: Constants.networkXDai
}
StatusSectionHeadline {
text: qsTr("Test networks")
2020-11-23 19:14:48 +00:00
}
NetworkRadioSelector {
2020-11-23 20:41:57 +00:00
network: Constants.networkGoerli
2020-11-23 19:14:48 +00:00
}
NetworkRadioSelector {
2020-11-23 20:41:57 +00:00
network: Constants.networkRinkeby
2020-11-23 19:14:48 +00:00
}
NetworkRadioSelector {
2020-11-23 20:41:57 +00:00
network: Constants.networkRopsten
2020-11-23 19:14:48 +00:00
}
}
StyledText {
anchors.top: column.bottom
2020-11-23 20:41:57 +00:00
anchors.topMargin: Style.current.padding
2020-11-23 19:14:48 +00:00
//% "Under development\nNOTE: You will be logged out and all installed\nsticker packs will be removed and will\nneed to be reinstalled. Purchased sticker\npacks will not need to be re-purchased."
text: qsTrId("under-development-nnote--you-will-be-logged-out-and-all-installed-nsticker-packs-will-be-removed-and-will-nneed-to-be-reinstalled--purchased-sticker-npacks-will-not-need-to-be-re-purchased-")
}
}