diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-10-13 13:11:07 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-10-14 09:01:17 +0000 |
commit | dd647b4236c5d818462f69dae1721e03b0dfca84 (patch) | |
tree | 2507fc5c164f714317442c1a28d2c5350a27ef52 /src/plugins/cpptools/cpptoolssettings.h | |
parent | 3016c6c96f092cf3968e4d622be67b63a163ba5a (diff) | |
download | qt-creator-dd647b4236c5d818462f69dae1721e03b0dfca84.tar.gz |
CppEditor: Clean up header error indicator
* Show/hide the error indicator button instead of enabling/disabling it.
* Use "Minimize" instead of "Do Not Show Again" in the info bar button
and use a custom setting to save this. The current info bar API does
not signal addition/removal of global suppression ids which would be
needed to update all editor widgets properly. We are the only client
and it feels wrong to add this API there at the moment.
* Remove not needed code anymore.
Change-Id: I2bb872522b7410434f060cc359a3b62dfed0af4d
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolssettings.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolssettings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolssettings.h b/src/plugins/cpptools/cpptoolssettings.h index e36956be1a..a118d70004 100644 --- a/src/plugins/cpptools/cpptoolssettings.h +++ b/src/plugins/cpptools/cpptoolssettings.h @@ -63,8 +63,12 @@ public: bool sortedEditorDocumentOutline() const; void setSortedEditorDocumentOutline(bool sorted); + bool showHeaderErrorInfoBar() const; + void setShowHeaderErrorInfoBar(bool show); + signals: void editorDocumentOutlineSortingChanged(bool isSorted); + void showHeaderErrorInfoBarChanged(bool isShown); private: Internal::CppToolsSettingsPrivate *d; |