Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquick3dxrruntimeinfo_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
6#ifndef QQUICK3DXRRUNTIMEINFO_P_H
7#define QQUICK3DXRRUNTIMEINFO_P_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtQuick3DXr/qtquick3dxrglobal.h>
21#include <QtCore/qobject.h>
22#include <QtQml/qqml.h>
23
24QT_BEGIN_NAMESPACE
25
26class QQuick3DXrManager;
27
28class Q_QUICK3DXR_EXPORT QQuick3DXrRuntimeInfo : public QObject
29{
30 Q_OBJECT
31 Q_PROPERTY(QStringList enabledExtensions READ enabledExtensions CONSTANT)
32 Q_PROPERTY(QString runtimeName READ runtimeName CONSTANT)
33 Q_PROPERTY(QString runtimeVersion READ runtimeVersion CONSTANT)
34 Q_PROPERTY(QString graphicsApiName READ graphicsApiName CONSTANT)
35
36 QML_NAMED_ELEMENT(XrRuntimeInfo)
37 QML_UNCREATABLE("Created by XrView")
38 QML_ADDED_IN_VERSION(6, 8)
39
40public:
41 QQuick3DXrRuntimeInfo(QQuick3DXrManager *manager, QObject *parent = nullptr);
42 QStringList enabledExtensions() const;
43 QString runtimeName() const;
44 QString runtimeVersion() const;
45 QString graphicsApiName() const;
46
47private:
48 QPointer<QQuick3DXrManager> m_xrmanager;
49};
50
51QT_END_NAMESPACE
52
53#endif // QQUICK3DXRRUNTIMEINFO_P_H
Combined button and popup list for selecting options.