Public Member Functions | Protected Slots | List of all members
pqTimelineScrollbar Class Reference

A widget offering a scrollbar useful to interact with the timeline from the animation model. More...

#include <pqTimelineScrollbar.h>

Inherits QWidget.

Public Member Functions

 pqTimelineScrollbar (QWidget *p=nullptr)
 
 ~pqTimelineScrollbar () override=default
 
void setAnimationModel (pqAnimationModel *model)
 connects to an existing animation model if the parameter is nullptr, any already existing connection is removed More...
 
void linkSpacing (QObject *spaceNotifier)
 connects to an existing spacing constraint notifier if the parameter is nullptr, any already existing connection is removed More...
 

Protected Slots

void updateTimeScrollbar ()
 called when the offset of the time scrollbar must be updated More...
 
void updateTimeScrollbarOffset (int)
 called when the time scrollbar must be updated More...
 
void setTimeZoom (int)
 called when the time scrollbar is being used in the GUI More...
 

Detailed Description

A widget offering a scrollbar useful to interact with the timeline from the animation model.

Definition at line 49 of file pqTimelineScrollbar.h.

Constructor & Destructor Documentation

◆ pqTimelineScrollbar()

pqTimelineScrollbar::pqTimelineScrollbar ( QWidget *  p = nullptr)

◆ ~pqTimelineScrollbar()

pqTimelineScrollbar::~pqTimelineScrollbar ( )
overridedefault

Member Function Documentation

◆ setAnimationModel()

void pqTimelineScrollbar::setAnimationModel ( pqAnimationModel model)

connects to an existing animation model if the parameter is nullptr, any already existing connection is removed

◆ linkSpacing()

void pqTimelineScrollbar::linkSpacing ( QObject *  spaceNotifier)

connects to an existing spacing constraint notifier if the parameter is nullptr, any already existing connection is removed

◆ updateTimeScrollbar

void pqTimelineScrollbar::updateTimeScrollbar ( )
protectedslot

called when the offset of the time scrollbar must be updated

◆ updateTimeScrollbarOffset

void pqTimelineScrollbar::updateTimeScrollbarOffset ( int  )
protectedslot

called when the time scrollbar must be updated

◆ setTimeZoom

void pqTimelineScrollbar::setTimeZoom ( int  )
protectedslot

called when the time scrollbar is being used in the GUI


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