Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
VSI::Trash Class Reference

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

Inheritance diagram for VSI::Trash:

Public Member Functions

 Trash (GraphicsScene *_scene, QGraphicsItem *_parent)
 ~Trash ()
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


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: