AGX Dynamics  2.37.3.2
agxQt::PlaybackControllerWidget Class Reference

Controller for playback. More...

#include <PlaybackController.h>

+ Inheritance diagram for agxQt::PlaybackControllerWidget:

Public Types

enum  ControllerState { PLAY, PAUSED }
 

Public Slots

void slotInitNewPlayback (float timeStart, float timeEnd, uint maxFrames)
 
void slotInitNewSimulation ()
 
void slotPushDecrementSpeed ()
 
void slotPushIncrementSpeed ()
 
void slotPushPlayPause ()
 
void slotPushStepBack ()
 
void slotPushStepForward ()
 
void slotSetEnableRecordingNotifier (bool enable)
 
void slotSetPause ()
 
void slotSetPlay ()
 
void slotTimeChanged (float time)
 

Signals

void signalEnableJournalLoop (bool enable)
 
void signalPause ()
 
void signalPlay ()
 
void signalSliderTimeJump (float time)
 
void signalSpeedChanged (uint speed)
 
void signalStepBack ()
 
void signalStepForward ()
 
void signalStop ()
 

Public Member Functions

 PlaybackControllerWidget (QWidget *parent=0)
 
virtual ~PlaybackControllerWidget ()
 
bool eventFilter (QObject *watched, QEvent *event)
 
void setEnable (bool enable)
 

Protected Member Functions

void connectSignals ()
 
QString constructHoverValueString ()
 
float getCurrentTimeFromPlaybackSliderValue (int val)
 
float getSingleStepValue ()
 
void init ()
 
void setControllerState (ControllerState state)
 
void setEnablePlaybackGui (bool enable)
 
void updateSpeedButtonLabel ()
 
void updateTimeLabels ()
 

Detailed Description

Controller for playback.

Definition at line 35 of file PlaybackController.h.

Member Enumeration Documentation

◆ ControllerState

Enumerator
PLAY 
PAUSED 

Definition at line 40 of file PlaybackController.h.

Constructor & Destructor Documentation

◆ PlaybackControllerWidget()

agxQt::PlaybackControllerWidget::PlaybackControllerWidget ( QWidget *  parent = 0)
explicit

◆ ~PlaybackControllerWidget()

virtual agxQt::PlaybackControllerWidget::~PlaybackControllerWidget ( )
virtual

Member Function Documentation

◆ connectSignals()

void agxQt::PlaybackControllerWidget::connectSignals ( )
protected

◆ constructHoverValueString()

QString agxQt::PlaybackControllerWidget::constructHoverValueString ( )
protected

◆ eventFilter()

bool agxQt::PlaybackControllerWidget::eventFilter ( QObject *  watched,
QEvent *  event 
)

◆ getCurrentTimeFromPlaybackSliderValue()

float agxQt::PlaybackControllerWidget::getCurrentTimeFromPlaybackSliderValue ( int  val)
protected

◆ getSingleStepValue()

float agxQt::PlaybackControllerWidget::getSingleStepValue ( )
protected

◆ init()

void agxQt::PlaybackControllerWidget::init ( )
protected

◆ setControllerState()

void agxQt::PlaybackControllerWidget::setControllerState ( ControllerState  state)
protected

◆ setEnable()

void agxQt::PlaybackControllerWidget::setEnable ( bool  enable)

◆ setEnablePlaybackGui()

void agxQt::PlaybackControllerWidget::setEnablePlaybackGui ( bool  enable)
protected

◆ signalEnableJournalLoop

void agxQt::PlaybackControllerWidget::signalEnableJournalLoop ( bool  enable)
signal

◆ signalPause

void agxQt::PlaybackControllerWidget::signalPause ( )
signal

◆ signalPlay

void agxQt::PlaybackControllerWidget::signalPlay ( )
signal

◆ signalSliderTimeJump

void agxQt::PlaybackControllerWidget::signalSliderTimeJump ( float  time)
signal

◆ signalSpeedChanged

void agxQt::PlaybackControllerWidget::signalSpeedChanged ( uint  speed)
signal

◆ signalStepBack

void agxQt::PlaybackControllerWidget::signalStepBack ( )
signal

◆ signalStepForward

void agxQt::PlaybackControllerWidget::signalStepForward ( )
signal

◆ signalStop

void agxQt::PlaybackControllerWidget::signalStop ( )
signal

◆ slotInitNewPlayback

void agxQt::PlaybackControllerWidget::slotInitNewPlayback ( float  timeStart,
float  timeEnd,
uint  maxFrames 
)
slot

◆ slotInitNewSimulation

void agxQt::PlaybackControllerWidget::slotInitNewSimulation ( )
slot

◆ slotPushDecrementSpeed

void agxQt::PlaybackControllerWidget::slotPushDecrementSpeed ( )
slot

◆ slotPushIncrementSpeed

void agxQt::PlaybackControllerWidget::slotPushIncrementSpeed ( )
slot

◆ slotPushPlayPause

void agxQt::PlaybackControllerWidget::slotPushPlayPause ( )
slot

◆ slotPushStepBack

void agxQt::PlaybackControllerWidget::slotPushStepBack ( )
slot

◆ slotPushStepForward

void agxQt::PlaybackControllerWidget::slotPushStepForward ( )
slot

◆ slotSetEnableRecordingNotifier

void agxQt::PlaybackControllerWidget::slotSetEnableRecordingNotifier ( bool  enable)
slot

◆ slotSetPause

void agxQt::PlaybackControllerWidget::slotSetPause ( )
slot

◆ slotSetPlay

void agxQt::PlaybackControllerWidget::slotSetPlay ( )
slot

◆ slotTimeChanged

void agxQt::PlaybackControllerWidget::slotTimeChanged ( float  time)
slot

◆ updateSpeedButtonLabel()

void agxQt::PlaybackControllerWidget::updateSpeedButtonLabel ( )
protected

◆ updateTimeLabels()

void agxQt::PlaybackControllerWidget::updateTimeLabels ( )
protected

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