Developer Documentation
|
#include <Plugin-VSI/scene/elementArea.hh>
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_ |
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.