35 #ifndef TRIGGERDETECTIONVIEW_H
36 #define TRIGGERDETECTIONVIEW_H
42 #include "../disp_global.h"
60 class TriggerDetectionViewWidget;
89 typedef QSharedPointer<TriggerDetectionView>
SPtr;
90 typedef QSharedPointer<const TriggerDetectionView>
ConstSPtr;
100 Qt::WindowFlags f = Qt::Widget);
112 void init(
const QSharedPointer<FIFFLIB::FiffInfo> pFiffInfo);
121 void setNumberDetectedTriggersAndTypes(
int totalNumberDetections,
122 const QMap<
int,QList<QPair<int,double> > >& mapDetectedTriggers);
130 QString getSelectedStimChannel();
157 void updateGuiMode(GuiMode mode);
165 void updateProcessingMode(ProcessingMode mode);
171 void onTriggerInfoChanged();
177 void onRealTimeTriggerColorChanged(
bool state);
183 void onRealTimeTriggerColorTypeChanged(
const QString& value);
189 void onResetTriggerNumbers();
195 void onDetectTriggers();
197 Ui::TriggerDetectionViewWidget* m_pUi;
210 void resetTriggerCounter();
216 void triggerInfoChanged(
const QMap<
double,
219 const QString& sTriggerCh,
226 void detectTriggers(
const QString& sChannelName,
231 #endif // TRIGGERDETECTIONVIEW_H