From b19f236c24e8106d6168a44136d95a27a4debfee Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Thu, 4 Nov 2021 17:09:50 +0100 Subject: [PATCH] Doc: Describe new Project and File System menu commands - Show some accidentally hidden information in Qt Creator Manual Task-number: QTCREATORBUG-26278 Change-Id: Ia611633d52e4b012a40d7be548313e62f8ce3683 Reviewed-by: Eike Ziller --- .../creator-file-system-view.qdoc | 14 ++++++++++--- .../user-interface/creator-projects-view.qdoc | 21 ++++++++++++------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/doc/qtcreator/src/user-interface/creator-file-system-view.qdoc b/doc/qtcreator/src/user-interface/creator-file-system-view.qdoc index 630c0a1996c..87a62b46171 100644 --- a/doc/qtcreator/src/user-interface/creator-file-system-view.qdoc +++ b/doc/qtcreator/src/user-interface/creator-file-system-view.qdoc @@ -38,6 +38,9 @@ \uicontrol Design mode: \image qtcreator-filesystem-view-design.png "File System view in the Design mode" + \else + \image qtcreator-filesystem-view.png "File System view in the sidebar" + \endif To move to the root directory of the file system, select \uicontrol Computer in the menu (1). Select \uicontrol Home to move to the user's home @@ -89,14 +92,19 @@ \li Collapse all open folders. \endlist - \section1 File System View in Sidebar - \endif + \section1 File System View Toolbar + \if defined(qtdesignstudio) In the \uicontrol Edit and \uicontrol Debug mode, the \uicontrol {File System} view is displayed in the \l{Working with Sidebars} - {sidebar}. It has a toolbar with additional options: + {sidebar}. It has a toolbar with additional options. \image qtcreator-filesystem-view.png "File System view in the sidebar" + \else + The toolbar in the \uicontrol {File System} view contains additional + options. + \endif + To manage view contents, select \inlineimage filtericon.png (\uicontrol Options): diff --git a/doc/qtcreator/src/user-interface/creator-projects-view.qdoc b/doc/qtcreator/src/user-interface/creator-projects-view.qdoc index cc9f5cbcfe4..558296a0bb8 100644 --- a/doc/qtcreator/src/user-interface/creator-projects-view.qdoc +++ b/doc/qtcreator/src/user-interface/creator-projects-view.qdoc @@ -45,6 +45,9 @@ \uicontrol Design mode: \image qtcreator-projects-view-design.png "Projects view in the Design mode" + \else + \image qtcreator-projects-view-edit.png "Projects view in the sidebar" + \endif You can use the project tree in the following ways: @@ -97,23 +100,29 @@ \li Expand or collapse the tree view to show or hide all files and folders. \li Close all files in a project. - \li Close projects. By default, all files in the project are also + \li Close the selected project or all projects except the selected + one. By default, all files in the projects are also closed. To keep them open, deselect the \uicontrol Tools > \uicontrol Options > \uicontrol {Build & Run} > \uicontrol General > \uicontrol {Close source files along with project} check box. \endlist For managing files and directories, the same functions are available as in - the \l {File System} view. + the \l {File System} view. To view a project in it, select + \uicontrol {Show in File System View}. - \section1 Projects View in Sidebar - \endif + \section1 Projects View Toolbar + \if defined(qtdesignstudio) In the \uicontrol Edit and \uicontrol Debug mode, the \uicontrol Projects view is displayed in the \l{Working with Sidebars}{sidebar}. It has a - toolbar with additional options: + toolbar with additional options. \image qtcreator-projects-view-edit.png "Projects view in the sidebar" + \else + The toolbar in the \uicontrol Projects view contains additional options. + \endif + To filter view contents, select \inlineimage filtericon.png (\uicontrol {Filter Tree}): @@ -141,9 +150,7 @@ (currently qmake and Qbs). The faithful display of the project structure allows to specify exactly where a new file should be placed in the build system. - \endif - \if defined(qtcreator) If the project is under version control, information from the version control system might be displayed in brackets after the project name. This is currently implemented for Git (the branch name or a tag is