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@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest