1// Copyright (C) 2020 Klaralvdalens Datakonsult AB (KDAB).
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 QT3DCORE_QCORESETTINGS_H
5#define QT3DCORE_QCORESETTINGS_H
6
7#include <Qt3DCore/qcomponent.h>
8#include <Qt3DCore/qt3dcore_global.h>
9#include <QtCore/QSharedPointer>
10
11
12QT_BEGIN_NAMESPACE
13
14namespace Qt3DCore {
15
16class QCoreSettingsPrivate;
17
18class Q_3DCORESHARED_EXPORT QCoreSettings : public Qt3DCore::QComponent
19{
20 Q_OBJECT
21 Q_PROPERTY(bool boundingVolumesEnabled WRITE setBoundingVolumesEnabled READ boundingVolumesEnabled NOTIFY boundingVolumesEnabledChanged)
22public:
23 explicit QCoreSettings(Qt3DCore::QNode *parent = nullptr);
24 ~QCoreSettings();
25
26 bool boundingVolumesEnabled() const;
27
28public Q_SLOTS:
29 void setBoundingVolumesEnabled(bool boundingVolumesEnabled);
30
31Q_SIGNALS:
32 void boundingVolumesEnabledChanged(bool boundingVolumesEnabled);
33
34private:
35 Q_DECLARE_PRIVATE(QCoreSettings)
36};
37
38} // namespace Qt3DCore
39
40QT_END_NAMESPACE
41
42#endif // QT3DCORE_QCORESETTINGS_H
43

source code of qt3d/src/core/aspect/qcoresettings.h