summaryrefslogtreecommitdiff
path: root/src/render/frontend/qrenderaspect_p.h
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2020-06-29 15:31:03 +0100
committerMike Krus <mike.krus@kdab.com>2020-06-30 17:27:15 +0100
commit644d060d9ad4366bc1a7e8635c13dbd713791870 (patch)
tree5ff58e31edb2495c3650f6c16a7bef94f5ed5d28 /src/render/frontend/qrenderaspect_p.h
parent4a2ca889fa67a364c83e83ab931d0df0d41188e6 (diff)
downloadqt3d-644d060d9ad4366bc1a7e8635c13dbd713791870.tar.gz
Render aspect: Dispatch events directly
Events now delivered directly to the input aspect which dispatches them appropriately. The picking job still accumulates events within a frame. However, this opens the door to synchronous picking and event propagation control later on. Change-Id: Ic525bdce4e3d30455558fce9e385331364e49026 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/frontend/qrenderaspect_p.h')
-rw-r--r--src/render/frontend/qrenderaspect_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/frontend/qrenderaspect_p.h b/src/render/frontend/qrenderaspect_p.h
index f3c96455a..f4dcb7234 100644
--- a/src/render/frontend/qrenderaspect_p.h
+++ b/src/render/frontend/qrenderaspect_p.h
@@ -122,6 +122,9 @@ public:
QVector<Qt3DCore::QAspectJobPtr> createRenderBufferJobs() const;
Render::AbstractRenderer *loadRendererPlugin();
+ bool processMouseEvent(QObject *obj, QMouseEvent *event);
+ bool processKeyEvent(QObject *obj, QKeyEvent *event);
+
Render::NodeManagers *m_nodeManagers;
Render::AbstractRenderer *m_renderer;