PDA

View Full Version : Focus lost



franco.amato
25th January 2010, 19:59
Hi I'm trying to implement a method to set the focus where I would.
I have a widget containing many widgets and when I press TAB the focus is lost. I set to Qt::NoFocus to every child of my widget.
So I don't know where the focus goes when I press tab.
How can I check it?

Many thanx

Lykurg
25th January 2010, 22:07
How can I check it?
Install an event filter and listen to FocusIn events and print out the object. There was some time ago a example here in the forum. Maybe you find it...