4#ifndef QQUICK3DLOADER_P_H
5#define QQUICK3DLOADER_P_H
18#include <QtQuick3D/private/qquick3dnode_p.h>
19#include <QQmlIncubator>
20#include <private/qqmlguard_p.h>
22#include <private/qv4value_p.h>
46 Q_PROPERTY(
bool active READ active WRITE setActive NOTIFY activeChanged)
48 Q_PROPERTY(
QQmlComponent *sourceComponent READ sourceComponent WRITE setSourceComponent RESET resetSourceComponent NOTIFY sourceComponentChanged)
52 Q_PROPERTY(
bool asynchronous READ asynchronous WRITE setAsynchronous NOTIFY asynchronousChanged)
61 void setActive(
bool newVal);
66 void setSource(
const QUrl &);
70 void resetSourceComponent();
74 Status status()
const;
75 qreal progress()
const;
77 bool asynchronous()
const;
78 void setAsynchronous(
bool a);
101 void setSource(
const QUrl &sourceUrl,
bool needsClear);
102 void loadFromSource();
103 void loadFromSourceComponent();
109 void disposeInitialPropertyValues();
113 void createComponent();
124 bool m_loadingFromSource : 1;
125 bool m_asynchronous : 1;
The QQmlComponent class encapsulates a QML component definition.
The QQmlContext class defines a context within a QML engine.
The QQmlIncubator class allows QML objects to be created asynchronously.
IncubationMode
Specifies the mode the incubator operates in.
Status
Specifies the status of the QQmlIncubator.
void statusChanged(Status) override
Called when the status of the incubator changes.
void setInitialState(QObject *) override
Called after the object is first created, but before property bindings are evaluated and,...
QQuick3DLoaderIncubator(QQuick3DLoader *l, IncubationMode mode)
void asynchronousChanged()
void sourceComponentChanged()
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
void statusChanged(QDeclarativeComponent::Status status)
[1]
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
GLboolean GLboolean GLboolean GLboolean a
[7]
GLsizei GLsizei GLchar * source
#define QML_DECLARE_TYPE(TYPE)
#define QML_NAMED_ELEMENT(NAME)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent