43 #include "../qdeclarativeviewinspector_p.h" 45 #include <QDeclarativeEngine> 48 #include <QGraphicsItem> 49 #include <QDeclarativeItem> 91 if (firstSelectableItem == 0)
107 && selectedItems.
contains(declarativeItem)
140 if (declarativeItem )
141 return declarativeItem;
177 if (declarativeItem) {
181 if (!objectStringId.
isEmpty()) {
192 return constructedName;
The QGraphicsScene class provides a surface for managing a large number of 2D graphical items...
QString idStringForObject(QObject *obj) const
QDeclarativeView * declarativeView() const
The QRegExp class provides pattern matching using regular expressions.
The QDeclarativeView class provides a widget for displaying a Qt Declarative user interface...
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
T * qobject_cast(QObject *object)
QList< QGraphicsItem * > selectedItems() const
QGraphicsObject * toGraphicsObject()
Return the graphics item cast to a QGraphicsObject, if the class is actually a graphics object...
QBool contains(const T &t) const
Returns true if the list contains an occurrence of value; otherwise returns false.
The QDeclarativeItem class provides the most basic of all visual items in QML.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
GraphicsItemFlags flags() const
Returns this item's flags.
QString objectName() const
QString & remove(int i, int len)
Removes n characters from the string, starting at the given position index, and returns a reference t...
The QGraphicsObject class provides a base class for all graphics items that require signals...
QGraphicsScene * scene() const
Returns a pointer to the scene that is currently visualized in the view.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.
The QList class is a template class that provides lists.