15 propertyNameList->
append(propertyName);
101 return propertyNameList;
103 if (!inspectedObjects->
contains(
object))
104 inspectedObjects->
append(
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) {
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.
bool isValid() const
Returns true if the QQmlProperty refers to a valid property, otherwise false.
PropertyTypeCategory propertyTypeCategory() const
Returns the property category.
QVariant read() const
Returns the property value.
bool isWritable() const
Returns true if the property is writable, otherwise false.
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)
\macro QT_RESTRICTED_CAST_FROM_ASCII
QStringList split(const QString &sep, Qt::SplitBehavior behavior=Qt::KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Splits the string into substrings wherever sep occurs, and returns the list of those strings.
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
bool contains(const AT &t) const noexcept