#include <Plugin-VSI/scene/trash.hh>
|
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 63 of file trash.hh.
◆ Trash()
VSI::Trash::Trash |
( |
GraphicsScene * |
_scene, |
|
|
QGraphicsItem * |
_parent |
|
) |
| |
Constructor.
Definition at line 66 of file trash.cc.
◆ ~Trash()
Destructor.
Definition at line 80 of file trash.cc.
◆ activate()
void VSI::Trash::activate |
( |
| ) |
|
Makes the trash opaque (will be called of an element is moved above this widget)
Definition at line 119 of file trash.cc.
◆ deactivate()
void VSI::Trash::deactivate |
( |
| ) |
|
Makes the trash transparent (will be called of an element is moved away from this widget)
Definition at line 127 of file trash.cc.
◆ hoverEnterEvent()
void VSI::Trash::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protectedvirtual |
◆ hoverLeaveEvent()
void VSI::Trash::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
_event | ) |
|
|
protectedvirtual |
◆ mousePressEvent()
void VSI::Trash::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protectedvirtual |
◆ setGeometry()
void VSI::Trash::setGeometry |
( |
const QRectF & |
_rect | ) |
|
|
virtual |
Sets the geometry.
Definition at line 135 of file trash.cc.
◆ sizeHint()
QSizeF VSI::Trash::sizeHint |
( |
Qt::SizeHint |
_which, |
|
|
const QSizeF & |
_constraint = QSizeF() |
|
) |
| const |
|
protectedvirtual |
◆ scene_
The documentation for this class was generated from the following files: