VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
spotReportStatePage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
15 
16 class QHBoxLayout;
17 class QComboBox;
18 class QLabel;
19 
20 namespace makVrf
21 {
22  class DtSpotReportListenerImplementation;
23  struct DtSpotReportState;
24 
25  namespace makVrfGuiObjectInformationQt
26  {
28  {
29  Q_OBJECT
30 
31  public:
32 
34  DtSpotReportStatePage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
35 
37  virtual ~DtSpotReportStatePage();
38 
40  virtual QIcon icon();
41 
43  virtual QString title();
44 
46  virtual const std::string& pageClassName() const;
47 
49  static const std::string& thePageClassName();
50 
51  virtual DtInformationDialogPageLogic* createLogic();
52 
53  virtual void setHideReports(bool b);
54 
55  virtual void addReport(const DtSpotReportState&);
56 
57  virtual void setMaximumNumberOfTrackReports(int);
59  {
60  return myMaximumNumberOfTrackReports;
61  }
62  virtual void spotReportsRemovedFromTimeout(int);
63 
64  protected:
65  virtual void activate();
67  virtual void dateTimeFormatChanged();
68  virtual QString formatDateTime(time_t) const;
69 
70  protected slots:
71  virtual void reportChanged();
72 
73  protected:
76 
77  public:
80  QHBoxLayout* myReportLayout;
81  };
82 
85 
87  {
88  public:
90 
92 
93  virtual void slot_onStateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
94  virtual void addDataItems(const makVrv::DtPageConfiguration::PagePathList& pathList);
95 
96  virtual void setShowDictionary(bool);
97  bool showDictionary() const
98  {
99  return myShowDictionary;
100  }
101 
102  virtual void setSelectedState(int);
103  int selectedState() const
104  {
105  return mySelectedState;
106  }
107 
108  virtual void connectState(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
109 
110  protected:
111  virtual void currentReportChanged();
112  virtual void reportAdded(const DtSpotReportState&);
113  virtual void maximumNumberOfTrackReportsChanged(int);
114  virtual void keepReportsForTimePeriodChanged(bool);
115  virtual void spotReportsRemovedFromTimeout(int);
116 
117  protected:
121  bool myForce;
122  };
123  }
124 }
QLabel * myLabel
Definition: spotReportStatePage.h:79
bool showDictionary() const
Definition: spotReportStatePage.h:97
std::list< DtPagePath > PagePathList
Definition: DtPageConfiguration.h:30
int maximumNumberOfTrackReports() const
Definition: spotReportStatePage.h:58
int selectedState() const
Definition: spotReportStatePage.h:103
Definition: spotReportListenerImplementation.h:24
bool myShowDictionary
Definition: spotReportStatePage.h:118
Contains makVrv::DtEntityStatePageLogic class.
int mySelectedState
Definition: spotReportStatePage.h:119
DtSpotReportListenerImplementation * mySpotReportListener
Definition: spotReportStatePage.h:120
Definition: DtPage.h:143
Contains makVrv::DtInformationDialogPage class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Items added DtLocation - current location of entity DtSpeed - current speed of entity DtVelocity - cu...
Definition: entityStatePageLogic.h:30
int myMaximumNumberOfTrackReports
Definition: spotReportStatePage.h:74
makVrv::DtPageCreatorTemplate< DtSpotReportStatePage > DtSpotReportStatePageCreator
Definition: spotReportStatePage.h:84
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:25
Definition: spotReportState.h:42
makVrv::DtSignalConnectionManager myConnections
Definition: spotReportStatePage.h:75
ShowStatus
Definition: informationDialogPage.h:265
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QComboBox * myReports
Definition: spotReportStatePage.h:78
QHBoxLayout * myReportLayout
Definition: spotReportStatePage.h:80

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)