Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. CheckBox to QInputDialog..?
Forum Updated to NodeBB v4.3 + New Features

CheckBox to QInputDialog..?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qinputdialogcheckboxdialog
2 Posts 2 Posters 1.7k 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.
  • R Offline
    R Offline
    Rohith
    wrote on last edited by
    #1

    Hi,

    i am using QInputDialog to receive password and now i have to show the password when ever the user want,is it possible to show the password when ever user checks the CheckBox as of Wifi tethering password in our mobiles.

    QString text = QInputDialog::getText(this, tr("Enter Password"),tr("<b>Enter Password <br> Password should be 8 charecters minimum</b>"), QLineEdit::Password,"", &ok);
    
    

    If it is possible please post a sample code

    Thanks in advance,
    Regards,
    Rohith.G

    raven-worxR 1 Reply Last reply
    0
    • R Rohith

      Hi,

      i am using QInputDialog to receive password and now i have to show the password when ever the user want,is it possible to show the password when ever user checks the CheckBox as of Wifi tethering password in our mobiles.

      QString text = QInputDialog::getText(this, tr("Enter Password"),tr("<b>Enter Password <br> Password should be 8 charecters minimum</b>"), QLineEdit::Password,"", &ok);
      
      

      If it is possible please post a sample code

      Thanks in advance,
      Regards,
      Rohith.G

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Rohith
      no it's not.
      You would have to implement your custom QDialog subclass.
      Which shouldn't be much of an effort.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

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