#include "qdeclarativeitem.h"
#include "private/qdeclarativeevents_p_p.h"
#include <private/qdeclarativeengine_p.h>
#include <private/qgraphicsitem_p.h>
#include <QtDeclarative/private/qdeclarativeitem_p.h>
#include <qdeclarativeengine.h>
#include <qdeclarativeopenmetaobject_p.h>
#include <qdeclarativestate_p.h>
#include <qdeclarativeview.h>
#include <qdeclarativestategroup_p.h>
#include <qdeclarativecomponent.h>
#include <qdeclarativeinfo.h>
#include <QDebug>
#include <QPen>
#include <QEvent>
#include <QGraphicsSceneMouseEvent>
#include <QtCore/qnumeric.h>
#include <QtScript/qscriptengine.h>
#include <QtGui/qgraphicstransform.h>
#include <qlistmodelinterface_p.h>
#include <float.h>
#include <moc_qdeclarativeitem.cpp>
Go to the source code of this file.
◆ children_at_helper()
Definition at line 2020 of file qdeclarativeitem.cpp.
Referenced by QDeclarativeItemPrivate::data_at().
2023 if (
index >= 0 && index < d->children.count())
QGraphicsObject * toGraphicsObject()
Return the graphics item cast to a QGraphicsObject, if the class is actually a graphics object...
const T & at(int i) const
Returns the item at index position i in the list.
static const QGraphicsItemPrivate * get(const QGraphicsItem *item)
QList< QGraphicsItem * > children
◆ children_clear_helper()
Definition at line 2029 of file qdeclarativeitem.cpp.
Referenced by QDeclarativeItemPrivate::data_clear().
void setParentItem(QGraphicsItem *parent)
Sets this item's parent item to newParent.
int count(const T &t) const
Returns the number of occurrences of value in the list.
const T & at(int i) const
Returns the item at index position i in the list.
static const QGraphicsItemPrivate * get(const QGraphicsItem *item)
QList< QGraphicsItem * > children
◆ children_count_helper()
◆ operator<<()
Definition at line 4004 of file qdeclarativeitem.cpp.
Referenced by qobject_cast().
4007 debug <<
"QDeclarativeItem(0)";
4012 <<
", parent =" << ((
void*)item->
parentItem())
4014 <<
", z =" << item->
zValue() <<
')';
QPointF pos() const
Returns the position of the item in parent coordinates.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
qreal zValue() const
Returns the Z-value of the item.
The QRectF class defines a rectangle in the plane using floating point precision. ...
QDeclarativeItem * parentItem() const
Returns the QDeclarativeItem parent of this item.
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.
◆ registerAnchorLineAtStartup