#include <TimeWidget.hh>
Inherits QWidget.
 | 
| void  | SetFPS (QString _string) | 
|   | A signal used to set the avg fps line edit.  More...
  | 
|   | 
| void  | SetIterations (QString _string) | 
|   | A signal used to set the iterations line edit.  More...
  | 
|   | 
| void  | SetRealTime (QString _string) | 
|   | A signal used to set the real time line edit.  More...
  | 
|   | 
| void  | SetSimTime (QString _string) | 
|   | A signal used to set the sim time line edit.  More...
  | 
|   | 
§ TimeWidget()
Constructor. 
- Parameters
 - 
  
    | [in] | _parent | Parent widget, commonly a TimePanel.  | 
  
   
 
 
§ ~TimeWidget()
§ EmitSetFPS()
      
        
          | void EmitSetFPS  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
        
      
 
Emit a signal used to set the FPS line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of average FPS.  | 
  
   
 
 
§ EmitSetIterations()
      
        
          | void EmitSetIterations  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
        
      
 
Emit a signal used to set the iterations line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of iterations.  | 
  
   
 
 
§ EmitSetRealTime()
      
        
          | void EmitSetRealTime  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
        
      
 
Emit a signal used to set the real time line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of real time.  | 
  
   
 
 
§ EmitSetSimTime()
      
        
          | void EmitSetSimTime  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
        
      
 
Emit a signal used to set the sim time line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of sim time.  | 
  
   
 
 
§ IsPaused()
Returns if the simulation is displayed as paused. 
- Returns
 - True if paused, false otherwise. 
 
 
 
§ OnStepValueChanged
  
  
      
        
          | void OnStepValueChanged  | 
          ( | 
          int  | 
          _value | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Qt call back when the step value in the spinbox changed. 
- Parameters
 - 
  
    | [in] | _value | New step value.  | 
  
   
 
 
§ OnTimeReset
QT callback when the reset time button is pressed. 
 
 
§ SetFPS
  
  
      
        
          | void SetFPS  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
A signal used to set the avg fps line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of avg fps.  | 
  
   
 
 
§ SetIterations
  
  
      
        
          | void SetIterations  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
A signal used to set the iterations line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of iterations.  | 
  
   
 
 
§ SetPaused()
      
        
          | void SetPaused  | 
          ( | 
          bool  | 
          _paused | ) | 
           | 
        
      
 
Set whether to display the simulation as paused. 
- Parameters
 - 
  
    | [in] | _paused | True to display the simulation as paused. False indicates the simulation is running  | 
  
   
 
 
§ SetPercentRealTimeEdit()
      
        
          | void SetPercentRealTimeEdit  | 
          ( | 
          QString  | 
          _text | ) | 
           | 
        
      
 
A signal used to set the sim time line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of real time factor.  | 
  
   
 
 
§ SetRealTime
  
  
      
        
          | void SetRealTime  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
A signal used to set the real time line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of real time.  | 
  
   
 
 
§ SetSimTime
  
  
      
        
          | void SetSimTime  | 
          ( | 
          QString  | 
          _string | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
A signal used to set the sim time line edit. 
- Parameters
 - 
  
    | [in] | _string | String representation of sim time.  | 
  
   
 
 
§ ShowFPS()
      
        
          | void ShowFPS  | 
          ( | 
          bool  | 
          _show | ) | 
           | 
        
      
 
Show fps. 
- Parameters
 - 
  
    | [in] | _show | True to show the fps widget.  | 
  
   
 
 
§ ShowIterations()
      
        
          | void ShowIterations  | 
          ( | 
          bool  | 
          _show | ) | 
           | 
        
      
 
Show the iterations. 
- Parameters
 - 
  
    | [in] | _show | True to show the iterations widget.  | 
  
   
 
 
§ ShowRealTime()
      
        
          | void ShowRealTime  | 
          ( | 
          bool  | 
          _show | ) | 
           | 
        
      
 
Show real time. 
- Parameters
 - 
  
    | [in] | _show | True to display real time.  | 
  
   
 
 
§ ShowRealTimeFactor()
      
        
          | void ShowRealTimeFactor  | 
          ( | 
          bool  | 
          _show | ) | 
           | 
        
      
 
Show real time factor. 
- Parameters
 - 
  
    | [in] | _show | True to display real time factor.  | 
  
   
 
 
§ ShowSimTime()
      
        
          | void ShowSimTime  | 
          ( | 
          bool  | 
          _show | ) | 
           | 
        
      
 
Show sim time. 
- Parameters
 - 
  
    | [in] | _show | True to display sim time.  | 
  
   
 
 
§ ShowStepWidget()
      
        
          | void ShowStepWidget  | 
          ( | 
          bool  | 
          _show | ) | 
           | 
        
      
 
Show the step widget. 
- Parameters
 - 
  
    | [in] | _show | True to show the step widget.  | 
  
   
 
 
The documentation for this class was generated from the following file: