|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #include <QGraphicsItem>
19 #include <QGraphicsScene>
79 assert(!
m_d->
scene&&
"VP1GraphicsItemCollection::setInteractionMode can not be called while a scene is attached.");
81 std::cout<<
"VP1GraphicsItemCollection::setInteractionMode can not be called while a scene is attached."<<std::endl;
97 assert(!
item->flags()&&
"Please do not add any flags to your items!!");
156 item->setFlag(QGraphicsItem::ItemIsMovable,movable);
210 (*it)->setFlag(QGraphicsItem::ItemIsMovable,enabled);
236 return ( interactionmode==
INERT || ignoreall_int );
JetConstituentVector::iterator iterator
QHash< QGraphicsItem *, bool > items2active
void itemGotEvent(QGraphicsItem *, QEvent *) const
void setTemporaryIgnoreInteractions(const bool &)
VP1GraphicsView * lastview
int nMovableItems() const
VP1GraphicsItemCollection::INTERACTIONMODE interactionmode
bool setActive(QGraphicsItem *, const bool &active=true)
int nPresentlyMovableItems() const
int nPresentlyActiveItems() const
bool hasItem(QGraphicsItem *) const
void setTemporaryIgnoreMovable(const bool &)
void selectionChangedPrivate(QList< QGraphicsItem * >) const
bool setMovable(QGraphicsItem *item, const bool &movable=true)
bool itemBelongsAndIsPresentlyActive(QGraphicsItem *) const
void setEnabledMovableItems(const bool &enabled)
void attachToView(VP1GraphicsView *)
POOL::TEvent event(POOL::TEvent::kClassAccess)
bool ignoresInteractions() const
void addItemCollection(VP1GraphicsItemCollection *)
INTERACTIONMODE interactionMode() const
void clear(const bool &deleteitems=true)
QSet< QGraphicsItem * > movableitems
void addItem(QGraphicsItem *, const bool &active=false, const bool &movable=false)
void itemGotEventPrivate(QGraphicsItem *, QEvent *) const
void removeItemCollection(VP1GraphicsItemCollection *)
bool removeItem(QGraphicsItem *)
VP1GraphicsItemCollection(QObject *parent=0)
void selectionChanged(QList< QGraphicsItem * >) const
void setInteractionMode(const INTERACTIONMODE &)
void itemPickedPrivate(QGraphicsItem *) const
void itemPicked(QGraphicsItem *) const
QHash< QGraphicsItem *, bool >::iterator ItemDataMapItr
void real_detachFromView()
virtual ~VP1GraphicsItemCollection()