Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 69 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