[Interest] Enter focus is not comint
rene.reucher at batcom-it.net
Wed May 15 09:52:14 CEST 2013
On Wednesday 15 May 2013 09:46:32 Sujan Dasmahapatra wrote:
> I have a log in page where user enters user name and password. After that
> when I press 'Ok' button it is working, but if I 'Enter' from keyboard it's
> not logging in. Please suggest how can I achieve this. Thansk a lot.
Assuming that the username and password entry fields are QLineEdit's and have
input focus when Enter is pressed, I suggest you connect their returnPressed()
signals to whatever slot the OK button's clicked() signal is connected...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest