1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DQUICKWINDOW_P_H
5#define QT3DQUICKWINDOW_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qwindow_p.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace Qt3DExtras {
23
24namespace Quick {
25
26class Qt3DQuickWindowPrivate : public QWindowPrivate
27{
28public:
29 Qt3DQuickWindowPrivate();
30
31 Qt3DCore::Quick::QQmlAspectEngine *m_engine;
32
33 // Aspects
34 Qt3DRender::QRenderAspect *m_renderAspect;
35 Qt3DInput::QInputAspect *m_inputAspect;
36 Qt3DLogic::QLogicAspect *m_logicAspect;
37
38 QUrl m_source;
39 bool m_initialized;
40 QPointer<Qt3DRender::QCamera> m_camera;
41 Qt3DQuickWindow::CameraAspectRatioMode m_cameraAspectRatioMode;
42 QQmlIncubationController *m_incubationController;
43
44 Q_DECLARE_PUBLIC(Qt3DQuickWindow)
45};
46
47} // Quick
48
49} // Qt3DExtras
50
51QT_END_NAMESPACE
52
53#endif // QT3DQUICKWINDOW_P_H
54

source code of qt3d/src/quick3d/quick3dextras/qt3dquickwindow_p.h