1
0

qml: display network status and history server status separately. Also, show network fees on full screen width

This commit is contained in:
ThomasV
2023-03-17 10:15:07 +01:00
parent 49683d6ff1
commit fcbd25c1fd
5 changed files with 38 additions and 33 deletions

View File

@@ -32,12 +32,10 @@ Pane {
id: contentLayout
width: parent.width
columns: 2
Heading {
Layout.columnSpan: 2
text: qsTr('On-chain')
}
Label {
text: qsTr('Network:');
color: Material.accentColor
@@ -45,15 +43,23 @@ Pane {
Label {
text: Network.networkName
}
Label {
text: qsTr('Status:');
color: Material.accentColor
}
Label {
text: Network.status
}
Label {
text: qsTr('Server:');
color: Material.accentColor
}
Label {
text: Network.server
RowLayout {
Label {
text: Network.server
}
OnchainNetworkStatusIndicator {}
}
Label {
text: qsTr('Local Height:');
color: Material.accentColor
@@ -61,26 +67,13 @@ Pane {
Label {
text: Network.height
}
Label {
text: qsTr('Status:');
color: Material.accentColor
}
RowLayout {
OnchainNetworkStatusIndicator {}
Label {
text: Network.status
}
}
Label {
text: qsTr('Network fees:');
color: Material.accentColor
Heading {
Layout.columnSpan: 2
text: qsTr('Mempool fees')
}
Item {
id: histogramRoot
Layout.columnSpan: 2
Layout.fillWidth: true
implicitHeight: histogramLayout.height
@@ -189,7 +182,7 @@ Pane {
Heading {
Layout.columnSpan: 2
text: qsTr('Network')
text: qsTr('Proxy')
}
Label {