|
| DialogConnectionGraphicsItem (LinkDialogPropertyGraphicsItem *startProperty, LinkDialogPropertyGraphicsItem *endProperty, const PropertyLink &propertyLink) |
|
const PropertyLink & | getPropertyLink () const |
|
LinkDialogPropertyGraphicsItem * | getStartProperty () const |
|
LinkDialogPropertyGraphicsItem * | getEndProperty () const |
|
virtual QPointF | getStartPoint () const override |
|
virtual QPointF | getEndPoint () const override |
|
virtual QPainterPath | obtainCurvePath (QPointF startPoint, QPointF endPoint) const override |
|
virtual void | paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override |
|
| 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 int | type () const override |
|
virtual QRectF | boundingRect () const override |
|
virtual QPainterPath | obtainCurvePath () const |
|
| EditorGraphicsItem (QGraphicsItem *parent) |
|
QPoint | mapPosToSceen (QPointF pos) const |
|
virtual void | showToolTip (QGraphicsSceneHelpEvent *event) |
|
void | showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const |
|
|
enum | { Type = static_cast<int>(UserType) + static_cast<int>(CurveGraphicsType)
} |
|
void | showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const |
|
NetworkEditor * | getNetworkEditor () const |
|
QColor | color_ |
|
QColor | borderColor_ |
|
QColor | selectedBorderColor_ |
|
QPainterPath | path_ |
|
QRectF | rect_ |
|
QGraphicsTextItem * | infoLabel_ |
|
◆ getEndPoint()
virtual QPointF inviwo::DialogConnectionGraphicsItem::getEndPoint |
( |
| ) |
const |
|
overridevirtual |
◆ getStartPoint()
virtual QPointF inviwo::DialogConnectionGraphicsItem::getStartPoint |
( |
| ) |
const |
|
overridevirtual |
◆ obtainCurvePath()
virtual QPainterPath inviwo::DialogConnectionGraphicsItem::obtainCurvePath |
( |
QPointF | startPoint, |
|
|
QPointF | endPoint ) const |
|
overridevirtual |
◆ paint()
virtual void inviwo::DialogConnectionGraphicsItem::paint |
( |
QPainter * | p, |
|
|
const QStyleOptionGraphicsItem * | options, |
|
|
QWidget * | widget ) |
|
overridevirtual |
Overloaded paint method from QGraphicsItem. Here the actual representation is drawn.
Reimplemented from inviwo::CurveGraphicsItem.
The documentation for this class was generated from the following file:
- linkdialogcurvegraphicsitems.h