44 #include "../qdeclarativeviewinspector_p.h" 51 : m_editorView(editorView),
102 switch (selectionType) {
106 resultList.
append(selectedItem);
111 resultList.
append(selectedItem);
124 resultList.
append(selectedItem);
137 select(selectionType, itemList, selectOnlyContentItems);
void update(const QPointF &updatePoint)
The QPointF class defines a point in the plane using floating point precision.
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
QDeclarativeViewInspector * m_editorView
QList< QGraphicsItem * > selectedItems() const
void append(const T &t)
Inserts value at the end of the list.
QBool contains(const T &t) const
Returns true if the list contains an occurrence of value; otherwise returns false.
LiveSingleSelectionManipulator(QDeclarativeViewInspector *editorView)
void end(const QPointF &updatePoint)
void clear()
Removes all items from the list.
QList< QGraphicsItem * > selectableItems(const QPoint &pos) const
QList< QGraphicsItem * > m_oldSelectionList
QPointF beginPoint() const
void setSelectedItems(QList< QGraphicsItem *> items)
void begin(const QPointF &beginPoint)
void select(SelectionType selectionType, const QList< QGraphicsItem *> &items, bool selectOnlyContentItems)
static QDeclarativeViewInspectorPrivate * get(QDeclarativeViewInspector *v)
The QList class is a template class that provides lists.
int removeAll(const T &t)
Removes all occurrences of value in the list and returns the number of entries removed.