diff --git a/doc/images/qtcreator-search-allprojects.png b/doc/images/qtcreator-search-allprojects.png index 84693d1151da9e958e338c934a408c9428f2dd65..f34b2f2c4a378415bddf9f996c33981a045f995a 100644 Binary files a/doc/images/qtcreator-search-allprojects.png and b/doc/images/qtcreator-search-allprojects.png differ diff --git a/doc/images/qtcreator-search-cpp-symbols.png b/doc/images/qtcreator-search-cpp-symbols.png new file mode 100644 index 0000000000000000000000000000000000000000..b9cdbef66141dc440864661656b62556e4e90dd1 Binary files /dev/null and b/doc/images/qtcreator-search-cpp-symbols.png differ diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index 85a1ed9b74723b0b2376c2ae2d75645cec15ab02..9b5557de310ef32ec774c84e4d24c67c258102ac 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -1679,6 +1679,10 @@ \o To go to an occurrence, double-click it. \endlist \endlist + + \note You can use \gui{Advanced Find} also to search for symbols. For more + information, see \l{Finding Symbols}. + */ @@ -1715,6 +1719,14 @@ files) \o Header files of used frameworks and libraries \endlist + + \note You can also select \gui{Edit > Find/Replace > Advanced Find > + C++ Symbols} to search for classes, methods, enums, and declarations + either from files listed as part of the project or from all files that + are used by the code, such as include files. + + \image qtcreator-search-cpp-symbols.png + \o The \gui{Search Results} pane opens and shows the location and number of instances of the symbol in the current project. diff --git a/src/plugins/cpptools/symbolsfindfilter.cpp b/src/plugins/cpptools/symbolsfindfilter.cpp index a6934a6688540ef17b62ae9859227ae96ef16df2..6c0c22c917bd9251198ba38104e92297f75567b5 100644 --- a/src/plugins/cpptools/symbolsfindfilter.cpp +++ b/src/plugins/cpptools/symbolsfindfilter.cpp @@ -278,10 +278,10 @@ SymbolsFindFilterConfigWidget::SymbolsFindFilterConfigWidget(SymbolsFindFilter * connect(m_typeEnums, SIGNAL(clicked(bool)), this, SLOT(setState())); connect(m_typeDeclarations, SIGNAL(clicked(bool)), this, SLOT(setState())); - m_searchProjectsOnly = new QRadioButton(tr("Projects Only")); + m_searchProjectsOnly = new QRadioButton(tr("Projects only")); layout->addWidget(m_searchProjectsOnly, 2, 1); - m_searchGlobal = new QRadioButton(tr("Global")); + m_searchGlobal = new QRadioButton(tr("All files")); layout->addWidget(m_searchGlobal, 2, 2); m_searchGroup = new QButtonGroup(this);