Add fee multiplier info to priority levels

Users are unlikely to know the link
This commit is contained in:
moneromooo.monero 2016-11-26 13:59:00 +00:00
parent 26abdee5c4
commit d982c3da84
3 changed files with 9 additions and 9 deletions

View file

@ -99,7 +99,7 @@ Item {
font.bold: true font.bold: true
color: "#000000" color: "#000000"
x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 3 : 0) - width x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 3 : 0) - width
text: qsTr("LOW") + translationManager.emptyString text: qsTr("LOW (x1 fee)") + translationManager.emptyString
} }
Text { Text {
@ -110,7 +110,7 @@ Item {
font.bold: true font.bold: true
color: "#000000" color: "#000000"
x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 3 : 0) - width x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 3 : 0) - width
text: qsTr("MEDIUM") + translationManager.emptyString text: qsTr("MEDIUM (x20 fee)") + translationManager.emptyString
} }
Text { Text {
@ -121,7 +121,7 @@ Item {
font.bold: true font.bold: true
color: "#000000" color: "#000000"
x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 3 : 0) - width x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 3 : 0) - width
text: qsTr("HIGH") + translationManager.emptyString text: qsTr("HIGH (x166 fee)") + translationManager.emptyString
} }
MouseArea { MouseArea {

View file

@ -52,9 +52,9 @@ Item {
font.pixelSize: 12 font.pixelSize: 12
color: "#4A4949" color: "#4A4949"
text: { text: {
if(currentIndex === 0) return qsTr("LOW") + translationManager.emptyString if(currentIndex === 0) return qsTr("LOW (x1 fee)") + translationManager.emptyString
if(currentIndex === 3) return qsTr("MEDIUM") + translationManager.emptyString if(currentIndex === 3) return qsTr("MEDIUM (x20 fee)") + translationManager.emptyString
if(currentIndex === 13) return qsTr("HIGH") + translationManager.emptyString if(currentIndex === 13) return qsTr("HIGH (x166 fee)") + translationManager.emptyString
return "" return ""
} }
} }

View file

@ -121,9 +121,9 @@ Rectangle {
// code like this wont work: // code like this wont work:
// ListElement { column1: qsTr("LOW") + translationManager.emptyString ; column2: ""; priority: PendingTransaction.Priority_Low } // ListElement { column1: qsTr("LOW") + translationManager.emptyString ; column2: ""; priority: PendingTransaction.Priority_Low }
ListElement { column1: qsTr("LOW") ; column2: ""; priority: PendingTransaction.Priority_Low } ListElement { column1: qsTr("LOW (x1 fee)") ; column2: ""; priority: PendingTransaction.Priority_Low }
ListElement { column1: qsTr("MEDIUM") ; column2: ""; priority: PendingTransaction.Priority_Medium } ListElement { column1: qsTr("MEDIUM (x20 fee)") ; column2: ""; priority: PendingTransaction.Priority_Medium }
ListElement { column1: qsTr("HIGH") ; column2: ""; priority: PendingTransaction.Priority_High } ListElement { column1: qsTr("HIGH (x166 fee)") ; column2: ""; priority: PendingTransaction.Priority_High }
} }
StandardDropdown { StandardDropdown {