@ -170,34 +170,32 @@ Rectangle {
}
* /
/ / F i l t e r b y Pa y m e n t I D i n p u t
/ / F i l t e r b y st r i n g
Label {
id: paymentId Label
id: search Label
anchors.left: parent . left
anchors.top: filterHeaderText . bottom / / a d d r e s s L i n e . b o t t o m
anchors.leftMargin: 17
anchors.topMargin: 17
text: qsTr ( " Payment ID <font size='2'>(Optional)</font> ") + translationManager . emptyString
text: qsTr ( " Incremental search ") + translationManager . emptyString
fontSize: 14
tipText: qsTr ( "<b>Payment ID</b><br/><br/>A unique user name used in<br/>the address book. It is not a<br/>transfer of information sent<br/>during thevtransfer" )
+ translationManager . emptyString
tipText: qsTr ( "Search transfers for a given string" ) + translationManager . emptyString
}
LineEdit {
id: paymentId Line
id: search Line
anchors.left: parent . left
anchors.right: parent . right
anchors.top: paymentId Label. bottom / / a d d r e s s L a b e l . b o t t o m
anchors.top: search Label. bottom / / a d d r e s s L a b e l . b o t t o m
anchors.leftMargin: 17
anchors.rightMargin: 17
anchors.topMargin: 5
placeholderText: qsTr ( "16 or 64 hexadecimal characters" ) + translationManager . emptyString
validator: RegExpValidator {
regExp: /[0-9a-fA-F]+/
placeholderText: qsTr ( "Type search string" ) + translationManager . emptyString
onTextChanged: {
model . searchFilter = searchLine . text
selectedAmount . text = getSelectedAmount ( )
}
}
/ / F i l t e r b y d e s c r i p t i o n i n p u t ( n o t i m p l e m e n t e d y e t )
@ -205,7 +203,7 @@ Rectangle {
Label {
id: descriptionLabel
anchors.left: parent . left
anchors.top: paymentId Line. bottom
anchors.top: search Line. bottom
anchors.leftMargin: 17
anchors.topMargin: 17
text: qsTr ( "Description <font size='2'>(Local database)</font>" ) + translationManager . emptyString
@ -229,7 +227,7 @@ Rectangle {
Label {
id: dateFromText
anchors.left: parent . left
anchors.top: paymentId Line. bottom / / d e s c r i p t i o n L i n e . b o t t o m
anchors.top: search Line. bottom / / d e s c r i p t i o n L i n e . b o t t o m
anchors.leftMargin: 17
anchors.topMargin: 17
width: 156
@ -255,7 +253,7 @@ Rectangle {
Label {
id: dateToText
anchors.left: dateFromText . right
anchors.top: paymentId Line. bottom / / d e s c r i p t i o n L i n e . b o t t o m
anchors.top: search Line. bottom / / d e s c r i p t i o n L i n e . b o t t o m
anchors.leftMargin: 17
anchors.topMargin: 17
text: qsTr ( "To" )
@ -292,8 +290,6 @@ Rectangle {
onClicked: {
/ / A p p l y f i l t e r h e r e ;
model . paymentIdFilter = paymentIdLine . text
resetFilter ( model )
if ( fromDatePicker . currentDate > toDatePicker . currentDate ) {