Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
CheckBox to QInputDialog..?
Rohith last edited by
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,
no it's not.
You would have to implement your custom QDialog subclass.
Which shouldn't be much of an effort.