aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtdesignstudio/src/views/studio-workspaces.qdoc
blob: e26f1ce8a88d90368a18f08181abd3190dce8079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \page creator-project-managing-workspaces.html
    \previouspage creator-open-documents-view.html
    \nextpage creator-project-managing-sessions.html

    \title Managing Workspaces

    In the \uicontrol Design mode, you can arrange a set of \QC
    views as a \e workspace on the screen.

    To detach views:

    \list
        \li Double-click the title bar of the view.
        \li Start dragging the view to another position.
        \li Select the \inlineimage icons/detach-group-icon.png
            (\uicontrol {Detach Group}) button.
    \endlist

    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.

    \image qtcreator-workspace-attaching-views.png "Attaching views"

    To close groups of views, select the \uicontrol {Close Group} button.

    To open closed views, select \uicontrol View > \uicontrol Views.

    \section1 Saving Workspaces

    The changes you make to a workspace are saved when you exit \QC.
    Select \uicontrol View > \uicontrol Workspaces >
    \uicontrol Manage > \uicontrol {Restore last workspace on startup}
    to restore the current workspace the next time you start \QC.

    \image qtcreator-workspace-manager.png "Workspace Manager"

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

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

    To switch between workspaces, select \uicontrol {Switch To}.

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

    \list 1
        \li Select \uicontrol New.
            \image qtcreator-workspace-new.png "New Workspace Name dialog"
        \li In the \uicontrol {Enter the name of the workspace} field,
            enter a name for the workspace.
        \li Select \uicontrol Create to create a new empty workspace or
            \uicontrol {Create and Open} to create a workspace and to
            switch to it.
    \endlist

    To delete the selected workspace, select \uicontrol Delete in
    \uicontrol {Workspace Manager}.

    To export workspace settings into \e {.wrk} files select \uicontrol Export.
    To import them to another computer, select \uicontrol Import, and then
    locate the workspace settings file.
*/