9 #ifndef lgrTrafficAnalyzerPrefPage_H_
10 #define lgrTrafficAnalyzerPrefPage_H_
16 #include <commonWidgets/preciseTimeEdit.h>
17 #include <vlutil/vlString.h>
34 class DtLgrFullInterface;
46 DtLgrTrafficAnalyzerPrefPage(
const DtLgrFullInterface* lgrInterface,
47 DtLgrGuiModel* model,
QWidget* parent, Qt::WindowFlags f = 0);
50 virtual ~DtLgrTrafficAnalyzerPrefPage();
56 virtual QString title();
59 virtual const std::string& pageClassName()
const;
62 static const std::string& thePageClassName();
65 virtual bool saveTaConfiguration()
const;
71 virtual void accept();
74 virtual void reject();
85 void editDelimiters();
88 void acceptDelimiters();
89 void rejectDelimiters();
90 void acceptDatatypes();
91 void rejectDatatypes();
95 void checkTrafficAnalyzerEnabled(
bool connected);
100 virtual void activate();
103 virtual void deactivate();
107 const DtLgrFullInterface* myInterface;
108 DtLgrGuiModel* myModel;
116 QCheckBox* myEnableCheckBox;
118 QCheckBox* mySaveConfigurationCheckBox;
120 QLabel* myMaxInteractionsLabel;
121 QSpinBox* myMaxInteractionsSpinBox;
123 QLabel* myDefaultEnumSizeLabel;
124 QSpinBox* myDefaultEnumSizeSpinBox;
126 QLabel* myFloatPrecLabel;
127 QSpinBox* myFloatPrecSpinBox;
129 QLabel* myDefaultDelimLabel;
130 QLineEdit* myDefaultDelimLineEdit;
132 QLabel* myDelimsLabel;
133 QPushButton* myDelimsEditButton;
135 QLabel* myDatatypesLabel;
136 QPushButton* myDatatypesEditButton;
138 QLabel* myLocationCoordLabel;
139 QComboBox* myLocationCoordComboBox;
141 QLabel* myOrientationCoordLabel;
142 QComboBox* myOrientationCoordComboBox;
144 QLabel* myVelocityCoordLabel;
145 QComboBox* myVelocityCoordComboBox;
147 QLabel* myEntityTypeCoordLabel;
148 QComboBox* myEntityTypeCoordComboBox;
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;