15 propertyNameList->append(propertyName);
101 return propertyNameList;
103 if (!inspectedObjects->contains(
object))
104 inspectedObjects->append(
object);
110 if (declarativeProperty.isValid() && !declarativeProperty.isWritable() && declarativeProperty.propertyTypeCategory() ==
QQmlProperty::Object) {
116 +
'.', inspectedObjects,
121 valueType->setValue(metaProperty.
read(
object));
124 +
'.', inspectedObjects,
134 return propertyNameList;
140 return ::propertyNameListForWritableProperties(
object, {}, &localObjectList);
148 if (propertyName.
count(
".") > 1)
163 if (inspectedObjects ==
nullptr)
164 inspectedObjects = &localObjectList;
167 return propertyNameList;
169 if (!inspectedObjects->contains(
object))
170 inspectedObjects->
append(
object);
175 const int namesIndex =
metaObject->indexOfClassInfo(
"DeferredPropertyNames");
176 if (namesIndex != -1) {
184 if (declarativeProperty.isValid() && declarativeProperty.propertyTypeCategory() ==
QQmlProperty::Object) {
186 && !deferredPropertyNames.contains(declarativeProperty.name())) {
192 +
'.', inspectedObjects,
197 valueType->setValue(metaProperty.
read(
object));
202 +
'.', inspectedObjects,
210 return propertyNameList;
bool contains(char c) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
qsizetype count(char c) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void append(parameter_type t)
The QQmlContext class defines a context within a QML engine.
The QQmlEngine class provides an environment for instantiating QML components.
static QQmlGadgetPtrWrapper * instance(QQmlEngine *engine, QMetaType type)
The QQmlListReference class allows the manipulation of QQmlListProperty properties.
The QQmlProperty class abstracts accessing properties on objects created from QML.
static void doResetProperty(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
static void setPropertyBinding(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression)
static bool hasValidResetBinding(QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
static QVariant getResetValue(QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
static bool hasBindingForProperty(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, bool *hasChanged)
static void keepBindingFromGettingDeleted(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
static void registerData(QObject *object)
static QQuickDesignerSupport::PropertyNameList allPropertyNames(QObject *object, const QQuickDesignerSupport::PropertyName &baseName=QQuickDesignerSupport::PropertyName(), QObjectList *inspectedObjects=nullptr, int depth=0)
static QObject * readQObjectProperty(const QMetaProperty &metaProperty, QObject *object)
static void registerNodeInstanceMetaObject(QObject *object, QQmlEngine *engine)
static void keepBindingFromGettingDeleted(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
static QQuickDesignerSupport::PropertyNameList propertyNameListForWritableProperties(QObject *object)
static bool isPropertyQObject(const QMetaProperty &metaProperty)
static QVariant getResetValue(QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
static bool hasFullImplementedListInterface(const QQmlListReference &list)
static bool isPropertyBlackListed(const QQuickDesignerSupport::PropertyName &propertyName)
static void doResetProperty(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
static bool hasBindingForProperty(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, bool *hasChanged)
static void registerCustomData(QObject *object)
static bool hasValidResetBinding(QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
static void createNewDynamicProperty(QObject *object, QQmlEngine *engine, const QString &name)
static void setPropertyBinding(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression)
static void getPropertyCache(QObject *object)
QList< PropertyName > PropertyNameList
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Combined button and popup list for selecting options.
GLint GLenum GLsizei GLsizei GLsizei depth
QQmlEngine * qmlEngine(const QObject *obj)
static QQuickDesignerSupport::PropertyNameList propertyNameListForWritableProperties(QObject *object, const QQuickDesignerSupport::PropertyName &baseName, QObjectList *inspectedObjects, int depth=0)
static QT_BEGIN_NAMESPACE void addToPropertyNameListIfNotBlackListed(QQuickDesignerSupport::PropertyNameList *propertyNameList, const QQuickDesignerSupport::PropertyName &propertyName)
obj metaObject() -> className()
\inmodule QtCore \reentrant