Add a button to sweep unmixable outputs

This commit is contained in:
moneromooo.monero
2016-11-08 20:23:50 +00:00
parent b8ea2ffc74
commit 2143392b84
5 changed files with 77 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ Rectangle {
id: root
signal paymentClicked(string address, string paymentId, string amount, int mixinCount,
int priority, string description)
signal sweepUnmixableClicked()
color: "#F0EEEE"
@@ -295,4 +296,24 @@ Rectangle {
}
}
StandardButton {
id: sweepUnmixableButton
anchors.right: parent.right
anchors.top: descriptionLine.bottom
anchors.rightMargin: 17
anchors.topMargin: 17
width: 60*2
text: qsTr("SWEEP UNMIXABLE") + translationManager.emptyString
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
enabled : true
onClicked: {
console.log("Transfer: sweepUnmixableClicked")
root.sweepUnmixableClicked()
}
}
}