Set password character QLineEdit



  • Hi,

    I want to set style to QLineEdit for the password input.

    Echo mode works good to show asterisk symbol while entering password.

    However, with the special requirement I want to show some small icons when the user enters the password. Or some sort of animation feel like, glass filling with water? I will be having images for each character and display on key press.

    How do I do that?

    Thanks,
    Kuamra


  • Lifetime Qt Champion

    Hi,

    You'd probably need to implement your own QLineEdit to show your special characters



  • @SGaist Thanks for your quick answer. And sorry for the delayed reply.

    Overriding QLineEdit was in my mind. Wanted to know if there are any straight forward way to get it done.

    But now am sure about that!

    Thank you!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.