2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
2020-11-03 21:04:57 +00:00
|
|
|
import QtGraphicalEffects 1.13
|
2020-05-27 21:28:25 +00:00
|
|
|
import "../../../../imports"
|
2020-06-19 18:06:58 +00:00
|
|
|
import "../../../../shared"
|
2020-09-17 16:42:59 +00:00
|
|
|
import "../../../../shared/status"
|
2020-05-27 21:28:25 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: advancedContainer
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
Column {
|
|
|
|
id: generalColumn
|
|
|
|
spacing: Style.current.bigPadding
|
2020-05-27 21:28:25 +00:00
|
|
|
anchors.top: parent.top
|
2021-01-14 14:12:37 +00:00
|
|
|
anchors.topMargin: 46
|
2021-01-05 16:36:42 +00:00
|
|
|
anchors.left: parent.left
|
2021-01-14 14:12:37 +00:00
|
|
|
anchors.leftMargin: contentMargin
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.rightMargin: contentMargin
|
2021-01-05 16:36:42 +00:00
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
StatusSectionMenuItem {
|
|
|
|
label: qsTr("Network")
|
|
|
|
info: utilsModel.getNetworkName()
|
|
|
|
onClicked: networksModal.open()
|
2021-01-05 16:36:42 +00:00
|
|
|
}
|
2021-01-14 14:12:37 +00:00
|
|
|
|
|
|
|
StatusSectionMenuItem {
|
|
|
|
label: qsTr("Fleet")
|
|
|
|
info: profileModel.fleets.fleet
|
|
|
|
onClicked: fleetModal.open()
|
2021-01-05 16:36:42 +00:00
|
|
|
}
|
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
Separator {}
|
2020-08-18 19:10:30 +00:00
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
StatusSectionHeadline {
|
|
|
|
text: qsTr("Experimental features")
|
2020-06-26 14:08:08 +00:00
|
|
|
}
|
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
StatusSettingsLineButton {
|
|
|
|
text: qsTr("Wallet")
|
|
|
|
isSwitch: true
|
|
|
|
switchChecked: appSettings.walletEnabled
|
|
|
|
onClicked: function (checked) {
|
|
|
|
appSettings.walletEnabled = checked
|
2020-09-22 15:12:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
StatusSettingsLineButton {
|
|
|
|
text: qsTr("Dapp Browser")
|
|
|
|
isSwitch: true
|
|
|
|
switchChecked: appSettings.browserEnabled
|
|
|
|
onClicked: function (checked) {
|
|
|
|
appSettings.browserEnabled = checked
|
2020-06-18 12:03:11 +00:00
|
|
|
}
|
|
|
|
}
|
2020-11-23 19:14:48 +00:00
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
StatusSettingsLineButton {
|
|
|
|
text: qsTr("Communities")
|
|
|
|
isSwitch: true
|
|
|
|
switchChecked: appSettings.communitiesEnabled
|
|
|
|
onClicked: function (checked) {
|
|
|
|
appSettings.communitiesEnabled = checked
|
|
|
|
}
|
2020-11-23 19:14:48 +00:00
|
|
|
}
|
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
StatusSettingsLineButton {
|
|
|
|
text: qsTr("Node Management")
|
|
|
|
isSwitch: true
|
|
|
|
switchChecked: appSettings.nodeManagementEnabled
|
|
|
|
onClicked: function (checked) {
|
|
|
|
appSettings.nodeManagementEnabled = checked
|
|
|
|
}
|
2020-07-16 06:23:00 +00:00
|
|
|
}
|
|
|
|
}
|
2020-08-25 09:00:03 +00:00
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
NetworksModal {
|
|
|
|
id: networksModal
|
2020-11-03 21:04:57 +00:00
|
|
|
}
|
|
|
|
|
2021-01-14 14:12:37 +00:00
|
|
|
FleetsModal {
|
|
|
|
id: fleetModal
|
|
|
|
}
|
2020-08-25 09:00:03 +00:00
|
|
|
|
2020-08-27 17:28:31 +00:00
|
|
|
|
2020-06-18 12:03:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;height:400;width:700}
|
2020-05-27 21:28:25 +00:00
|
|
|
}
|
2020-06-18 12:03:11 +00:00
|
|
|
##^##*/
|