I have a dialog with QTreeView and a button. When I click the button TreeView looses the focus. How can I tell to the view or a model that it should keep selection?
I have a dialog with QTreeView and a button. When I click the button TreeView looses the focus. How can I tell to the view or a model that it should keep selection?
Are you sure, tree view loses selection. Well it will lose only focus, selection is still maintained.
Bookmarks