Managing Workspaces

In the Design and Debug modes, you can arrange a set of Qt Creator views as a workspace on the screen.

To detach views:

  • Double-click the title bar of the view.
  • Start dragging the view to another position.
  • Select the (Detach Group) button.

You can move detached views or groups of views anywhere on the screen.

To attach views, drag them over the dock area markers until the dock area where you want to attach the view is highlighted, and then drop them into the dock area.

"Attaching views"

To close groups of views, select the Close Group button.

To open closed views, select View > Views.

Saving Workspaces

The changes you make to a workspace are saved when you exit Qt Creator. Select View > Workspaces > Manage > Restore last workspace on startup to restore the current workspace the next time you start Qt Creator.

"Workspace Manager"

To save a workspace under a new name, select Clone.

To revert the changes you made to a preset workspace, select Reset.

To switch between workspaces, select Switch To.

To save a workspace after you've moved views around or opened and closed them:

  1. Select New.

    "New Workspace Name dialog"

  2. In the Enter the name of the workspace field, enter a name for the workspace.
  3. Select Create to create a new empty workspace or Create and Open to create a workspace and to switch to it.

To delete the selected workspace, select Delete in Workspace Manager.

To export workspace settings into .wrk files select Export. To import them to another computer, select Import, and then locate the workspace settings file.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.