Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::DialogCurveGraphicsItem Class Reference
+ Inheritance diagram for inviwo::DialogCurveGraphicsItem:

Public Types

enum  { Type = static_cast<int>(UserType) + static_cast<int>(LinkDialogCurveGraphicsItemType) }
 
- Public Types inherited from inviwo::CurveGraphicsItem
enum  { Type = static_cast<int>(UserType) + static_cast<int>(CurveGraphicsType) }
 

Public Member Functions

 DialogCurveGraphicsItem (QPointF startPoint, QPointF endPoint, QColor color=QColor(38, 38, 38))
 
int type () const override
 
virtual QPointF getStartPoint () const override
 
virtual QPointF getEndPoint () const override
 
void setStartPoint (QPointF startPoint)
 
void setEndPoint (QPointF endPoint)
 
virtual QPainterPath obtainCurvePath (QPointF startPoint, QPointF endPoint) 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)
 
void setHoverInfo (const QString &info)
 
void resetHoverInfo ()
 
virtual void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override
 
virtual QRectF boundingRect () const override
 
virtual QPainterPath obtainCurvePath () 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 startPoint_
 
QPointF endPoint_
 
- Protected Attributes inherited from inviwo::CurveGraphicsItem
QColor color_
 
QColor borderColor_
 
QColor selectedBorderColor_
 
QPainterPath path_
 
QRectF rect_
 
QGraphicsTextItem * infoLabel_
 

Additional Inherited Members

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

Member Function Documentation

◆ getEndPoint()

virtual QPointF inviwo::DialogCurveGraphicsItem::getEndPoint ( ) const
overridevirtual

◆ getStartPoint()

virtual QPointF inviwo::DialogCurveGraphicsItem::getStartPoint ( ) const
overridevirtual

◆ obtainCurvePath()

virtual QPainterPath inviwo::DialogCurveGraphicsItem::obtainCurvePath ( QPointF startPoint,
QPointF endPoint ) const
overridevirtual

Reimplemented from inviwo::CurveGraphicsItem.

◆ type()

int inviwo::DialogCurveGraphicsItem::type ( ) const
inlineoverridevirtual

Reimplemented from inviwo::CurveGraphicsItem.


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