|
|
|
@ -56,21 +56,21 @@ ElDialog { |
|
|
|
State { |
|
|
|
State { |
|
|
|
name: 'bolt11' |
|
|
|
name: 'bolt11' |
|
|
|
PropertyChanges { target: qrloader; sourceComponent: qri_bolt11 } |
|
|
|
PropertyChanges { target: qrloader; sourceComponent: qri_bolt11 } |
|
|
|
PropertyChanges { target: bolt11label; font.bold: true; color: Material.accentColor } |
|
|
|
PropertyChanges { target: bolt11label; color: Material.accentColor } |
|
|
|
}, |
|
|
|
}, |
|
|
|
State { |
|
|
|
State { |
|
|
|
name: 'bip21uri' |
|
|
|
name: 'bip21uri' |
|
|
|
PropertyChanges { target: qrloader; sourceComponent: qri_bip21uri } |
|
|
|
PropertyChanges { target: qrloader; sourceComponent: qri_bip21uri } |
|
|
|
PropertyChanges { target: bip21label; font.bold: true; color: Material.accentColor } |
|
|
|
PropertyChanges { target: bip21label; color: Material.accentColor } |
|
|
|
}, |
|
|
|
}, |
|
|
|
State { |
|
|
|
State { |
|
|
|
name: 'address' |
|
|
|
name: 'address' |
|
|
|
PropertyChanges { target: qrloader; sourceComponent: qri_address } |
|
|
|
PropertyChanges { target: qrloader; sourceComponent: qri_address } |
|
|
|
PropertyChanges { target: addresslabel; font.bold: true; color: Material.accentColor } |
|
|
|
PropertyChanges { target: addresslabel; color: Material.accentColor } |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
Item { |
|
|
|
Rectangle { |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.topMargin: constants.paddingSmall |
|
|
|
Layout.topMargin: constants.paddingSmall |
|
|
|
Layout.bottomMargin: constants.paddingSmall |
|
|
|
Layout.bottomMargin: constants.paddingSmall |
|
|
|
@ -80,6 +80,8 @@ ElDialog { |
|
|
|
Layout.preferredWidth: dialog.width * 7/8 |
|
|
|
Layout.preferredWidth: dialog.width * 7/8 |
|
|
|
Layout.preferredHeight: dialog.width * 7/8 |
|
|
|
Layout.preferredHeight: dialog.width * 7/8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
color: 'white' |
|
|
|
|
|
|
|
|
|
|
|
Loader { |
|
|
|
Loader { |
|
|
|
id: qrloader |
|
|
|
id: qrloader |
|
|
|
anchors.centerIn: parent |
|
|
|
anchors.centerIn: parent |
|
|
|
@ -179,7 +181,7 @@ ElDialog { |
|
|
|
Rectangle { |
|
|
|
Rectangle { |
|
|
|
height: 1 |
|
|
|
height: 1 |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.preferredWidth: qrloader.width |
|
|
|
Layout.preferredWidth: buttons.width |
|
|
|
color: Material.accentColor |
|
|
|
color: Material.accentColor |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -230,11 +232,12 @@ ElDialog { |
|
|
|
visible: request.message || !request.amount.isEmpty |
|
|
|
visible: request.message || !request.amount.isEmpty |
|
|
|
height: 1 |
|
|
|
height: 1 |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.preferredWidth: qrloader.width |
|
|
|
Layout.preferredWidth: buttons.width |
|
|
|
color: Material.accentColor |
|
|
|
color: Material.accentColor |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
RowLayout { |
|
|
|
|
|
|
|
id: buttons |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
FlatButton { |
|
|
|
FlatButton { |
|
|
|
icon.source: '../../icons/copy_bw.png' |
|
|
|
icon.source: '../../icons/copy_bw.png' |
|
|
|
|