Use QDockWidget's toggle action to make docking windows visible.