|
|
|
@ -37,17 +37,17 @@ 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 } |
|
|
|
PropertyChanges { target: bolt11label; font.bold: true; 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 } |
|
|
|
PropertyChanges { target: bip21label; font.bold: true; 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 } |
|
|
|
PropertyChanges { target: addresslabel; font.bold: true; color: Material.accentColor } |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
@ -67,6 +67,7 @@ ElDialog { |
|
|
|
|
|
|
|
|
|
|
|
Loader { |
|
|
|
Loader { |
|
|
|
id: qrloader |
|
|
|
id: qrloader |
|
|
|
|
|
|
|
|
|
|
|
Component { |
|
|
|
Component { |
|
|
|
id: qri_bolt11 |
|
|
|
id: qri_bolt11 |
|
|
|
QRImage { |
|
|
|
QRImage { |
|
|
|
@ -153,7 +154,7 @@ ElDialog { |
|
|
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
RowLayout { |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Button { |
|
|
|
FlatButton { |
|
|
|
icon.source: '../../icons/copy_bw.png' |
|
|
|
icon.source: '../../icons/copy_bw.png' |
|
|
|
icon.color: 'transparent' |
|
|
|
icon.color: 'transparent' |
|
|
|
text: 'Copy' |
|
|
|
text: 'Copy' |
|
|
|
@ -166,7 +167,7 @@ ElDialog { |
|
|
|
AppController.textToClipboard(_address) |
|
|
|
AppController.textToClipboard(_address) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
Button { |
|
|
|
FlatButton { |
|
|
|
icon.source: '../../icons/share.png' |
|
|
|
icon.source: '../../icons/share.png' |
|
|
|
text: 'Share' |
|
|
|
text: 'Share' |
|
|
|
onClicked: { |
|
|
|
onClicked: { |
|
|
|
@ -181,15 +182,16 @@ ElDialog { |
|
|
|
enabled = true |
|
|
|
enabled = true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
FlatButton { |
|
|
|
|
|
|
|
|
|
|
|
Button { |
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
|
|
|
|
icon.source: '../../icons/pen.png' |
|
|
|
text: qsTr('Edit') |
|
|
|
text: qsTr('Edit') |
|
|
|
onClicked: receiveDetailsDialog.open() |
|
|
|
onClicked: receiveDetailsDialog.open() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// make clicking the dialog background move the scope away from textedit fields |
|
|
|
// make clicking the dialog background move the scope away from textedit fields |
|
|
|
// so the keyboard goes away |
|
|
|
// so the keyboard goes away |
|
|
|
|