Inviwo  0.9.10.1
Inviwo documentation
inviwo::animation::KeyframeWidgetQt Class Reference

Graphical representation of a keyframe. More...

#include <keyframewidgetqt.h>

+ Inheritance diagram for inviwo::animation::KeyframeWidgetQt:

Public Types

enum  { Type = UserType + static_cast<int>(ItemTypes::Keyframe) }
 

Public Member Functions

 KeyframeWidgetQt (Keyframe &keyframe, QGraphicsItem *parent)
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *options, QWidget *widget) override
 
const KeyframegetKeyframe () const
 
KeyframegetKeyframe ()
 
void lock ()
 
void unlock ()
 
bool islocked () const
 
virtual int type () const override
 
- Public Member Functions inherited from inviwo::animation::KeyframeObserver
virtual void onKeyframeSelectionChanged (Keyframe *)
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 

Protected Member Functions

virtual void onKeyframeTimeChanged (Keyframe *key, Seconds oldTime) override
 
virtual QRectF boundingRect () const override
 
QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Protected Attributes

Keyframekeyframe_
 
bool isEditing_ = false
 
- Protected Attributes inherited from inviwo::Observer
ObservableSet observables_
 

Additional Inherited Members

- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 

Detailed Description

Graphical representation of a keyframe.

Member Function Documentation

◆ lock()

void inviwo::animation::KeyframeWidgetQt::lock ( )

Lock when editing keyframe from GUI


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