![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlengine_p.h>
Classes | |
struct | Incubator |
Static Public Attributes | |
static bool | baseModulesUninitialized = true |
static const quintptr | profiler = 0 |
static std::atomic< bool > | qml_debugging_enabled {false} |
\qmltype QtObject \nativetype QObject \inqmlmodule QtQml |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Definition at line 99 of file qqmlengine_p.h.
|
override |
Definition at line 196 of file qqmlengine.cpp.
|
static |
Definition at line 127 of file qqmlengine.cpp.
QV4::ExecutableCompilationUnit * QQmlEnginePrivate::compilationUnitFromUrl | ( | const QUrl & | url | ) |
Definition at line 1964 of file qqmlengine.cpp.
QQmlRefPointer< QQmlContextData > QQmlEnginePrivate::createInternalContext | ( | const QQmlRefPointer< QV4::ExecutableCompilationUnit > & | unit, |
const QQmlRefPointer< QQmlContextData > & | parentContext, | ||
int | subComponentIndex, | ||
bool | isComponentRoot ) |
Definition at line 1983 of file qqmlengine.cpp.
|
inline |
Definition at line 296 of file qqmlengine_p.h.
|
static |
Definition at line 122 of file qqmlengine.cpp.
void QQmlEnginePrivate::executeRuntimeFunction | ( | const QUrl & | url, |
qsizetype | functionIndex, | ||
QObject * | thisObject, | ||
int | argc = 0, | ||
void ** | args = nullptr, | ||
QMetaType * | types = nullptr ) |
Definition at line 1905 of file qqmlengine.cpp.
void QQmlEnginePrivate::executeRuntimeFunction | ( | const QV4::ExecutableCompilationUnit * | unit, |
qsizetype | functionIndex, | ||
QObject * | thisObject, | ||
int | argc = 0, | ||
void ** | args = nullptr, | ||
QMetaType * | types = nullptr ) |
Definition at line 1915 of file qqmlengine.cpp.
|
inlinestatic |
Definition at line 318 of file qqmlengine_p.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 340 of file qqmlengine_p.h.
|
inlinestatic |
Definition at line 335 of file qqmlengine_p.h.
|
inlinestatic |
Definition at line 311 of file qqmlengine_p.h.
|
inlinestatic |
Definition at line 345 of file qqmlengine_p.h.
|
inlinestatic |
Definition at line 352 of file qqmlengine_p.h.
QSharedPointer< QQmlImageProviderBase > QQmlEnginePrivate::imageProvider | ( | const QString & | providerId | ) | const |
Definition at line 759 of file qqmlengine.cpp.
void QQmlEnginePrivate::incubate | ( | QQmlIncubator & | i, |
const QQmlRefPointer< QQmlContextData > & | forContext ) |
Definition at line 11 of file qqmlincubator.cpp.
void QQmlEnginePrivate::init | ( | ) |
Definition at line 460 of file qqmlengine.cpp.
QString QQmlEnginePrivate::offlineStorageDatabaseDirectory | ( | ) | const |
Definition at line 1787 of file qqmlengine.cpp.
QQmlEnginePrivate::Q_OBJECT_BINDABLE_PROPERTY | ( | QQmlEnginePrivate | , |
QString | , | ||
translationLanguage | ) |
|
static |
Definition at line 1558 of file qqmlengine.cpp.
|
inline |
Definition at line 287 of file qqmlengine_p.h.
void QQmlEnginePrivate::sendExit | ( | int | retCode = 0 | ) |
Definition at line 1469 of file qqmlengine.cpp.
void QQmlEnginePrivate::sendQuit | ( | ) |
Definition at line 1460 of file qqmlengine.cpp.
|
inlinestatic |
Definition at line 215 of file qqmlengine_p.h.
Definition at line 1805 of file qqmlengine.cpp.
Definition at line 1805 of file qqmlengine.cpp.
T QQmlEnginePrivate::singletonInstance | ( | const QQmlType & | type | ) |
Definition at line 364 of file qqmlengine_p.h.
|
inline |
Definition at line 189 of file qqmlengine_p.h.
Definition at line 1518 of file qqmlengine.cpp.
Definition at line 1510 of file qqmlengine.cpp.
|
static |
Definition at line 1534 of file qqmlengine.cpp.
|
static |
Definition at line 1526 of file qqmlengine.cpp.
|
static |
Definition at line 1550 of file qqmlengine.cpp.
|
static |
Definition at line 1542 of file qqmlengine.cpp.
QQmlObjectCreator* QQmlEnginePrivate::activeObjectCreator = nullptr |
Definition at line 136 of file qqmlengine_p.h.
|
static |
Definition at line 108 of file qqmlengine_p.h.
QUrl QQmlEnginePrivate::baseUrl |
Definition at line 134 of file qqmlengine_p.h.
QQmlDelayedError* QQmlEnginePrivate::erroredBindings = nullptr |
Definition at line 127 of file qqmlengine_p.h.
|
mutable |
Definition at line 138 of file qqmlengine_p.h.
QHash<QString,QSharedPointer<QQmlImageProviderBase> > QQmlEnginePrivate::imageProviders |
Definition at line 139 of file qqmlengine_p.h.
QQmlIncubationController* QQmlEnginePrivate::incubationController = nullptr |
Definition at line 155 of file qqmlengine_p.h.
unsigned int QQmlEnginePrivate::incubatorCount = 0 |
Definition at line 154 of file qqmlengine_p.h.
QIntrusiveList<Incubator, &Incubator::next> QQmlEnginePrivate::incubatorList |
Definition at line 153 of file qqmlengine_p.h.
int QQmlEnginePrivate::inProgressCreations = 0 |
Definition at line 128 of file qqmlengine_p.h.
QRecyclePool<QQmlJavaScriptExpressionGuard> QQmlEnginePrivate::jsExpressionGuardPool |
Definition at line 112 of file qqmlengine_p.h.
QString QQmlEnginePrivate::offlineStoragePath |
Definition at line 146 of file qqmlengine_p.h.
bool QQmlEnginePrivate::outputWarningsToMsgLog = true |
Definition at line 124 of file qqmlengine_p.h.
|
static |
Definition at line 119 of file qqmlengine_p.h.
QQmlPropertyCapture* QQmlEnginePrivate::propertyCapture = nullptr |
Definition at line 110 of file qqmlengine_p.h.
|
static |
\qmltype QtObject \nativetype QObject \inqmlmodule QtQml
A basic QML type.
The QtObject type is a non-visual element which contains only the objectName property.
It can be useful to create a QtObject if you need an extremely lightweight type to enclose a set of custom properties:
It can also be useful for C++ integration, as it is just a plain QObject. See the QObject documentation for further details.
\qmlproperty string QtObject::objectName This property holds the QObject::objectName for this specific object instance.
This allows a C++ application to locate an item within a QML component using the QObject::findChild() method. For example, the following C++ application locates the child \l Rectangle item and dynamically changes its color
value:
\qml MyRect.qml
import QtQuick 2.0 Item { width: 200; height: 200 Rectangle { anchors.fill: parent color: "red" objectName: "myRect" } } \endqml \code // main.cpp QQuickView view; view.setSource(QUrl::fromLocalFile("MyRect.qml")); view.show(); QQuickItem *item = view.rootObject()->findChild<QQuickItem*>("myRect"); if (item) item->setProperty("color", QColor(Qt::yellow)); \endcode
Definition at line 119 of file qqmlengine_p.h.
QRecyclePool<TriggerList> QQmlEnginePrivate::qPropertyTriggerPool |
Definition at line 113 of file qqmlengine_p.h.
QQmlContext* QQmlEnginePrivate::rootContext = nullptr |
Definition at line 115 of file qqmlengine_p.h.
int QQmlEnginePrivate::scarceResourcesRefCount = 0 |
Definition at line 142 of file qqmlengine_p.h.