Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickdesignersupportitems.cpp File Reference

(c2d490a2385ea6f389340a296acaac0fa198c8b9)

#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 >::at(), QList< T >::count(), QMetaType::flags(), i, QQmlMetaType::isList(), QMetaProperty::isReadable(), QMetaProperty::isWritable(), list, QMetaProperty::metaType(), mo, QMetaProperty::name(), QMetaType::PointerToQObject, QByteArray(), qobject_cast< QQuickItem * >(), qstrcmp(), QMetaProperty::read(), 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(), QDockWidget::isFloating(), 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.

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