Public Member Functions |
Static Public Attributes |
Protected Member Functions |
List of all members
Curve::SegmentView Class Referencefinal
Inheritance diagram for Curve::SegmentView:
Public Member Functions | |
SegmentView (const SegmentModel *model, const Curve::Style &style, QGraphicsItem *parent) | |
const Id< SegmentModel > & | id () const |
int | type () const final override |
QRectF | boundingRect () const override |
QPainterPath | shape () const override |
QPainterPath | opaqueArea () const override |
bool | contains (const QPointF &pt) const override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
void | setModel (const SegmentModel *) |
const SegmentModel & | model () const |
void | setRect (const QRectF &theRect) |
void | setSelected (bool selected) |
void | enable () |
void | disable () |
void | setTween (bool b) |
void | contextMenuRequested (const QPoint &arg_1, const QPointF &arg_2) |
Static Public Attributes | |
static constexpr const int | Type = QGraphicsItem::UserType + 101 |
Protected Member Functions | |
void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) override |
The documentation for this class was generated from the following files:
- CurveSegmentView.hpp
- CurveSegmentView.cpp