Inviwo  0.9.10.1
Inviwo documentation
inviwo::ConnectionDragGraphicsItem Class Reference
+ Inheritance diagram for inviwo::ConnectionDragGraphicsItem:

Public Types

enum  { Type = UserType + ConnectionDragGraphicsType }
 
- Public Types inherited from inviwo::CurveGraphicsItem
enum  { Type = UserType + CurveGraphicsType }
 

Public Member Functions

 ConnectionDragGraphicsItem (ProcessorOutportGraphicsItem *outport, QPointF endPoint, QColor color=QColor(38, 38, 38))
 
virtual QPointF getStartPoint () const override
 
virtual QPointF getEndPoint () const override
 
void setEndPoint (QPointF endPoint)
 
void reactToPortHover (ProcessorInportGraphicsItem *inport)
 
ProcessorOutportGraphicsItemgetOutportGraphicsItem () const
 
virtual int type () const override
 
- Public Member Functions inherited from inviwo::CurveGraphicsItem
 CurveGraphicsItem (QColor color=QColor(38, 38, 38), QColor borderColor=Qt::black, QColor selectedBorderColor=Qt::darkRed)
 
virtual QPainterPath shape () const override
 
virtual QColor getColor () const
 
virtual void updateShape ()
 
virtual void setColor (QColor color)
 
void resetBorderColors ()
 
void setBorderColor (QColor borderColor)
 
void setSelectedBorderColor (QColor selectedBorderColor)
 
virtual void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override
 
virtual QRectF boundingRect () const override
 
virtual QPainterPath obtainCurvePath () const
 
virtual QPainterPath obtainCurvePath (QPointF startPoint, QPointF endPoint) const
 
- Public Member Functions inherited from inviwo::EditorGraphicsItem
 EditorGraphicsItem (QGraphicsItem *parent)
 
QPoint mapPosToSceen (QPointF pos) const
 
virtual void showToolTip (QGraphicsSceneHelpEvent *event)
 
void showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const
 

Protected Attributes

QPointF endPoint_
 
ProcessorOutportGraphicsItemoutport_
 
- Protected Attributes inherited from inviwo::CurveGraphicsItem
QColor color_
 
QColor borderColor_
 
QColor selectedBorderColor_
 
QPainterPath path_
 
QRectF rect_
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::EditorGraphicsItem
void showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const
 
NetworkEditorgetNetworkEditor () const
 

The documentation for this class was generated from the following files: