Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Set password character QLineEdit
QtWS25 Last Chance

Set password character QLineEdit

Scheduled Pinned Locked Moved Mobile and Embedded
linuxqlineeditpassword
3 Posts 2 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kumararajas
    wrote on 22 Jun 2015, 10:17 last edited by
    #1

    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

    --Kumar

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Jun 2015, 21:40 last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kumararajas
        wrote on 29 Jun 2015, 12:41 last edited by
        #3

        @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!

        --Kumar

        1 Reply Last reply
        0

        3/3

        29 Jun 2015, 12:41

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved