9 #ifndef lgrHlaConfigPrefPage_H_
10 #define lgrHlaConfigPrefPage_H_
16 #include <commonWidgets/preciseTimeEdit.h>
32 class DtLoggerApplication;
33 class DtLgrFullInterface;
44 DtLgrHlaConfigPrefPage(DtLoggerApplication* application,
QWidget* parent, Qt::WindowFlags f = 0);
47 virtual ~DtLgrHlaConfigPrefPage();
53 virtual QString title();
56 virtual const std::string& pageClassName()
const;
59 static const std::string& thePageClassName();
62 virtual bool saveProtocolConfiguration()
const;
68 virtual void accept();
71 virtual void reject();
76 void onClassSubscription();
79 bool requestUpdatesEnabled()
const;
82 bool passiveSubscriptionEnabled()
const;
85 bool sendOnlyUpdatedValuesEnabled()
const;
88 bool constrainedOnPlayback()
const;
91 bool constrainedOnRecording()
const;
94 bool regulatingOnPlayback()
const;
97 bool regulatingOnRecording()
const;
100 double lookAheadTime()
const;
105 virtual void activate();
108 virtual void deactivate();
111 DtLoggerApplication* myApplication;
112 const DtLgrFullInterface* myInterface;
114 QLabel* myClassSubsLabel;
115 QLabel* myTimeConstrainedLabel;
116 QLabel* myTimeRegulatingLabel;
117 QLabel* myLookaheadLabel;
118 QLabel* myPauseOptionLabel;
120 QPushButton* myClassSubsEditButton;
121 QCheckBox* myRequestUpdatesCheckBox;
122 QCheckBox* myPassiveSubscriptionCheckBox;
123 QCheckBox* mySendOnlyUpdatedValuesCheckBox;
124 QComboBox* myTimeConstrainedComboBox;
125 QComboBox* myTimeRegulatingComboBox;
126 QLineEdit* myLookaheadLineEdit;
127 QCheckBox* mySaveProtocolConfiguration;
128 QCheckBox* myPauseOptionCheckBox;