Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickdesignersupportitems.cpp File Reference
#include "qquickdesignersupportitems_p.h"
#include "qquickdesignersupportproperties_p.h"
#include <private/qabstractanimation_p.h>
#include <private/qobject_p.h>
#include <private/qquickbehavior_p.h>
#include <private/qquicktext_p.h>
#include <private/qquicktextinput_p.h>
#include <private/qquicktextedit_p.h>
#include <private/qquicktransition_p.h>
#include <private/qquickloader_p.h>
#include <private/qquickanimation_p.h>
#include <private/qqmlmetatype_p.h>
#include <private/qqmltimer_p.h>
+ Include dependency graph for qquickdesignersupportitems.cpp:

Go to the source code of this file.

Functions

static void stopAnimation (QObject *object)
 
static void makeLoaderSynchronous (QObject *object)
 
static void allSubObjects (QObject *object, QObjectList &objectList)
 
static QObjectcreateDummyWindow (QQmlEngine *engine)
 
static bool isWindowMetaObject (const QMetaObject *metaObject)
 
static bool isWindow (QObject *object)
 
static bool isCrashingType (const QQmlType &type)
 

Variables

static QT_BEGIN_NAMESPACE void(* fixResourcePathsForObjectCallBack )(QObject *) = nullptr
 

Function Documentation

◆ allSubObjects()

static void allSubObjects ( QObject object,
QObjectList objectList 
)
static

Definition at line 52 of file qquickdesignersupportitems.cpp.

References allSubObjects(), QList< T >::append(), QList< T >::at(), QQuickItem::childItems(), QListSpecialMethodsBase< T >::contains(), QList< T >::count(), QMetaType::flags(), i, QQmlMetaType::isList(), QMetaProperty::isReadable(), QMetaProperty::isWritable(), list, QMetaProperty::metaType(), mo, QMetaProperty::name(), QMetaType::PointerToQObject, qobject_cast< QQuickItem * >(), qstrcmp(), QMetaProperty::read(), QByteArray::split(), and QQmlMetaType::toQObject().

Referenced by allSubObjects(), and QQuickDesignerSupportItems::tweakObjects().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createDummyWindow()

static QObject * createDummyWindow ( QQmlEngine engine)
static

Definition at line 129 of file qquickdesignersupportitems.cpp.

References component(), engine, and QStringLiteral.

+ Here is the call graph for this function:

◆ isCrashingType()

static bool isCrashingType ( const QQmlType type)
static

Definition at line 154 of file qquickdesignersupportitems.cpp.

Referenced by QQuickDesignerSupportItems::createPrimitive().

+ Here is the caller graph for this function:

◆ isWindow()

static bool isWindow ( QObject object)
static

Definition at line 147 of file qquickdesignersupportitems.cpp.

References isWindowMetaObject().

Referenced by QQuickDesignerSupportItems::createPrimitive(), QDockWidgetLayout::maximumSize(), QQC2::QCommonStyle::pixelMetric(), QCommonStyle::pixelMetric(), and QMacStyle::pixelMetric().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isWindowMetaObject()

static bool isWindowMetaObject ( const QMetaObject metaObject)
static

Definition at line 135 of file qquickdesignersupportitems.cpp.

References isWindowMetaObject(), metaObject(), and QByteArrayLiteral.

Referenced by isWindow(), and isWindowMetaObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ makeLoaderSynchronous()

static void makeLoaderSynchronous ( QObject object)
static

Definition at line 46 of file qquickdesignersupportitems.cpp.

References loader.

Referenced by QQuickDesignerSupportItems::tweakObjects().

+ Here is the caller graph for this function:

◆ stopAnimation()

static void stopAnimation ( QObject object)
static

Definition at line 24 of file qquickdesignersupportitems.cpp.

References animation, QObject::blockSignals(), QQuickTransition::setFromState(), QQuickTransition::setToState(), and timer.

Referenced by QQuickDesignerSupportItems::tweakObjects().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ fixResourcePathsForObjectCallBack