Developer Documentation
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

GraphicsScenescene_
 

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: