|
|
|
@ -49,13 +49,13 @@ Item { |
|
|
|
|
|
|
|
|
|
|
|
Image { |
|
|
|
Image { |
|
|
|
readonly property variant tx_icons : [ |
|
|
|
readonly property variant tx_icons : [ |
|
|
|
"../../../icons/unconfirmed.png", |
|
|
|
'../../../icons/unconfirmed.png', |
|
|
|
"../../../icons/clock1.png", |
|
|
|
'../../../icons/clock1.png', |
|
|
|
"../../../icons/clock2.png", |
|
|
|
'../../../icons/clock2.png', |
|
|
|
"../../../icons/clock3.png", |
|
|
|
'../../../icons/clock3.png', |
|
|
|
"../../../icons/clock4.png", |
|
|
|
'../../../icons/clock4.png', |
|
|
|
"../../../icons/clock5.png", |
|
|
|
'../../../icons/clock5.png', |
|
|
|
"../../../icons/confirmed_bw.png" |
|
|
|
'../../../icons/confirmed_bw.png' |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
Layout.preferredWidth: constants.iconSizeLarge |
|
|
|
Layout.preferredWidth: constants.iconSizeLarge |
|
|
|
@ -63,7 +63,7 @@ Item { |
|
|
|
Layout.alignment: Qt.AlignVCenter |
|
|
|
Layout.alignment: Qt.AlignVCenter |
|
|
|
Layout.rowSpan: 2 |
|
|
|
Layout.rowSpan: 2 |
|
|
|
source: model.lightning |
|
|
|
source: model.lightning |
|
|
|
? "../../../icons/lightning.png" |
|
|
|
? '../../../icons/lightning.png' |
|
|
|
: model.complete && model.section != 'local' |
|
|
|
: model.complete && model.section != 'local' |
|
|
|
? tx_icons[Math.min(6,model.confirmations)] |
|
|
|
? tx_icons[Math.min(6,model.confirmations)] |
|
|
|
: '../../../icons/offline_tx.png' |
|
|
|
: '../../../icons/offline_tx.png' |
|
|
|
@ -72,7 +72,7 @@ Item { |
|
|
|
Label { |
|
|
|
Label { |
|
|
|
Layout.fillWidth: true |
|
|
|
Layout.fillWidth: true |
|
|
|
font.pixelSize: model.label !== '' ? constants.fontSizeLarge : constants.fontSizeMedium |
|
|
|
font.pixelSize: model.label !== '' ? constants.fontSizeLarge : constants.fontSizeMedium |
|
|
|
text: model.label !== '' ? model.label : '<no label>' |
|
|
|
text: model.label !== '' ? model.label : qsTr('<no label>') |
|
|
|
color: model.label !== '' ? Material.foreground : constants.mutedForeground |
|
|
|
color: model.label !== '' ? Material.foreground : constants.mutedForeground |
|
|
|
wrapMode: Text.Wrap |
|
|
|
wrapMode: Text.Wrap |
|
|
|
maximumLineCount: 2 |
|
|
|
maximumLineCount: 2 |
|
|
|
@ -119,11 +119,10 @@ Item { |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
Rectangle { |
|
|
|
visible: delegate.ListView.section == delegate.ListView.nextSection |
|
|
|
visible: delegate.ListView.section == delegate.ListView.nextSection |
|
|
|
// Layout.fillWidth: true |
|
|
|
|
|
|
|
Layout.preferredWidth: parent.width * 2/3 |
|
|
|
Layout.preferredWidth: parent.width * 2/3 |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.preferredHeight: constants.paddingTiny |
|
|
|
Layout.preferredHeight: constants.paddingTiny |
|
|
|
color: Material.background //Qt.rgba(0,0,0,0.10) |
|
|
|
color: Material.background |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|