diff options
author | Tony Leinonen <tony.leinonen@qt.io> | 2021-03-25 14:18:06 +0200 |
---|---|---|
committer | Tony Leinonen <tony.leinonen@qt.io> | 2021-03-31 05:58:24 +0200 |
commit | abab2a028b3dcae9a10b4f2e7a8e3f83d6e810e6 (patch) | |
tree | f53785ceebce733195879d49204cebfa8f171c16 /src/api/studio3dqml/q3dsstudio3d_p.h | |
parent | 0c230118289f150754e1d044952c8007ec92904a (diff) |
Add frameDraw signal to QML API
frameDraw was initially only added to C++ API. This patch
adds frameDraw to the QML API with updated qmltypes file.
Task-number: QT3DS-4224
Change-Id: I215368943e124d0fee1b80806ede841f9bc769ed
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/api/studio3dqml/q3dsstudio3d_p.h')
-rw-r--r-- | src/api/studio3dqml/q3dsstudio3d_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/studio3dqml/q3dsstudio3d_p.h b/src/api/studio3dqml/q3dsstudio3d_p.h index 1fd32fe..905ea35 100644 --- a/src/api/studio3dqml/q3dsstudio3d_p.h +++ b/src/api/studio3dqml/q3dsstudio3d_p.h @@ -65,6 +65,7 @@ class Q3DSStudio3D : public QQuickFramebufferObject Q_PROPERTY(bool asyncInit READ asyncInit WRITE setAsyncInit NOTIFY asyncInitChanged REVISION 1) public: + enum EventIgnoreFlag { EnableAllEvents = 0, IgnoreMouseEvents = 0x01, @@ -104,6 +105,7 @@ public: Q_SIGNALS: void frameUpdate(); + void frameDraw(); void runningChanged(bool initialized); void errorChanged(const QString &error); void ignoredEventsChanged(); |