Commit Graph

8 Commits

Author SHA1 Message Date
Mika Salmela df0bcb540c Copyright header change.
As for preparation for Qt5.5 release the copyright header is
updated to correspond the current license requirements.

Change-Id: I36632918b66f455539453b42c369689fb11298ec
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2015-02-09 15:45:15 +00:00
Kevin Ottens 66475d12dd The input aspect don't need QWindow anymore
This aspect doesn't need to depend on a QWindow, any QObject can do as
long as we can have an event filter on it and we see input events on it.
Rename the whole concept to "view" in the process.

Change-Id: Idce2fcc37c5679fe0f7915d27793685167dd59a6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2015-01-23 07:51:37 +01:00
Kevin Ottens a452e142ee Remove the now useless QuickWindow
Change-Id: I714cf941230fdd83f0de37125bf44b4888662b25
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2015-01-23 07:51:33 +01:00
Kevin Ottens ae03c0af3b Move CameraController in the input aspect
With this move it also becomes a private class. As a result I had to
touch all the examples as you won't get camera navigation anymore if the
input aspect is not registered.

Quick3DConfiguration doesn't depend on the QuickWindow singleton hack
anymore, it tries to get back to the aspects and set the camera on the
ones having a corresponding property.

It also mostly empties Window and QuickWindow.

Change-Id: Ife1644bd338e51929bad1e99089bd5e4c68ebc68
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2015-01-23 07:51:29 +01:00
Paul Lemire 80540edee6 Qt3D::Window simplified
The Qt3D::Window doesn't contain the QAspectEngine anymore. This will allow
to to pass any kind of surface to the QAspectEngine.

We could still have a wrapper like QQuickView around the QQmlAspectEngine if
needed but if it weren't for the camera controller that we need to keep a
little longer, a simple QWindow could be used in every example.

All examples were updated.

Change-Id: I4921df0df6f1066cd409ea886faf41d7e8834ef6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2014-11-14 17:44:32 +01:00
Sean Harmer c9f8f87403 Rename RendererAspect -> QRenderAspect
Change-Id: Ib16fe125e160764571775f3667cff082db921f7d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2014-10-26 10:17:26 +01:00
Sean Harmer 4c35ec5d33 Compile again on OS X
Change-Id: I5c3dc490e6b324733713b791dcfa61305378d904
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2014-06-12 19:26:54 +02:00
Giuseppe D'Angelo 5996d9e9bd Skeleton example for loading (big) models from the command line
Unfortunately the Instantiator doesn't work yet (that is,
dynamically updating the scene has no effect)

Change-Id: I940c192440c9fb65e94e3b20a474022d2164bcda
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2014-06-07 12:41:15 +02:00