[Interest] Enter focus is not comint
Sujan Dasmahapatra
sujan.dasmahapatra at gmail.com
Wed May 15 10:19:11 CEST 2013
Thanks Rene I did that. Thanks
On Wed, May 15, 2013 at 3:52 PM, R. Reucher <rene.reucher at batcom-it.net>wrote:
> **
>
> 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...
>
>
> HTH, René
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
--
Thanks & Regards
Sujan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130515/abfbe07e/attachment.html>
More information about the Interest
mailing list