MNE-CPP
beta 1.0
|
The AverageWindow class provides a dock window for plotting averages. More...
#include <averagewindow.h>
Public Member Functions | |
AverageWindow (QWidget *parent, QFile &file) | |
AverageWindow (QWidget *parent) | |
~AverageWindow () | |
AverageModel * | getAverageModel () |
void | channelSelectionManagerChanged (const QList< QGraphicsItem * > &selectedChannelItems) |
void | scaleAveragedData (const QMap< QString, double > &scaleMap) |
The AverageWindow class provides a dock window for plotting averages.
DECLARE CLASS AverageWindow
Definition at line 88 of file averagewindow.h.
AverageWindow::AverageWindow | ( | QWidget * | parent, |
QFile & | file | ||
) |
Constructs a AverageWindow which is a child of parent.
[in] | parent | pointer to parent widget; If parent is 0, the new AverageWindow becomes a window. If parent is another widget, AverageWindow becomes a child window inside parent. AverageWindow is deleted when its parent is deleted. |
[in] | file | default file used to read the evoked data from. |
Definition at line 58 of file averagewindow.cpp.
AverageWindow::AverageWindow | ( | QWidget * | parent | ) |
Constructs a AverageWindow which is a child of parent.
[in] | parent | pointer to parent widget; If parent is 0, the new AverageWindow becomes a window. If parent is another widget, AverageWindow becomes a child window inside parent. AverageWindow is deleted when its parent is deleted. |
Definition at line 70 of file averagewindow.cpp.
AverageWindow::~AverageWindow | ( | ) |
Constructs a AverageWindow which is a child of parent. Destroys the AverageWindow. All AverageWindow's children are deleted first. The application exits if AverageWindow is the main widget.
Definition at line 90 of file averagewindow.cpp.
void AverageWindow::channelSelectionManagerChanged | ( | const QList< QGraphicsItem * > & | selectedChannelItems | ) |
call this whenever the external channel selection manager changes
[in] | selectedChannelItems | list of selected graphic items |
Definition at line 106 of file averagewindow.cpp.
AverageModel * AverageWindow::getAverageModel | ( | ) |
Returns the AverageModel of this window
Definition at line 98 of file averagewindow.cpp.
void AverageWindow::scaleAveragedData | ( | const QMap< QString, double > & | scaleMap | ) |
Scales the averaged data according to scaleMap
[in] | scaleMap | map with all channel types and their current scaling value |
Definition at line 122 of file averagewindow.cpp.