diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-09-21 15:33:58 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-09-22 07:55:11 +0000 |
commit | 8f27d2f79f92ea344802e71bca38df8de15daa72 (patch) | |
tree | 6743ca3eac5374f473cc4fd610ec9de360a4f2cf /src/plugins/cppeditor/cppeditorconstants.h | |
parent | b0300ee48dcff11fa62fdb32f565e08485d9b040 (diff) |
CppEditor: Properly group the menu actions
Introduce four groups of actions (symbol, selection, file and global) and
arrange them accordingly in the UI, with separators between them.
Change-Id: If2468c8e88036c83c8ab7f040c5998f7ec8ffed6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/cppeditor/cppeditorconstants.h')
-rw-r--r-- | src/plugins/cppeditor/cppeditorconstants.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppeditorconstants.h b/src/plugins/cppeditor/cppeditorconstants.h index 179c3b3b9b..ee8ec86a27 100644 --- a/src/plugins/cppeditor/cppeditorconstants.h +++ b/src/plugins/cppeditor/cppeditorconstants.h @@ -9,7 +9,10 @@ namespace CppEditor { namespace Constants { const char M_CONTEXT[] = "CppEditor.ContextMenu"; -const char G_CONTEXT_FIRST[] = "CppEditor.GFirst"; +const char G_SYMBOL[] = "CppEditor.GSymbol"; +const char G_SELECTION[] = "CppEditor.GSelection"; +const char G_FILE[] = "CppEditor.GFile"; +const char G_GLOBAL[] = "CppEditor.GGlobal"; const char CPPEDITOR_ID[] = "CppEditor.C++Editor"; const char SWITCH_DECLARATION_DEFINITION[] = "CppEditor.SwitchDeclarationDefinition"; const char OPEN_DECLARATION_DEFINITION_IN_NEXT_SPLIT[] = "CppEditor.OpenDeclarationDefinitionInNextSplit"; |