VR-Forces Developer's Guide
 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 DtSpotReportStateComponentData;
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() override;
38 
40  virtual QIcon icon() override;
41 
44  virtual makVrv::DtQIconConfigurations qIconConfigurations() const override;
45 
47  virtual QString title() override;
48 
50  virtual const std::string& pageClassName() const override;
51 
53  static const std::string& thePageClassName();
54 
55  virtual DtInformationDialogPageLogic* createLogic() override;
56 
57  virtual void setHideReports(bool b);
58 
59  virtual void addReport(const DtSpotReportStateComponentData&);
60 
61  virtual void setMaximumNumberOfTrackReports(int);
63  {
64  return myMaximumNumberOfTrackReports;
65  }
66  virtual void spotReportsRemovedFromTimeout(int);
67 
68  protected:
69  virtual void activate() override;
70  virtual DtInformationDialogPage::ShowStatus setupGui(DtSimObjectReference s) override;
71  virtual void dateTimeFormatChanged();
72  virtual QString formatDateTime(time_t) const;
73 
74  protected slots:
75  virtual void reportChanged();
76 
77  protected:
80 
81  public:
84  QHBoxLayout* myReportLayout;
85  };
86 
89 
91  {
92  public:
94 
95  virtual ~DtExternalDataStatePageLogic() override;
96 
97  virtual void addDataItems(const makVrv::DtPageConfiguration::PagePathList& pathList) override;
98 
99  virtual void setShowDictionary(bool);
100  bool showDictionary() const
101  {
102  return myShowDictionary;
103  }
104 
105  virtual void setSelectedState(int);
106  int selectedState() const
107  {
108  return mySelectedState;
109  }
110 
111  virtual void connectState(DtSimObjectReference state);
112  virtual void activate(DtSimObjectReference) override;
113 
114  protected:
115  virtual void currentReportChanged();
116  virtual void updateSpotReports();
117  virtual void reportAdded(const DtSpotReportStateComponentData&);
118  virtual void maximumNumberOfTrackReportsChanged(int);
119  virtual void keepReportsForTimePeriodChanged(bool);
120  virtual void spotReportsRemovedFromTimeout(int);
121 
122  protected:
126  bool myForce;
127  };
128  }
129 }
QLabel * myLabel
Definition: spotReportStatePage.h:83
bool showDictionary() const
Definition: spotReportStatePage.h:100
std::list< DtPagePath > PagePathList
Definition: DtPageConfiguration.h:30
int maximumNumberOfTrackReports() const
Definition: spotReportStatePage.h:62
int selectedState() const
Definition: spotReportStatePage.h:106
Definition: spotReportListenerImplementation.h:28
bool myShowDictionary
Definition: spotReportStatePage.h:123
Contains makVrv::DtEntityStatePageLogic class.
int mySelectedState
Definition: spotReportStatePage.h:124
DtSpotReportListenerImplementation * mySpotReportListener
Definition: spotReportStatePage.h:125
Definition: DtPage.h:181
Contains makVrv::DtInformationDialogPage class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
0) Define the State Component Data. This struct replaces the legion stuff
Definition: spotReportStateComponent.h:25
Items added DtLocation - current location of entity DtSpeed - current speed of entity DtVelocity - cu...
Definition: entityStatePageLogic.h:30
int myMaximumNumberOfTrackReports
Definition: spotReportStatePage.h:78
makVrv::DtPageCreatorTemplate< DtSpotReportStatePage > DtSpotReportStatePageCreator
Definition: spotReportStatePage.h:88
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
makVrv::DtSignalConnectionManager myConnections
Definition: spotReportStatePage.h:79
ShowStatus
Definition: informationDialogPage.h:264
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
QComboBox * myReports
Definition: spotReportStatePage.h:82
QHBoxLayout * myReportLayout
Definition: spotReportStatePage.h:84

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)