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?