summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Qt3DStudio/Palettes/Project/ProjectFileSystemModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Qt3DStudio/Palettes/Project/ProjectFileSystemModel.h')
-rw-r--r--src/Authoring/Qt3DStudio/Palettes/Project/ProjectFileSystemModel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Authoring/Qt3DStudio/Palettes/Project/ProjectFileSystemModel.h b/src/Authoring/Qt3DStudio/Palettes/Project/ProjectFileSystemModel.h
index ea583fcb..56cd56b5 100644
--- a/src/Authoring/Qt3DStudio/Palettes/Project/ProjectFileSystemModel.h
+++ b/src/Authoring/Qt3DStudio/Palettes/Project/ProjectFileSystemModel.h
@@ -59,7 +59,8 @@ public:
DepthRole,
ExpandedRole,
FileIdRole,
- ExtraIconRole
+ ExtraIconRole,
+ HasWarningRole
};
void setRootPath(const QString &path);
@@ -90,6 +91,8 @@ public:
void asyncUpdateReferences();
void onFilesChanged(const Q3DStudio::TFileModificationList &inFileModificationList);
void clearModelData();
+ void checkShaders(const int startRow = -1, const int endRow = -1);
+ void showItemError(const QModelIndex index);
Q_SIGNALS:
void modelChanged(QAbstractItemModel *model);
@@ -141,6 +144,7 @@ private:
bool expanded;
TreeItem *parent;
int childCount;
+ QString error;
};
QFileSystemModel *m_model = nullptr;