PDA

View Full Version : Network Login



Vivek1982
11th October 2013, 09:29
Dear All,

I need to create login page for my application where to authenticate the user. I have USER ID and Password Lineedit. In Lineedit of password, when user provides password,password visible. I need to make it general dots or stars. How this can done?

ChrisW67
11th October 2013, 09:31
QLineEdit::setEchoMode()

Vivek1982
11th October 2013, 12:48
Hi Chris..
Thanks for your reply. I have written

pwdline=ui->lineEdit_2;
pwdline->setEchoMode(QLineEdit::Password);
In the password LineEdit I'm getting dots (.). Can I set this text (.) has Asterisk (*). Or whether it is default property of Qt on Windows.

anda_skoa
11th October 2013, 17:49
The widget style should take care of using the correct replacement "characters".

Cheers,
_