VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scenarioEventToolbar.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 
15 #include <vrvCoreQt/DtToolbar.h>
18 #include <vrvCore/DtUniqueID.h>
19 
20 #include <QtWidgets/QWidget>
21 
22 class QHBoxLayout;
23 class QLabel;
24 
25 namespace makVrv
26 {
27  class DtDe;
28 }
29 
30 class QTimer;
31 
32 namespace makVrf
33 {
38  {
39  public:
40 
43 
45  virtual ~DtScenarioEventToolbar();
46 
48  virtual QToolBar* createToolbar(makVrv::DtDe&, QWidget* parent);
49 
50  };
51 
55  {
56  Q_OBJECT
57  public:
59  DtScenarioEventWidget( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
60 
62  virtual ~DtScenarioEventWidget();
63 
64  protected:
66  virtual void setupUi();
67 
69  virtual void reset();
70 
72  virtual void display(const QString&);
73 
76  virtual void mouseReleaseEvent(QMouseEvent*);
77 
78  protected:
79  void init();
80  virtual void setupEvent();
81  virtual void queueSetupEvent();
82 
83  protected slots:
84  virtual void updateEventTime();
85 
86  public:
87  QHBoxLayout* myMainLayout;
90 
91  protected:
95 
96  double myRecordedTod;
97  double myDT;
98  double myLastSimTime;
101  };
102 
104  {
105  public:
107 
108  virtual ~DtScenarioEventWidgetBuilder();
109 
110  virtual QWidget* create( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
111  };
112 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)