Hi all
I have the enviable task of porting a VB6 application to Qt. An improvement no doubt, but more than a little fun
The primary UI of the app looks roughly like this:
one.png
I have labelled the components with how I expect you would lay out a QMainWindow to get the dockable widgets. The left hand tool widget would be a fixed dock widget (too complex for a QToolBar).
The bit I would like thoughts on is this... when the user selects other tools in the tool box the central widget and all docked widgets are replaced with other widget structures (the space occupied by the green and orange boxes is replaced) . This screams QStackedWidget to me. However, if I base the central widget on a QStackedWidget I have to manually manage hiding/unhiding the dock widgets as I switch back and forth
Is there a neater way to handle this?
Bookmarks