QQmlAspectEngine Class
(Qt3DCore::Quick::QQmlAspectEngine)The QQmlAspectEngine provides an environment for the QAspectEngine and a method for instantiating QML components. More...
Header: | #include <Qt3DQuick/QQmlAspectEngine> |
qmake: | QT += 3dcore |
Inherits: | QObject |
Public Types
enum | Status { Null, Ready, Loading, Error } |
Public Functions
QQmlAspectEngine(QObject *parent = nullptr) | |
Qt3DCore::QAspectEngine * | aspectEngine() const |
int * | qmlEngine() const |
void | setSource(const QUrl &source) |
Qt3DCore::Quick::QQmlAspectEngine::Status | status() const |
- 16 public functions inherited from QObject
Related Non-Members
typedef | QObjectList |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 5 static public members inherited from QObject
- 8 protected functions inherited from QObject
Detailed Description
Member Type Documentation
enum QQmlAspectEngine::Status
The status of the engine.
Constant | Value |
---|---|
Qt3DCore::Quick::QQmlAspectEngine::Null | 0 |
Qt3DCore::Quick::QQmlAspectEngine::Ready | 1 |
Qt3DCore::Quick::QQmlAspectEngine::Loading | 2 |
Qt3DCore::Quick::QQmlAspectEngine::Error | 3 |
Member Function Documentation
QQmlAspectEngine::QQmlAspectEngine(QObject *parent = nullptr)
Constructs a new QQmlAspectEngine with parent.
Qt3DCore::QAspectEngine *QQmlAspectEngine::aspectEngine() const
Returns the aspectEngine.
int *QQmlAspectEngine::qmlEngine() const
Returns the engine.
void QQmlAspectEngine::setSource(const QUrl &source)
Sets source as a source for the QML component to be created.
Qt3DCore::Quick::QQmlAspectEngine::Status QQmlAspectEngine::status() const
Returns the status.