Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::AnimationEditorQt Class Reference
+ Inheritance diagram for inviwo::animation::AnimationEditorQt:

Public Member Functions

 AnimationEditorQt (AnimationController &controller, TrackWidgetQtFactory &widgetFactory, std::function< void(std::string_view, std::chrono::milliseconds)> showText)
 
void onAnimationChanged (AnimationController *, Animation *oldAnim, Animation *newAnim) override
 
- Public Member Functions inherited from inviwo::animation::AnimationObserver
virtual void onNameChanged (Animation *)
 
- 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 ()
 
- Public Member Functions inherited from inviwo::animation::AnimationControllerObserver
virtual void onStateChanged (AnimationController *, AnimationState, AnimationState)
 
virtual void onTimeChanged (AnimationController *, Seconds, Seconds)
 

Protected Member Functions

void updateSceneRect ()
 
virtual void onFirstMoved () override
 
virtual void onLastMoved () override
 
virtual void onTrackAdded (Track *track) override
 
virtual void onTrackRemoved (Track *track) override
 
virtual void keyPressEvent (QKeyEvent *event) override
 
void dragEnterEvent (QGraphicsSceneDragDropEvent *event) override
 
void dragLeaveEvent (QGraphicsSceneDragDropEvent *event) override
 
void dragMoveEvent (QGraphicsSceneDragDropEvent *event) override
 
void dropEvent (QGraphicsSceneDragDropEvent *event) override
 
std::unique_ptr< TrackWidgetQtcreateTrackWidget (Track &track) const
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Protected Attributes

AnimationControllercontroller_
 
TrackWidgetQtFactorywidgetFactory_
 
std::unordered_map< Track *, std::unique_ptr< TrackWidgetQt > > tracks_
 
QGraphicsLineItem * dropIndicatorLine
 
std::function< void(std::string_view, std::chrono::milliseconds)> showText_
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Member Function Documentation

◆ onAnimationChanged()

void inviwo::animation::AnimationEditorQt::onAnimationChanged ( AnimationController * ,
Animation * oldAnim,
Animation * newAnim )
overridevirtual

◆ onFirstMoved()

virtual void inviwo::animation::AnimationEditorQt::onFirstMoved ( )
overrideprotectedvirtual

◆ onLastMoved()

virtual void inviwo::animation::AnimationEditorQt::onLastMoved ( )
overrideprotectedvirtual

◆ onTrackAdded()

virtual void inviwo::animation::AnimationEditorQt::onTrackAdded ( Track * track)
overrideprotectedvirtual

◆ onTrackRemoved()

virtual void inviwo::animation::AnimationEditorQt::onTrackRemoved ( Track * track)
overrideprotectedvirtual

Member Data Documentation

◆ dropIndicatorLine

QGraphicsLineItem* inviwo::animation::AnimationEditorQt::dropIndicatorLine
protected

Indicator line for the drag&drop of properties. Shows a timeline indicating where the item will be dropped. Manipulated in the drag* and drop* functions.


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