Solved Change widgets inside a dock
-
Hi everyone !
I want to create a program with differents workshops and I would like to use a dock on the left-area to put all the tools for each workshop. So I need to refresh my dock each time I select another workshop in order to display the workshop's tools in the dock. I tried to create a QWidget to put all my tools for each workshop and to change the dock's widget for setting up the good one every time I change the workshop but it doesn't works.
Do you have any idea of how I can do to do that ?
Thanks !HB
-
For example with a QStackedWidget
-
I didn't thought about this, thanks @Christian-Ehrlicher !