![]() |
ATLAS Offline Software
|
#include <VP1GraphicsItemCollection.h>
Classes | |
| class | Imp |
Public Types | |
| enum | INTERACTIONMODE { INERT , SINGLEPICKS , EVENTS , SELECTIONS } |
Signals | |
| void | itemPicked (QGraphicsItem *) const |
| void | itemGotEvent (QGraphicsItem *, QEvent *) const |
| void | selectionChanged (QList< QGraphicsItem * >) const |
Public Member Functions | |
| VP1GraphicsItemCollection (QObject *parent=0) | |
| virtual | ~VP1GraphicsItemCollection () |
| void | setInteractionMode (const INTERACTIONMODE &) |
| INTERACTIONMODE | interactionMode () const |
| void | addItem (QGraphicsItem *, const bool &active=false, const bool &movable=false) |
| bool | setActive (QGraphicsItem *, const bool &active=true) |
| bool | setMovable (QGraphicsItem *item, const bool &movable=true) |
| bool | removeItem (QGraphicsItem *) |
| bool | hasItem (QGraphicsItem *) const |
| void | clear (const bool &deleteitems=true) |
| void | detachFromView () |
| void | reattachToView () |
| bool | isAttachedToView () |
| int | nItems () const |
| int | nActiveItems () const |
| int | nMovableItems () const |
| int | nPresentlyActiveItems () const |
| int | nPresentlyMovableItems () const |
| bool | itemBelongsAndIsPresentlyActive (QGraphicsItem *) const |
Private Member Functions | |
| VP1GraphicsItemCollection (const VP1GraphicsItemCollection &) | |
| VP1GraphicsItemCollection & | operator= (const VP1GraphicsItemCollection &) |
| void | attachToView (VP1GraphicsView *) |
| void | real_detachFromView () |
| void | setTemporaryIgnoreInteractions (const bool &) |
| void | setTemporaryIgnoreMovable (const bool &) |
| void | itemPickedPrivate (QGraphicsItem *) const |
| void | itemGotEventPrivate (QGraphicsItem *, QEvent *) const |
| void | selectionChangedPrivate (const QList< QGraphicsItem * > &) const |
Private Attributes | |
| Imp * | m_d |
Friends | |
| class | VP1GraphicsView |
Definition at line 53 of file VP1GraphicsItemCollection.h.
| Enumerator | |
|---|---|
| INERT | |
| SINGLEPICKS | |
| EVENTS | |
| SELECTIONS | |
Definition at line 62 of file VP1GraphicsItemCollection.h.
| VP1GraphicsItemCollection::VP1GraphicsItemCollection | ( | QObject * | parent = 0 | ) |
|
virtual |
Definition at line 68 of file VP1GraphicsItemCollection.cxx.
|
private |
| void VP1GraphicsItemCollection::addItem | ( | QGraphicsItem * | item, |
| const bool & | active = false, | ||
| const bool & | movable = false ) |
Definition at line 94 of file VP1GraphicsItemCollection.cxx.
|
private |
Definition at line 240 of file VP1GraphicsItemCollection.cxx.
| void VP1GraphicsItemCollection::clear | ( | const bool & | deleteitems = true | ) |
Definition at line 175 of file VP1GraphicsItemCollection.cxx.
| void VP1GraphicsItemCollection::detachFromView | ( | ) |
Definition at line 257 of file VP1GraphicsItemCollection.cxx.
| bool VP1GraphicsItemCollection::hasItem | ( | QGraphicsItem * | item | ) | const |
Definition at line 199 of file VP1GraphicsItemCollection.cxx.
| VP1GraphicsItemCollection::INTERACTIONMODE VP1GraphicsItemCollection::interactionMode | ( | ) | const |
Definition at line 88 of file VP1GraphicsItemCollection.cxx.
| bool VP1GraphicsItemCollection::isAttachedToView | ( | ) |
Definition at line 293 of file VP1GraphicsItemCollection.cxx.
| bool VP1GraphicsItemCollection::itemBelongsAndIsPresentlyActive | ( | QGraphicsItem * | item | ) | const |
Definition at line 330 of file VP1GraphicsItemCollection.cxx.
|
signal |
|
private |
Definition at line 350 of file VP1GraphicsItemCollection.cxx.
|
signal |
|
private |
Definition at line 344 of file VP1GraphicsItemCollection.cxx.
| int VP1GraphicsItemCollection::nActiveItems | ( | ) | const |
Definition at line 306 of file VP1GraphicsItemCollection.cxx.
| int VP1GraphicsItemCollection::nItems | ( | ) | const |
Definition at line 300 of file VP1GraphicsItemCollection.cxx.
| int VP1GraphicsItemCollection::nMovableItems | ( | ) | const |
Definition at line 312 of file VP1GraphicsItemCollection.cxx.
| int VP1GraphicsItemCollection::nPresentlyActiveItems | ( | ) | const |
Definition at line 318 of file VP1GraphicsItemCollection.cxx.
| int VP1GraphicsItemCollection::nPresentlyMovableItems | ( | ) | const |
Definition at line 324 of file VP1GraphicsItemCollection.cxx.
|
private |
|
private |
Definition at line 267 of file VP1GraphicsItemCollection.cxx.
| void VP1GraphicsItemCollection::reattachToView | ( | ) |
Definition at line 282 of file VP1GraphicsItemCollection.cxx.
| bool VP1GraphicsItemCollection::removeItem | ( | QGraphicsItem * | item | ) |
Definition at line 115 of file VP1GraphicsItemCollection.cxx.
|
signal |
|
private |
Definition at line 356 of file VP1GraphicsItemCollection.cxx.
| bool VP1GraphicsItemCollection::setActive | ( | QGraphicsItem * | item, |
| const bool & | active = true ) |
Definition at line 161 of file VP1GraphicsItemCollection.cxx.
| void VP1GraphicsItemCollection::setInteractionMode | ( | const INTERACTIONMODE & | im | ) |
Definition at line 77 of file VP1GraphicsItemCollection.cxx.
| bool VP1GraphicsItemCollection::setMovable | ( | QGraphicsItem * | item, |
| const bool & | movable = true ) |
Definition at line 140 of file VP1GraphicsItemCollection.cxx.
|
private |
Definition at line 216 of file VP1GraphicsItemCollection.cxx.
|
private |
|
friend |
Definition at line 104 of file VP1GraphicsItemCollection.h.
|
private |
Definition at line 102 of file VP1GraphicsItemCollection.h.