#include <Plugin-VSI/scene/trash.hh>
|
|
| 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.
|
| |
|
|
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 |
| |
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: