diff options
author | Tapani Mattila <tapani.mattila@qt.io> | 2021-08-20 16:20:20 +0300 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2021-08-23 16:21:41 +0000 |
commit | 4c50ec85b7700b31ca68233e2deac5cd28b8a336 (patch) | |
tree | 41de5863d53a321ba214ee8f480307b120367de2 /src/plugins/projectexplorer/projectnodes.h | |
parent | 0588161edd7bdea02114ad9dde9fbe73db3f65ea (diff) |
QmlDesigner: Show warning icons for each file
Task-number: QDS-3797
Change-Id: Ibcbed1a221e762e0e6a3b4f9f538b8e4b1f144d3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r-- | src/plugins/projectexplorer/projectnodes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h index 85fed71431..c2fe03d153 100644 --- a/src/plugins/projectexplorer/projectnodes.h +++ b/src/plugins/projectexplorer/projectnodes.h @@ -218,8 +218,17 @@ public: bool supportsAction(ProjectAction action, const Node *node) const override; QString displayName() const override; + bool hasError() const; + void setHasError(const bool error); + void setHasError(const bool error) const; + + QIcon icon() const; + void setIcon(const QIcon icon); + private: FileType m_fileType; + mutable QIcon m_icon; + mutable bool m_hasError = false; }; // Documentation inside. |