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();
68 virtual void accept();
71 virtual void reject();
82 void editDelimiters();
85 void acceptDelimiters();
86 void rejectDelimiters();
87 void acceptDatatypes();
88 void rejectDatatypes();
92 void checkTrafficAnalyzerEnabled(
bool connected);
97 virtual void activate();
100 virtual void deactivate();
104 const DtLgrFullInterface* myInterface;
105 DtLgrGuiModel* myModel;
113 QCheckBox* myEnableCheckBox;
115 QLabel* myMaxInteractionsLabel;
116 QSpinBox* myMaxInteractionsSpinBox;
118 QLabel* myDefaultEnumSizeLabel;
119 QSpinBox* myDefaultEnumSizeSpinBox;
121 QLabel* myFloatPrecLabel;
122 QSpinBox* myFloatPrecSpinBox;
124 QLabel* myDefaultDelimLabel;
125 QLineEdit* myDefaultDelimLineEdit;
127 QLabel* myDelimsLabel;
128 QPushButton* myDelimsEditButton;
130 QLabel* myDatatypesLabel;
131 QPushButton* myDatatypesEditButton;
133 QLabel* myLocationCoordLabel;
134 QComboBox* myLocationCoordComboBox;
136 QLabel* myOrientationCoordLabel;
137 QComboBox* myOrientationCoordComboBox;
139 QLabel* myVelocityCoordLabel;
140 QComboBox* myVelocityCoordComboBox;
142 QLabel* myEntityTypeCoordLabel;
143 QComboBox* myEntityTypeCoordComboBox;
150 static const QString theEnableToolTip;
151 static const QString theMaxInteractionsToolTip;
152 static const QString theDefaultEnumSizeToolTip;
153 static const QString theFloatPrecToolTip;
154 static const QString theDefaultDelimToolTip;
155 static const QString theDelimsToolTip;
156 static const QString theDelimsDisabledToolTip;
157 static const QString theDatatypesToolTip;
158 static const QString theDatatypesDisabledToolTip;
159 static const QString theLocationCoordToolTip;
160 static const QString theOrientationCoordToolTip;
161 static const QString theVelocityCoordToolTip;
162 static const QString theEntityTypeCoordToolTip;