I have a QMainWindow, its center widget is used to draw figures(with mouse) , and one toolbar which has a QLineEdit.
The perfect behavior is that if Tab pressed, the focus will jump to the lineEdit in the toolbar, the lineEdit will have the focus, but the center widget will still receivee the mouse event.
The situation is that the lineEdit do have foucs after the tab is pressed,
but the center widget will not receive mouse event( because it lost the focus)
I think this is a very hard problem, Is there any way to solve this problem?
Thanks in advance![]()
Bookmarks