add a maxLength option to QEntryElement
maxLength begins with 0 (not used)
Merge pull request #590 from hdoria/maxlength

add a maxLength option to QEntryElement