VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simulationTimeScaleWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
15 namespace makVrv
16 {
17  class DtDe;
18 }
19 
20 namespace makVrf
21 {
22  class DtVrfBackendState;
23  class DtSimulationTimeScaleWidgetInterface;
24 
26  {
27 
28  public:
29 
32 
35 
36  virtual void setupGui();
37 
39  virtual void setTimeMultiplier(double, bool sendMessage = true);
40  virtual double timeMultiplier() const;
41 
43  virtual void setTimeMultiplier(int);
44 
46  virtual void setDisplayOnly(bool);
47 
48  virtual void setRange(double low, double high);
49 
50  protected:
51  virtual void slot_selectedBackendChanged();
52  virtual void slot_allBackendsAboutToBeRemoved();
53  virtual void slot_backendUpdated(const DtVrfBackendState&, int);
54 
55  virtual int convertToTick(double) const;
56  virtual int convertToSliderTick(double d) const;
57  virtual double convertToMultiplier(int) const;
58 
59  protected:
63  double myLowRange;
64  double myHighRange;
67  };
68 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)