Developer Documentation

Public Member Functions | Protected Member Functions | Private Attributes | List of all members
VSI::Trash Class Reference

`#include <Plugin-VSI/scene/trash.hh>`

Inheritance diagram for VSI::Trash:

## Public Member Functions
| Trash (GraphicsScene *_scene, QGraphicsItem *_parent)
| Constructor.
| ~Trash ()
| Destructor.
void | activate ()
| Makes the trash opaque (will be called of an element is moved above this widget)
void | deactivate ()
| Makes the trash transparent (will be called of an element is moved away from this widget)
virtual void | setGeometry (const QRectF &_rect)
| Sets the geometry.

## Protected Member Functions
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *_event)
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *_event)
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *_event)
virtual QSizeF | sizeHint (Qt::SizeHint _which, const QSizeF &_constraint=QSizeF()) const

## Private Attributes
GraphicsScene * | scene_

## Detailed Description

Trash widget that removes elements from the scene_

Definition at line 63 of file trash.hh.

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

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