I have a stackedLayout. I have added more than one widgets into it which I show one by one. At starting I was having problem with focus. When I change current index from one widget to another widget, focus was still on previous widget. I over come with this problem by using setFocus method on first control on new widget. But it does not work properly on those widgets which has QListWidget. After switching 2 or 3 times it mostly loses it's focus. In that condition client can not do any thing because pressing up / down from menu does not do any thing.
Any solution ??