diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-03-19 09:43:41 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2021-03-23 08:29:30 +0000 |
commit | 072607962d89e4562c62db274b5e2e6572cb654f (patch) | |
tree | 24af7c8e649614e638b4a8d64646eb53abb75d17 /src/plugins/cpptools | |
parent | 98ac237b7f67bc703826435d08332102a9900d67 (diff) | |
download | qt-creator-072607962d89e4562c62db274b5e2e6572cb654f.tar.gz |
Locator: Add longer description to filters
This is shown as tool tips in the location options, and if any platform
supports this also as tool tips on the menu actions of the locator input
field.
Change-Id: I8b439e45e6097a16a5f932d25d4e5d3e9bddb6ad
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools')
-rw-r--r-- | src/plugins/cpptools/cppincludesfilter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppincludesfilter.cpp b/src/plugins/cpptools/cppincludesfilter.cpp index 32eef13349..57a1b6b47f 100644 --- a/src/plugins/cpptools/cppincludesfilter.cpp +++ b/src/plugins/cpptools/cppincludesfilter.cpp @@ -121,6 +121,10 @@ CppIncludesFilter::CppIncludesFilter() { setId(Constants::INCLUDES_FILTER_ID); setDisplayName(Constants::INCLUDES_FILTER_DISPLAY_NAME); + setDescription( + tr("Matches all files that are included by all C++ files in all projects. Append " + "\"+<number>\" or \":<number>\" to jump to the given line number. Append another " + "\"+<number>\" or \":<number>\" to jump to the column number as well.")); setDefaultShortcutString("ai"); setDefaultIncludedByDefault(true); setPriority(ILocatorFilter::Low); |