VR-Forces 4.1 Class Documentation
environmentSettingsDateAndTimeWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: vrfSceneSettingsDateAndTimeWidget.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
16 #include <vrvUtil/signalslib.h>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtAnalogClock;
24 }
25 
26 namespace makVrf
27 {
28  class DtEnvironmentSettingsDateAndTimeLogic;
29 
33  {
34  Q_OBJECT
35 
36  public:
37 
39  DtEnvironmentSettingsDateAndTimeWidget(makVrv::DtDe& de,QWidget* parent = 0, Qt::WindowFlags f = 0);
40 
43 
45  virtual void setupGui();
46 
48  virtual void setLogic(DtEnvironmentSettingsDateAndTimeLogic* logic);
49 
51  virtual void setDateAndTime( int year, int month, int day, int hour,
52  int minutes, double seconds);
53 
55  virtual void setTime( int hour, int minutes, double seconds);
56 
58  virtual void setTime(double secondsPastMidnight);
59 
61  virtual void getTime(int& hour, int& min, int& secs);
62 
64  virtual float getTime();
65 
67  virtual void setTimeScale( double timeScale);
68 
69  protected slots:
70 
72  void on_myCurrentTimeEdit_timeChanged(const QTime&);
73 
74  protected:
75 
79  QTimeEdit* myCurrentTimeEdit;
80  };
81 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)