Hi Everyone,
Can I show a ToolTip without hovering over the widget? I have seen QToolTip showText method, which requires a point but how can I get that point?

For your kind information, I am creating a login dialog where user will enter username and password. If the login details is not valid then I want to show a tool tip on the password field saying that "Your login details is not valid" but without hovering over the password field. The message should come automatically.

Is it achievable?

Thanks.
Chandan