Developer Documentation

Public Member Functions | Private Attributes | List of all members
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
GraphicsScene * | scene_
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 62 of file elementArea.hh.

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

- Plugin-VSI/scene/elementArea.hh
- Plugin-VSI/scene/elementArea.cc