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

The ECGSetupWidget class provides the ECG configuration window. More...

#include <ecgsetupwidget.h>

Inheritance diagram for ECGSimulatorPlugin::ECGSetupWidget:

Public Member Functions

 ECGSetupWidget (ECGSimulator *simulator, QWidget *parent=0)
 
 ~ECGSetupWidget ()
 
void initSamplingFactors ()
 
void initSelectedChannelFile ()
 
void initChannelStates ()
 

Detailed Description

The ECGSetupWidget class provides the ECG configuration window.

DECLARE CLASS ECGSetupWidget

Definition at line 78 of file ecgsetupwidget.h.

Constructor & Destructor Documentation

ECGSetupWidget::ECGSetupWidget ( ECGSimulator simulator,
QWidget *  parent = 0 
)

Constructs a ECGSetupWidget which is a child of parent.

Parameters
[in]parentpointer to parent widget; If parent is 0, the new ECGSetupWidget becomes a window. If parent is another widget, ECGSetupWidget becomes a child window inside parent. ECGSetupWidget is deleted when its parent is deleted.
[in]simulatora pointer to the corresponding ECGSimulator.

Definition at line 68 of file ecgsetupwidget.cpp.

ECGSetupWidget::~ECGSetupWidget ( )

Destroys the ECGSetupWidget. All ECGSetupWidget's children are deleted first. The application exits if ECGSetupWidget is the main widget.

Definition at line 125 of file ecgsetupwidget.cpp.

Member Function Documentation

void ECGSetupWidget::initChannelStates ( )

Initializes the channel check boxes for visibility and whether channels are enabled.

Definition at line 162 of file ecgsetupwidget.cpp.

void ECGSetupWidget::initSamplingFactors ( )

Initializes the sampling rate and the downsampling factor.

Definition at line 133 of file ecgsetupwidget.cpp.

void ECGSetupWidget::initSelectedChannelFile ( )

Initializes each channel comboBox with given the channel file.

Definition at line 142 of file ecgsetupwidget.cpp.


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