genjix
25th October 2010, 16:42
Hey,
C++ example (run qmake/make): 5397
Python PySide code: 5398
I'm trying to make a QDockWidget area that rolls in and out when the user mouse-overs (see the start of this video here (http://www.youtube.com/watch?v=8tAASvcrJ78)). To do that I getting all the dock widgets from the window by window.findChildren<QDockWidget*>() and then doing w.setVisible(false) on all of them.
Problem is that it has bugs. If you download, build and run the C++ example above then Qt selects the tab position selected before the current one, and then reselects the last one again and so forth.
Problem is Qt provides no way to a) see the currently selected dock widget tab (so I cannot force it to be re-active).
Are these 2 bugs? What can I do here? :(
C++ example (run qmake/make): 5397
Python PySide code: 5398
I'm trying to make a QDockWidget area that rolls in and out when the user mouse-overs (see the start of this video here (http://www.youtube.com/watch?v=8tAASvcrJ78)). To do that I getting all the dock widgets from the window by window.findChildren<QDockWidget*>() and then doing w.setVisible(false) on all of them.
Problem is that it has bugs. If you download, build and run the C++ example above then Qt selects the tab position selected before the current one, and then reselects the last one again and so forth.
Problem is Qt provides no way to a) see the currently selected dock widget tab (so I cannot force it to be re-active).
Are these 2 bugs? What can I do here? :(