diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-01-29 10:01:03 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2021-01-29 15:04:05 +0000 |
commit | c245a642f24ce243fe5e39929f158c577d3c1cf1 (patch) | |
tree | b2983b527f7165a5f7e35a14ea74a86294d5c38c /src/plugins/projectexplorer/projectexplorerconstants.h | |
parent | aae3ce15aa72631e290b4eb6d0e163706b10390b (diff) |
Share "auto-detected" UI string and add tool tip
No need to have the same translatable string repeated at all these
places.
Also add tooltip to expand a bit on what "auto-detected" actually means.
Task-number: QTCREATORBUG-25291
Change-Id: I25d43486758ba17256cf7e1ea2eea0ec3d567b62
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorerconstants.h')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorerconstants.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorerconstants.h b/src/plugins/projectexplorer/projectexplorerconstants.h index b91632e9b8..5bc3a8da3f 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.h +++ b/src/plugins/projectexplorer/projectexplorerconstants.h @@ -25,7 +25,7 @@ #pragma once -#include <QtGlobal> +#include "projectexplorer_export.h" namespace ProjectExplorer { namespace Constants { @@ -230,5 +230,10 @@ const char PROJECT_ROOT_PATH_KEY[] = "ProjectExplorer.Project.RootPath"; const char STARTUPSESSION_KEY[] = "ProjectExplorer/SessionToRestore"; const char LASTSESSION_KEY[] = "ProjectExplorer/StartupSession"; +// UI texts +PROJECTEXPLORER_EXPORT QString msgAutoDetected(); +PROJECTEXPLORER_EXPORT QString msgAutoDetectedToolTip(); +PROJECTEXPLORER_EXPORT QString msgManual(); + } // namespace Constants } // namespace ProjectExplorer |