MNE-CPP
beta 1.0
|
The MeasurementWidget class is the base class of all measurement widgets. More...
#include <newmeasurementwidget.h>
Public Member Functions | |
NewMeasurementWidget (QWidget *parent=0) | |
virtual | ~NewMeasurementWidget () |
virtual void | update (XMEASLIB::NewMeasurement::SPtr pMeasurement)=0 |
virtual void | init ()=0 |
QList< QAction * > | getDisplayActions () |
QList< QWidget * > | getDisplayWidgets () |
Protected Member Functions | |
void | addDisplayAction (QAction *pAction) |
void | addDisplayWidget (QWidget *pWidget) |
The MeasurementWidget class is the base class of all measurement widgets.
DECLARE CLASS MeasurementWidget
Definition at line 92 of file newmeasurementwidget.h.
NewMeasurementWidget::NewMeasurementWidget | ( | QWidget * | parent = 0 | ) |
Constructs a MeasurementWidget which is a child of parent.
[in] | parent | pointer to parent widget; If parent is 0, the new MeasurementWidget becomes a window. If parent is another widget, MeasurementWidget becomes a child window inside parent. MeasurementWidget is deleted when its parent is deleted. |
Definition at line 57 of file newmeasurementwidget.cpp.
|
virtual |
Destroys the MeasurementWidget.
Definition at line 67 of file newmeasurementwidget.cpp.
|
inlineprotected |
Adds a display action to the current measurement widget.
[in] | pAction | pointer to the action to be added to the measurement widget |
Definition at line 187 of file newmeasurementwidget.h.
|
inlineprotected |
Adds a display widgetto the current measurement widget, which is attached to the toolbar
[in] | pWidget | pointer to the widget to be added to the measurement widget |
Definition at line 195 of file newmeasurementwidget.h.
|
inline |
A list of display actions for the current measurement widget.
Definition at line 171 of file newmeasurementwidget.h.
|
inline |
A list of display widgets for the current measurement widget.
Definition at line 179 of file newmeasurementwidget.h.
|
pure virtual |
Initialise the MeasurementWidget. Pure virtual method.
Implemented in XDISPLIB::RealTimeEvokedWidget, XDISPLIB::RealTimeMultiSampleArrayWidget, XDISPLIB::FrequencySpectrumWidget, XDISPLIB::RealTimeCovWidget, XDISPLIB::RealTimeSourceEstimateWidget, and XDISPLIB::RealTimeSampleArrayWidget.
|
pure virtual |
Is called when new data are available. Pure virtual method inherited by IObserver.
[in] | pSubject | pointer to Subject -> not used because its direct attached to the measurement. |
Implemented in XDISPLIB::RealTimeEvokedWidget, XDISPLIB::RealTimeMultiSampleArrayWidget, XDISPLIB::RealTimeSourceEstimateWidget, XDISPLIB::FrequencySpectrumWidget, XDISPLIB::RealTimeCovWidget, and XDISPLIB::RealTimeSampleArrayWidget.