MNE-CPP  beta 1.0
Public Member Functions | List of all members
MNEBrowseRawQt::AverageWindow Class Reference

The AverageWindow class provides a dock window for plotting averages. More...

#include <averagewindow.h>

Inheritance diagram for MNEBrowseRawQt::AverageWindow:

Public Member Functions

 AverageWindow (QWidget *parent, QFile &file)
 
 AverageWindow (QWidget *parent)
 
 ~AverageWindow ()
 
AverageModelgetAverageModel ()
 
void channelSelectionManagerChanged (const QList< QGraphicsItem * > &selectedChannelItems)
 
void scaleAveragedData (const QMap< QString, double > &scaleMap)
 

Detailed Description

The AverageWindow class provides a dock window for plotting averages.

DECLARE CLASS AverageWindow

Definition at line 88 of file averagewindow.h.

Constructor & Destructor Documentation

AverageWindow::AverageWindow ( QWidget *  parent,
QFile &  file 
)

Constructs a AverageWindow which is a child of parent.

Parameters
[in]parentpointer 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]filedefault 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.

Parameters
[in]parentpointer 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.

Member Function Documentation

void AverageWindow::channelSelectionManagerChanged ( const QList< QGraphicsItem * > &  selectedChannelItems)

call this whenever the external channel selection manager changes

  • Parameters
    [in]selectedChannelItemslist 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

Parameters
[in]scaleMapmap with all channel types and their current scaling value

Definition at line 122 of file averagewindow.cpp.


The documentation for this class was generated from the following files: