ClangTools: Add diagnostic mark class

These marks can now be disabled.
This greys out the annotation color and the icon of the mark.

Change-Id: I5af4591db4baaaef55c986252f77d5d977427b56
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2020-07-21 13:11:01 +02:00
parent 4314795992
commit 7f562c4d33
11 changed files with 258 additions and 129 deletions

View File

@@ -53,6 +53,7 @@ class Diagnostic
{
public:
bool isValid() const;
QIcon icon() const;
QString name;
QString description;