PDA

View Full Version : QLineEdit Password Echo Mode - Displaying Asteriks Characters in Fixed Length



cranberries
2nd September 2015, 15:19
Hi,
I would like to display entered text in QLineEdit. The input mode is password, so I wanna display ****** ( 6 asteriks character length ) while the input text is longer. As far as I learned, displayText named event returns asteriks character in entered text lentgh. Is there a way of displaying fixed lentgh asteriks key independent from text length, or should I display it by giving QString("******") manually ?

prasad_N
6th September 2015, 12:09
Why you want to do this. Its not user friendly right..
Is there a use case of it..