qml: addressdetails item order, add technical properties header
This commit is contained in:
committed by
accumulator
parent
016b5eb743
commit
2d95c457dd
@@ -44,10 +44,18 @@ Pane {
|
|||||||
text: qsTr('Address details')
|
text: qsTr('Address details')
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
RowLayout {
|
||||||
text: qsTr('Address')
|
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
color: Material.accentColor
|
Label {
|
||||||
|
text: qsTr('Address')
|
||||||
|
color: Material.accentColor
|
||||||
|
}
|
||||||
|
|
||||||
|
Tag {
|
||||||
|
visible: addressdetails.isFrozen
|
||||||
|
text: qsTr('Frozen')
|
||||||
|
labelcolor: 'white'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TextHighlightPane {
|
TextHighlightPane {
|
||||||
@@ -76,6 +84,24 @@ Pane {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
text: qsTr('Balance')
|
||||||
|
color: Material.accentColor
|
||||||
|
}
|
||||||
|
|
||||||
|
FormattedAmount {
|
||||||
|
amount: addressdetails.balance
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
text: qsTr('Transactions')
|
||||||
|
color: Material.accentColor
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
text: addressdetails.numTx
|
||||||
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
Layout.topMargin: constants.paddingSmall
|
Layout.topMargin: constants.paddingSmall
|
||||||
@@ -135,6 +161,34 @@ Pane {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Heading {
|
||||||
|
Layout.columnSpan: 2
|
||||||
|
text: qsTr('Technical Properties')
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
Layout.topMargin: constants.paddingSmall
|
||||||
|
text: qsTr('Script type')
|
||||||
|
color: Material.accentColor
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
Layout.topMargin: constants.paddingSmall
|
||||||
|
Layout.fillWidth: true
|
||||||
|
text: addressdetails.scriptType
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
visible: addressdetails.derivationPath
|
||||||
|
text: qsTr('Derivation path')
|
||||||
|
color: Material.accentColor
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
visible: addressdetails.derivationPath
|
||||||
|
text: addressdetails.derivationPath
|
||||||
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
Layout.topMargin: constants.paddingSmall
|
Layout.topMargin: constants.paddingSmall
|
||||||
@@ -222,56 +276,6 @@ Pane {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
|
||||||
Layout.topMargin: constants.paddingSmall
|
|
||||||
text: qsTr('Script type')
|
|
||||||
color: Material.accentColor
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
Layout.topMargin: constants.paddingSmall
|
|
||||||
Layout.fillWidth: true
|
|
||||||
text: addressdetails.scriptType
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
text: qsTr('Balance')
|
|
||||||
color: Material.accentColor
|
|
||||||
}
|
|
||||||
|
|
||||||
FormattedAmount {
|
|
||||||
amount: addressdetails.balance
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
text: qsTr('Transactions')
|
|
||||||
color: Material.accentColor
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
text: addressdetails.numTx
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
visible: addressdetails.derivationPath
|
|
||||||
text: qsTr('Derivation path')
|
|
||||||
color: Material.accentColor
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
visible: addressdetails.derivationPath
|
|
||||||
text: addressdetails.derivationPath
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
text: qsTr('Frozen')
|
|
||||||
color: Material.accentColor
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
text: addressdetails.isFrozen ? qsTr('Frozen') : qsTr('Not frozen')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user