Inviwo 0.9.12-pre
Inviwo documentation
|
Graphical representation of a keyframe. More...
#include <keyframewidgetqt.h>
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 Keyframe & | getKeyframe () const |
Keyframe & | getKeyframe () |
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) | |
Observer & | operator= (Observer &&other) |
Observer & | operator= (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 | |
Keyframe & | keyframe_ |
bool | isEditing_ = false |
Protected Attributes inherited from inviwo::Observer | |
std::unordered_set< ObservableInterface * > | observables_ |
Graphical representation of a keyframe.
void inviwo::animation::KeyframeWidgetQt::lock | ( | ) |
Lock when editing keyframe from GUI
|
overrideprotectedvirtual |
Reimplemented from inviwo::animation::KeyframeObserver.