ATLAS Offline Software
Loading...
Searching...
No Matches
VP1GraphicsItemCollection::Imp Class Reference
Collaboration diagram for VP1GraphicsItemCollection::Imp:

Public Types

typedef QHash< QGraphicsItem *, bool >::iterator ItemDataMapItr

Public Member Functions

void setEnabledMovableItems (const bool &enabled)
bool ignoresInteractions () const

Public Attributes

QGraphicsScene * scene
VP1GraphicsViewlastview
VP1GraphicsViewview
bool ignoreall_int
bool ignoreall_move
int nactiveitems
QHash< QGraphicsItem *, bool > items2active
QSet< QGraphicsItem * > movableitems
VP1GraphicsItemCollection::INTERACTIONMODE interactionmode

Detailed Description

Definition at line 27 of file VP1GraphicsItemCollection.cxx.

Member Typedef Documentation

◆ ItemDataMapItr

Definition at line 42 of file VP1GraphicsItemCollection.cxx.

Member Function Documentation

◆ ignoresInteractions()

bool VP1GraphicsItemCollection::Imp::ignoresInteractions ( ) const

◆ setEnabledMovableItems()

void VP1GraphicsItemCollection::Imp::setEnabledMovableItems ( const bool & enabled)

Definition at line 205 of file VP1GraphicsItemCollection.cxx.

205 {
206 if (movableitems.empty())
207 return;
208 QSet<QGraphicsItem*>::iterator it,itE=movableitems.end();
209 for (it=movableitems.begin();it!=itE;++it) {
210 (*it)->setFlag(QGraphicsItem::ItemIsMovable,enabled);
211 }
212
213}

Member Data Documentation

◆ ignoreall_int

bool VP1GraphicsItemCollection::Imp::ignoreall_int

Definition at line 33 of file VP1GraphicsItemCollection.cxx.

◆ ignoreall_move

bool VP1GraphicsItemCollection::Imp::ignoreall_move

Definition at line 34 of file VP1GraphicsItemCollection.cxx.

◆ interactionmode

VP1GraphicsItemCollection::INTERACTIONMODE VP1GraphicsItemCollection::Imp::interactionmode

Definition at line 49 of file VP1GraphicsItemCollection.cxx.

◆ items2active

QHash<QGraphicsItem*,bool> VP1GraphicsItemCollection::Imp::items2active

Definition at line 41 of file VP1GraphicsItemCollection.cxx.

◆ lastview

VP1GraphicsView* VP1GraphicsItemCollection::Imp::lastview

Definition at line 31 of file VP1GraphicsItemCollection.cxx.

◆ movableitems

QSet<QGraphicsItem*> VP1GraphicsItemCollection::Imp::movableitems

Definition at line 47 of file VP1GraphicsItemCollection.cxx.

◆ nactiveitems

int VP1GraphicsItemCollection::Imp::nactiveitems

Definition at line 35 of file VP1GraphicsItemCollection.cxx.

◆ scene

QGraphicsScene* VP1GraphicsItemCollection::Imp::scene

Definition at line 30 of file VP1GraphicsItemCollection.cxx.

◆ view

VP1GraphicsView* VP1GraphicsItemCollection::Imp::view

Definition at line 32 of file VP1GraphicsItemCollection.cxx.


The documentation for this class was generated from the following file: