summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.h')
-rw-r--r--src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.h b/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.h
index 7533e677..217aff1c 100644
--- a/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.h
+++ b/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.h
@@ -71,6 +71,7 @@ public:
Q_INVOKABLE void showContextMenu(int x, int y, int index);
Q_INVOKABLE bool toolTipsEnabled();
Q_INVOKABLE void openFile(int row);
+ Q_INVOKABLE void setSelected(int row);
void showContainingFolder(int row) const;
void copyPath(int row) const;
@@ -78,7 +79,7 @@ public:
void refreshImport(int row) const;
void addMaterial(int row) const;
void editMaterial(int row) const;
- void duplicate(int row) const;
+ void duplicateMaterial(int row);
void duplicatePresentation(int row) const;
void deleteFile(int row) const;
@@ -86,6 +87,7 @@ public:
Q_INVOKABLE bool isPresentation(int row) const;
Q_INVOKABLE bool isQmlStream(int row) const;
+
bool isCurrentPresentation(int row) const;
bool isMaterialFolder(int row) const;
bool isInMaterialFolder(int row) const;
@@ -96,10 +98,12 @@ public:
QString presentationId(int row) const;
void setInitialPresentation(int row);
Q_INVOKABLE void editPresentationId(int row, bool qmlStream);
+ Q_INVOKABLE void showSpecificShaderError(const int row);
void renamePresentation(int row, bool qmlStream);
// CPresentationChangeListener
void OnNewPresentation() override;
+ void OnClosingPresentation() override;
// CFileOpenListener
void OnOpenDocument(const QString &inFilename, bool inSucceeded) override;
void OnSaveDocument(const QString &inFilename, bool inSucceeded, bool inSaveCopy) override;
@@ -119,6 +123,7 @@ Q_SIGNALS:
protected:
void mousePressEvent(QMouseEvent *event) override;
+ void keyReleaseEvent(QKeyEvent *event) override;
private:
void initialize();
@@ -144,6 +149,7 @@ private:
QString m_qmlStreamDir;
QString m_assetImportDir;
QSize m_preferredSize;
+ int m_selected = -1;
};
#endif // PROJECTVIEW_H