MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrTrafficAnalyzerPrefPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2012 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrTrafficAnalyzerPrefPage_H_
10 #define lgrTrafficAnalyzerPrefPage_H_
11 
12 #if DtHLA
13 
14 #include <lgrSimGui/lgrSimGui.h>
15 #include <lgrGui/preferencesPage.h>
16 #include <commonWidgets/preciseTimeEdit.h>
17 #include <vlutil/vlString.h>
18 
19 class QLabel;
20 class QPushButton;
21 class QLineEdit;
22 class QComboBox;
23 class QCheckBox;
24 class QSpinBox;
25 class DtDatatypeViewer;
26 class DtDelimiterViewer;
28 class DtDatatypeManager;
29 class DtOMTTree;
31 
32 namespace MAKLogger
33 {
34  class DtLgrFullInterface;
35  class DtLgrGuiModel;
36 
40  {
41  Q_OBJECT
42 
43  public:
44 
47  DtLgrGuiModel* model, QWidget* parent, Qt::WindowFlags f = 0);
48 
51 
53  virtual QIcon icon();
54 
56  virtual QString title();
57 
59  virtual const std::string& pageClassName() const;
60 
62  static const std::string& thePageClassName();
63 
65  virtual bool saveTaConfiguration() const;
66 
68  virtual void load();
69 
71  virtual void accept();
72 
74  virtual void reject();
75 
78  {
80  DtAlternateCoordSys
81  };
82 
83  public slots:
84 
85  void editDelimiters();
86  void editDatatypes();
87 
88  void acceptDelimiters();
89  void rejectDelimiters();
90  void acceptDatatypes();
91  void rejectDatatypes();
92 
95  void checkTrafficAnalyzerEnabled(bool connected);
96 
97  protected:
98 
100  virtual void activate();
101 
103  virtual void deactivate();
104 
105  protected:
106 
109 
112 
115 
116  QCheckBox* myEnableCheckBox;
117 
119 
122 
125 
128 
131 
133  QPushButton* myDelimsEditButton;
134 
136  QPushButton* myDatatypesEditButton;
137 
140 
143 
146 
149 
150  //Pointers - Not owned by this class
154 
155  static const QString theEnableToolTip();
156  static const QString theSaveConfigToolTip();
157  static const QString theMaxInteractionsToolTip();
158  static const QString theDefaultEnumSizeToolTip();
159  static const QString theFloatPrecToolTip();
160  static const QString theDefaultDelimToolTip();
161  static const QString theDelimsToolTip();
162  static const QString theDelimsDisabledToolTip();
163  static const QString theDatatypesToolTip();
164  static const QString theDatatypesDisabledToolTip();
165  static const QString theLocationCoordToolTip();
166  static const QString theOrientationCoordToolTip();
167  static const QString theVelocityCoordToolTip();
168  static const QString theEntityTypeCoordToolTip();
169  };
170 
171 }
172 #endif
173 #endif
174 
175 
DtLgrGuiModel * myModel
Definition: lgrTrafficAnalyzerPrefPage.h:108
QDialog * myDelimiterDialog
Definition: lgrTrafficAnalyzerPrefPage.h:113
Contains DtPage class.
QDialog * myDatatypeDialog
Definition: lgrTrafficAnalyzerPrefPage.h:110
QLineEdit * myDefaultDelimLineEdit
Definition: lgrTrafficAnalyzerPrefPage.h:130
QLabel * myVelocityCoordLabel
Definition: lgrTrafficAnalyzerPrefPage.h:144
QLabel * myDatatypesLabel
Definition: lgrTrafficAnalyzerPrefPage.h:135
The Traffic Analyzer configuration page for the preferences dialog.
Definition: lgrTrafficAnalyzerPrefPage.h:39
QLabel * myMaxInteractionsLabel
Definition: lgrTrafficAnalyzerPrefPage.h:120
QPushButton * myDelimsEditButton
Definition: lgrTrafficAnalyzerPrefPage.h:133
const DtLgrFullInterface * myInterface
Definition: lgrTrafficAnalyzerPrefPage.h:107
QLabel * myDelimsLabel
Definition: lgrTrafficAnalyzerPrefPage.h:132
DtDatatypeViewer * myDatatypeViewer
Definition: lgrTrafficAnalyzerPrefPage.h:111
QSpinBox * myFloatPrecSpinBox
Definition: lgrTrafficAnalyzerPrefPage.h:127
The page is a single widget component which is viewed in a page collection.
Definition: preferencesPage.h:19
This class handles the conversion between a byte stream and an English readable view of the data in a...
Definition: datatypeManager.h:41
Defines IMPORT/EXPORT macros for lgrSimGui library.
Definition: lgrTrafficAnalyzerPrefPage.h:79
The logger GUI&#39;s model.
Definition: lgrGuiModel.h:56
QComboBox * myOrientationCoordComboBox
Definition: lgrTrafficAnalyzerPrefPage.h:142
Utility class which provides access to multiple interfaces.
Definition: lgrFullInterface.h:25
QComboBox * myEntityTypeCoordComboBox
Definition: lgrTrafficAnalyzerPrefPage.h:148
DtTrafficAnalyzerConfig * myConfigFile
Definition: lgrTrafficAnalyzerPrefPage.h:151
DtCoordSysOption
Enumeration to specify which attribute coordinate system to use.
Definition: lgrTrafficAnalyzerPrefPage.h:77
Definition: trafficAnalyzerConfig.h:23
QLabel * myDefaultDelimLabel
Definition: lgrTrafficAnalyzerPrefPage.h:129
QSpinBox * myDefaultEnumSizeSpinBox
Definition: lgrTrafficAnalyzerPrefPage.h:124
QLabel * myDefaultEnumSizeLabel
Definition: lgrTrafficAnalyzerPrefPage.h:123
DtOMTTree * myOMTTree
Definition: lgrTrafficAnalyzerPrefPage.h:153
Definition: delimiterViewer.h:32
Definition: datatypeViewer.h:30
QComboBox * myLocationCoordComboBox
Definition: lgrTrafficAnalyzerPrefPage.h:139
QCheckBox * myEnableCheckBox
Definition: lgrTrafficAnalyzerPrefPage.h:116
QLabel * myOrientationCoordLabel
Definition: lgrTrafficAnalyzerPrefPage.h:141
QCheckBox * mySaveConfigurationCheckBox
Definition: lgrTrafficAnalyzerPrefPage.h:118
QLabel * myLocationCoordLabel
Definition: lgrTrafficAnalyzerPrefPage.h:138
Complex datatypes are a OMT 1.3 construct that merges arrays, variants, and fixed into one monstrous ...
Definition: complexDatatypeNode.h:23
A tree using the an OMT File information.
Definition: omtTree.h:58
#define DT_DLL_LGRSIMGUI
Definition: lgrSimGui.h:21
DtDelimiterViewer * myDelimiterViewer
Definition: lgrTrafficAnalyzerPrefPage.h:114
QComboBox * myVelocityCoordComboBox
Definition: lgrTrafficAnalyzerPrefPage.h:145
QPushButton * myDatatypesEditButton
Definition: lgrTrafficAnalyzerPrefPage.h:136
QSpinBox * myMaxInteractionsSpinBox
Definition: lgrTrafficAnalyzerPrefPage.h:121
QLabel * myFloatPrecLabel
Definition: lgrTrafficAnalyzerPrefPage.h:126
QLabel * myEntityTypeCoordLabel
Definition: lgrTrafficAnalyzerPrefPage.h:147
DtDatatypeManager * myDtManager
Definition: lgrTrafficAnalyzerPrefPage.h:152

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)