QVISH 0.1
Public Slots | Public Member Functions | List of all members
TimerBar Class Reference

#include <TimerBar.hpp>

Inheritance diagram for TimerBar:

Public Slots

void animate_backward ()
 
void animate_forward ()
 
void animate_stop ()
 
void backward ()
 
void forward ()
 
void setFPS (int FramesPerSec)
 

Public Member Functions

void focusInEvent (QFocusEvent *) override
 
void focusOutEvent (QFocusEvent *) override
 
VTime getTime () const
 Get current time value.
 
void keyPressEvent (QKeyEvent *e) override
 
void mouseMoveEvent (QMouseEvent *M) override
 
void mousePressEvent (QMouseEvent *M) override
 
void setProgressBar (const VTime &T)
 Adjust the visual indicator.
 
void setTime (const VTime &TimeValue)
 Set and announce value.
 
 TimerBar (qVTimeLine *parent)
 
void timerEvent (QTimerEvent *) override
 
void valueChanged (const VTime &)
 Called whenever the time value is modified externally and the GUI elements need to be updated.
 

Detailed Description

Todo:
The implementation of the timer bar is very problematic. As of now, it sets the global time value based on mouse requests and internal timer events. However, objects (and the viewer) are updated by the scheduling request of the MetaViewer, at 30fps. Any change of the time value is only seen visible when the MetaViewer has performed the update. For slow operations, the display is thus out of synch with what the timer bar displays.

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