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

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -