add hint texts to address and payment id fields

This commit is contained in:
moneromooo.monero 2016-10-16 21:25:19 +01:00
parent 05046a5f21
commit bb2529460b
3 changed files with 4 additions and 1 deletions

View File

@ -111,6 +111,7 @@ Rectangle {
anchors.leftMargin: 17 anchors.leftMargin: 17
anchors.rightMargin: 17 anchors.rightMargin: 17
anchors.topMargin: 5 anchors.topMargin: 5
placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString
} }

View File

@ -146,7 +146,7 @@ Rectangle {
LineEdit { LineEdit {
id: paymentIdLine id: paymentIdLine
fontSize: mainLayout.lineEditFontSize fontSize: mainLayout.lineEditFontSize
placeholderText: qsTr("Payment ID here") + translationManager.emptyString; placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString;
readOnly: false readOnly: false
width: mainLayout.editWidth width: mainLayout.editWidth

View File

@ -189,6 +189,7 @@ Rectangle {
anchors.leftMargin: 17 anchors.leftMargin: 17
anchors.rightMargin: 17 anchors.rightMargin: 17
anchors.topMargin: 5 anchors.topMargin: 5
placeholderText: "4..."
// validator: RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g } // validator: RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }
} }
@ -213,6 +214,7 @@ Rectangle {
anchors.leftMargin: 17 anchors.leftMargin: 17
anchors.rightMargin: 17 anchors.rightMargin: 17
anchors.topMargin: 5 anchors.topMargin: 5
placeholderText: qsTr("16 or 64 hexadecimal characters") + translationManager.emptyString
// validator: DoubleValidator { top: 0.0 } // validator: DoubleValidator { top: 0.0 }
} }