c++ - Using QLineEdit for passwords -


how can make qlineedit suitable entering passwords (i.e. doesn't show what's entered):

enter image description here

setechomode (documentation) object.

example code:

ui->lineeditpassword->setechomode(qlineedit::password); 

you can qt designer:

enter image description here


Comments

Popular posts from this blog

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -