|
@ -9,7 +9,6 @@ Pane { |
|
|
id: rootItem |
|
|
id: rootItem |
|
|
padding: 0 |
|
|
padding: 0 |
|
|
width: parent.width |
|
|
width: parent.width |
|
|
property string title: Daemon.currentWallet.name + ' - ' + qsTr('Addresses') |
|
|
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
ColumnLayout { |
|
|
id: layout |
|
|
id: layout |
|
@ -50,17 +49,15 @@ Pane { |
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
ColumnLayout { |
|
|
id: delegateLayout |
|
|
id: delegateLayout |
|
|
|
|
|
width: parent.width |
|
|
spacing: 0 |
|
|
spacing: 0 |
|
|
x: constants.paddingMedium |
|
|
|
|
|
width: parent.width - 2*constants.paddingMedium |
|
|
|
|
|
|
|
|
|
|
|
Item { |
|
|
|
|
|
Layout.preferredWidth: 1 |
|
|
|
|
|
Layout.preferredHeight: constants.paddingTiny |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
GridLayout { |
|
|
GridLayout { |
|
|
columns: 2 |
|
|
columns: 2 |
|
|
|
|
|
Layout.topMargin: constants.paddingSmall |
|
|
|
|
|
Layout.leftMargin: constants.paddingLarge |
|
|
|
|
|
Layout.rightMargin: constants.paddingLarge |
|
|
|
|
|
|
|
|
Label { |
|
|
Label { |
|
|
id: indexLabel |
|
|
id: indexLabel |
|
|
font.bold: true |
|
|
font.bold: true |
|
@ -137,30 +134,25 @@ Pane { |
|
|
|
|
|
|
|
|
Component { |
|
|
Component { |
|
|
id: sectionDelegate |
|
|
id: sectionDelegate |
|
|
Rectangle { |
|
|
Item { |
|
|
id: root |
|
|
id: root |
|
|
width: ListView.view.width |
|
|
width: ListView.view.width |
|
|
height: childrenRect.height |
|
|
height: childrenRect.height |
|
|
color: 'transparent' |
|
|
|
|
|
|
|
|
|
|
|
required property string section |
|
|
required property string section |
|
|
|
|
|
|
|
|
RowLayout { |
|
|
ColumnLayout { |
|
|
x: constants.paddingMedium |
|
|
width: parent.width |
|
|
width: parent.width - 2 * constants.paddingMedium |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
|
Layout.preferredHeight: 1 |
|
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
color: Material.accentColor |
|
|
|
|
|
} |
|
|
|
|
|
Label { |
|
|
Label { |
|
|
padding: constants.paddingMedium |
|
|
Layout.topMargin: constants.paddingLarge |
|
|
|
|
|
Layout.leftMargin: constants.paddingLarge |
|
|
text: root.section + ' ' + qsTr('addresses') |
|
|
text: root.section + ' ' + qsTr('addresses') |
|
|
font.bold: true |
|
|
font.pixelSize: constants.fontSizeLarge |
|
|
font.pixelSize: constants.fontSizeMedium |
|
|
color: Material.accentColor |
|
|
} |
|
|
} |
|
|
Rectangle { |
|
|
Rectangle { |
|
|
|
|
|
Layout.leftMargin: constants.paddingLarge |
|
|
|
|
|
Layout.rightMargin: constants.paddingLarge |
|
|
Layout.preferredHeight: 1 |
|
|
Layout.preferredHeight: 1 |
|
|
Layout.fillWidth: true |
|
|
Layout.fillWidth: true |
|
|
color: Material.accentColor |
|
|
color: Material.accentColor |
|
|