I have two dock widgets say A and B.
widget A is a QGLWidget and widget B is QWidget.
I have few buttons in widget B.
When I click on buttons from widget B the focus is still on widget A or Widget A is active.
How to get the focus on widget B when the button is clicked ?