Is there any Qt-built-in method to warn user (with pop-up window) that CapsLock is switched on while password field is active?
I am currently using QLineEdit (is it good?) with setEchoMode(QLineEdit::Password).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have soved this problem already. I have used QToolTip QT – How to apply a QToolTip on a QLineEdit as a way to inform
user about caps lock stat, and used, of course, a function that gets current state ( GetKeyState(VK_CAPITAL)). Disadvantage: this works on Windows only.