Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
VSI::ElementArea Class Reference

#include <Plugin-VSI/scene/elementArea.hh>

Inheritance diagram for VSI::ElementArea:

Public Member Functions

 ElementArea (GraphicsScene *_scene)
 Constructor.
 
 ~ElementArea ()
 Destructor.
 
void addElement (SceneElement *_element)
 Add a child element.
 
bool removeElement (SceneElement *_element, bool _force=false)
 Remove an element, if its removeable or _force is set.
 
QRectF boundingRect () const
 Bounding rectangle.
 
const QList< SceneElement * > & elements () const
 All elements.
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *=0)
 for QGraphicsItem
 

Private Attributes

GraphicsScenescene_
 
QList< SceneElement * > elements_
 
QRectF elementsBoundingRect_
 

Detailed Description

Widget that acts as parent for all elements in scene. It is used to realize movement and scaling of all its child elements

Definition at line 68 of file elementArea.hh.


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