[Qt-interest] Focus on a hidden widget.

Kahola.g kahola.g at gmail.com
Wed Mar 9 16:57:43 CET 2011


Hi

I am facing a very peculiar problem. My widget is not getting focus.
When i create the widget i call following two functions on it
show()
setFocus()

this kind of code used to work. But all of a sudden i am in a situation where it doesnt seem to work. As I understand " if set focus is called on a widget that is not shown yet, it will get focus as soon as it becomes visible". Am i wrong here?

--
kahola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110309/194a718e/attachment.html 


More information about the Qt-interest-old mailing list