|
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
|
virtual QRectF | boundingRect () const override |
|
virtual QPainterPath | shape () const override |
|
TFMoveMode | moveMode () const |
|
virtual int | zLevel () const override |
|
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
|
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
|
virtual void | onTFPrimitiveChange (const TFPrimitive &p) override |
|
QPointF | constrainPosToXorY (QPointF pos) const |
|
void | setHovered (bool hover) |
|
void | updateLabel () |
|
void | addObservation (ObservableInterface *observable) |
|
|
static constexpr int | tfZLevel = 10 |
|
|
TFPrimitive & | data_ |
|
bool | isEditing_ |
|
bool | hovered_ |
|
std::unique_ptr< QGraphicsSimpleTextItem > | label_ |
|
QPointF | cachedPosition_ |
| used for restricting to horizontal/vertical movement
|
|
std::unordered_set< ObservableInterface * > | observables_ |
|
◆ itemChange()
virtual QVariant inviwo::TFEditorControlPoint::itemChange |
( |
GraphicsItemChange | change, |
|
|
const QVariant & | value ) |
|
overrideprotectedvirtual |
◆ left()
◆ right()
◆ setLeft()
◆ setRight()
◆ zLevel()
virtual int inviwo::TFEditorControlPoint::zLevel |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: