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 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 
44  virtual makVrv::DtQIconConfigurations qIconConfigurations() const;
45 
47  virtual QString title();
48 
50  virtual const std::string& pageClassName() const;
51 
53  static const std::string& thePageClassName();
54 
55  virtual DtInformationDialogPageLogic* createLogic();
56 
57  virtual void setHideReports(bool b);
58 
59  virtual void addReport(const DtSpotReportState&);
60 
61  virtual void setMaximumNumberOfTrackReports(int);
63  {
64  return myMaximumNumberOfTrackReports;
65  }
66  virtual void spotReportsRemovedFromTimeout(int);
67 
68  protected:
69  virtual void activate();
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 
96 
97  virtual void slot_onStateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
98  virtual void addDataItems(const makVrv::DtPageConfiguration::PagePathList& pathList);
99 
100  virtual void setShowDictionary(bool);
101  bool showDictionary() const
102  {
103  return myShowDictionary;
104  }
105 
106  virtual void setSelectedState(int);
107  int selectedState() const
108  {
109  return mySelectedState;
110  }
111 
112  virtual void connectState(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
113 
114  protected:
115  virtual void currentReportChanged();
116  virtual void reportAdded(const DtSpotReportState&);
117  virtual void maximumNumberOfTrackReportsChanged(int);
118  virtual void keepReportsForTimePeriodChanged(bool);
119  virtual void spotReportsRemovedFromTimeout(int);
120 
121  protected:
125  bool myForce;
126  };
127  }
128 }
QLabel * myLabel
Definition: spotReportStatePage.h:83
bool showDictionary() const
Definition: spotReportStatePage.h:101
std::list< DtPagePath > PagePathList
Definition: DtPageConfiguration.h:30
int maximumNumberOfTrackReports() const
Definition: spotReportStatePage.h:62
int selectedState() const
Definition: spotReportStatePage.h:107
Definition: spotReportListenerImplementation.h:24
bool myShowDictionary
Definition: spotReportStatePage.h:122
Contains makVrv::DtEntityStatePageLogic class.
int mySelectedState
Definition: spotReportStatePage.h:123
DtSpotReportListenerImplementation * mySpotReportListener
Definition: spotReportStatePage.h:124
Definition: DtPage.h:150
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:78
makVrv::DtPageCreatorTemplate< DtSpotReportStatePage > DtSpotReportStatePageCreator
Definition: spotReportStatePage.h:88
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
Definition: spotReportState.h:42
makVrv::DtSignalConnectionManager myConnections
Definition: spotReportStatePage.h:79
ShowStatus
Definition: informationDialogPage.h:266
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:72
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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)