aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/textmark.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2016-08-16 14:17:48 +0200
committerDavid Schulz <david.schulz@qt.io>2016-08-22 05:40:50 +0000
commit8b21f687c0c81f309290343a6d2b9caba1eb93f0 (patch)
tree0edc54f11b2de77a11743d597c82ca4550962e86 /src/plugins/texteditor/textmark.h
parent5a40bddf08c18eaa3cc55e46d36f561730d0b3cf (diff)
Add default tool tips to text marks
The default tool tip should describe the general purpose of the mark which is displayed in the UI when no tool tip is explicitly set for the text mark. Change-Id: I27aff26cf0f3458d454428e805a9b323191dc393 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/texteditor/textmark.h')
-rw-r--r--src/plugins/texteditor/textmark.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/textmark.h b/src/plugins/texteditor/textmark.h
index bdbf799e74..7569ddf099 100644
--- a/src/plugins/texteditor/textmark.h
+++ b/src/plugins/texteditor/textmark.h
@@ -79,6 +79,7 @@ public:
static Utils::Theme::Color categoryColor(Core::Id category);
static bool categoryHasColor(Core::Id category);
static void setCategoryColor(Core::Id category, Utils::Theme::Color color);
+ static void setDefaultToolTip(Core::Id category, const QString &toolTip);
void setIcon(const QIcon &icon);
// call this if the icon has changed.
void updateMarker();