|
|
|
@ -73,6 +73,7 @@ ElDialog { |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
Rectangle { |
|
|
|
|
|
|
|
id: qrbg |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.topMargin: constants.paddingSmall |
|
|
|
Layout.topMargin: constants.paddingSmall |
|
|
|
Layout.bottomMargin: constants.paddingSmall |
|
|
|
Layout.bottomMargin: constants.paddingSmall |
|
|
|
@ -201,14 +202,13 @@ ElDialog { |
|
|
|
Rectangle { |
|
|
|
Rectangle { |
|
|
|
height: 1 |
|
|
|
height: 1 |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.preferredWidth: buttons.width |
|
|
|
Layout.preferredWidth: qrbg.width |
|
|
|
color: Material.accentColor |
|
|
|
color: Material.accentColor |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
GridLayout { |
|
|
|
GridLayout { |
|
|
|
columns: 2 |
|
|
|
columns: 2 |
|
|
|
// visible: request.message || !request.amount.isEmpty |
|
|
|
Layout.maximumWidth: qrbg.width |
|
|
|
Layout.maximumWidth: buttons.width |
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
|
|
|
|
|
|
|
|
Label { |
|
|
|
Label { |
|
|
|
@ -241,18 +241,24 @@ ElDialog { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
Rectangle { |
|
|
|
// visible: request.message || !request.amount.isEmpty |
|
|
|
|
|
|
|
height: 1 |
|
|
|
height: 1 |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.preferredWidth: buttons.width |
|
|
|
Layout.preferredWidth: qrbg.width |
|
|
|
color: Material.accentColor |
|
|
|
color: Material.accentColor |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ButtonContainer { |
|
|
|
ButtonContainer { |
|
|
|
id: buttons |
|
|
|
id: buttons |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
|
|
|
|
FlatButton { |
|
|
|
FlatButton { |
|
|
|
Layout.minimumWidth: dialog.width * 1/4 |
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
Layout.preferredWidth: 1 |
|
|
|
|
|
|
|
|
|
|
|
icon.source: '../../icons/copy_bw.png' |
|
|
|
icon.source: '../../icons/copy_bw.png' |
|
|
|
icon.color: 'transparent' |
|
|
|
icon.color: 'transparent' |
|
|
|
text: 'Copy' |
|
|
|
text: 'Copy' |
|
|
|
@ -267,7 +273,9 @@ ElDialog { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
FlatButton { |
|
|
|
FlatButton { |
|
|
|
Layout.minimumWidth: dialog.width * 1/4 |
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
Layout.preferredWidth: 1 |
|
|
|
|
|
|
|
|
|
|
|
icon.source: '../../icons/share.png' |
|
|
|
icon.source: '../../icons/share.png' |
|
|
|
text: 'Share' |
|
|
|
text: 'Share' |
|
|
|
onClicked: { |
|
|
|
onClicked: { |
|
|
|
@ -283,8 +291,9 @@ ElDialog { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
FlatButton { |
|
|
|
FlatButton { |
|
|
|
Layout.minimumWidth: dialog.width * 1/4 |
|
|
|
Layout.fillWidth: true |
|
|
|
Layout.alignment: Qt.AlignHCenter |
|
|
|
Layout.preferredWidth: 1 |
|
|
|
|
|
|
|
|
|
|
|
icon.source: '../../icons/pen.png' |
|
|
|
icon.source: '../../icons/pen.png' |
|
|
|
text: qsTr('Edit') |
|
|
|
text: qsTr('Edit') |
|
|
|
onClicked: receiveDetailsDialog.open() |
|
|
|
onClicked: receiveDetailsDialog.open() |
|
|
|
@ -292,9 +301,6 @@ ElDialog { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
ColumnLayout { |
|
|
|
visible: _ispaid |
|
|
|
visible: _ispaid |
|
|
|
anchors.centerIn: parent |
|
|
|
anchors.centerIn: parent |
|
|
|
|