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