|
enum | { Type = static_cast<int>(UserType) + static_cast<int>(CurveGraphicsType)
} |
|
|
| CurveGraphicsItem (QColor color=QColor(38, 38, 38), QColor borderColor=Qt::black, QColor selectedBorderColor=Qt::darkRed) |
|
| CurveGraphicsItem (const CurveGraphicsItem &)=delete |
|
| CurveGraphicsItem (CurveGraphicsItem &&)=delete |
|
CurveGraphicsItem & | operator= (const CurveGraphicsItem &)=delete |
|
CurveGraphicsItem & | operator= (CurveGraphicsItem &&)=delete |
|
virtual QPointF | getStartPoint () const =0 |
|
virtual QPointF | getEndPoint () const =0 |
|
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 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 |
|
| EditorGraphicsItem (QGraphicsItem *parent) |
|
| EditorGraphicsItem (const EditorGraphicsItem &)=delete |
|
| EditorGraphicsItem (EditorGraphicsItem &&)=delete |
|
EditorGraphicsItem & | operator= (const EditorGraphicsItem &)=delete |
|
EditorGraphicsItem & | operator= (EditorGraphicsItem &&)=delete |
|
QPoint | mapPosToSceen (QPointF pos) const |
|
virtual void | showToolTip (QGraphicsSceneHelpEvent *event) |
|
void | showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const |
|
|
QColor | color_ |
|
QColor | borderColor_ |
|
QColor | selectedBorderColor_ |
|
QPainterPath | path_ |
|
QRectF | rect_ |
|
QGraphicsTextItem * | infoLabel_ |
|
|
void | showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const |
|
NetworkEditor * | getNetworkEditor () const |
|
◆ paint()
virtual void inviwo::CurveGraphicsItem::paint |
( |
QPainter * | p, |
|
|
const QStyleOptionGraphicsItem * | options, |
|
|
QWidget * | widget ) |
|
overridevirtual |
The documentation for this class was generated from the following file: