May be this question appears to be realy basic thing, but i am not able to find the solution to the issue.
I want to load the elements of the page(QWidget) in tab layout as i click on it. I changed the focus policy to click focus of the Qwidget(of page) inside the tab widget.
Now, i m stuck with which focus command or method should i use load the elements of the page. I tried hasFocus or setFocus, but its not working, can be because i am not able to it in a right way.
Also, how can i check if the focus is received by that particular page. I tried adding the command(self.twTest.hasFocus()) at the time of initializing the app, but it only checks in the starting of the app.
Thanks