PDA

View Full Version : how to close input method in the QLineEdit's Password mode



devin
20th August 2010, 10:05
Hi,all, I have a problem, I want to close the input method in the QLineEdit's Password mode,It likes that you input password when you login in your gmail.anybody can help me?thank you!

Lykurg
20th August 2010, 10:08
if you mean that the text is not visible but instead it shows asterisks: QLineEdit::setEchoMode()

devin
21st August 2010, 10:26
Sorry, Maybe I don't speak clearly, I mean that the inputmthod is closed When the mouse entered QLineEdit, and I have setted QLineEdit::setEchoMode(Password ). It like that the inputmethod was shielded when you input passwd in login gmail. the inputmethod maybe chinese input or other. so the Qlineedit get the content waht is a Alphabet or Digit, anybody have any suggestion?