ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | List of all members
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

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

Definition at line 42 of file VP1GraphicsItemCollection.cxx.

Member Function Documentation

◆ ignoresInteractions()

bool VP1GraphicsItemCollection::Imp::ignoresInteractions ( ) const

Definition at line 234 of file VP1GraphicsItemCollection.cxx.

235 {
236  return ( interactionmode==INERT || ignoreall_int );
237 }

◆ setEnabledMovableItems()

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

Definition at line 205 of file VP1GraphicsItemCollection.cxx.

205  {
206  if (movableitems.empty())
207  return;
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:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
VP1GraphicsItemCollection::Imp::interactionmode
VP1GraphicsItemCollection::INTERACTIONMODE interactionmode
Definition: VP1GraphicsItemCollection.cxx:49
skel.it
it
Definition: skel.GENtoEVGEN.py:423
VP1GraphicsItemCollection::INERT
@ INERT
Definition: VP1GraphicsItemCollection.h:62
TruthTest.itE
itE
Definition: TruthTest.py:25
VP1GraphicsItemCollection::Imp::movableitems
QSet< QGraphicsItem * > movableitems
Definition: VP1GraphicsItemCollection.cxx:47
VP1GraphicsItemCollection::Imp::ignoreall_int
bool ignoreall_int
Definition: VP1GraphicsItemCollection.cxx:33