CheckBox to QInputDialog..?



  • 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


  • Moderators

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


Log in to reply
 

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