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

The ScaleWindow class provides the scale window. More...

#include <scalewindow.h>

Inheritance diagram for MNEBrowseRawQt::ScaleWindow:

Signals

void scalingChannelValueChanged (QMap< QString, double >)
 
void scalingViewValueChanged (int)
 

Public Member Functions

 ScaleWindow (QWidget *parent=0)
 
 ~ScaleWindow ()
 
void init ()
 
void hideSpinBoxes (FiffInfo currentFiffInfo)
 
void scaleAllChannels (double scaleValue)
 

Detailed Description

The ScaleWindow class provides the scale window.

DECLARE CLASS ScaleWindow

Definition at line 84 of file scalewindow.h.

Constructor & Destructor Documentation

ScaleWindow::ScaleWindow ( QWidget *  parent = 0)

Constructs a ScaleWindow dialog which is a child of parent.

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

Definition at line 58 of file scalewindow.cpp.

ScaleWindow::~ScaleWindow ( )

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

Definition at line 68 of file scalewindow.cpp.

Member Function Documentation

void ScaleWindow::hideSpinBoxes ( FiffInfo  currentFiffInfo)

hideSpinBoxes hides all spin boxes and labels which are not present in the current fiff file.

Parameters
[in]currentFiffInfothe fiff info file used to hide the spin boxes for not loaded channel types

Definition at line 123 of file scalewindow.cpp.

void ScaleWindow::init ( )

Initialises this window.

Definition at line 76 of file scalewindow.cpp.

void ScaleWindow::scaleAllChannels ( double  scaleValue)

scaleAllChannels scales all channels by scaleValue.

Parameters
[in]scaleValuethe scaling value used to scale the channels

Definition at line 207 of file scalewindow.cpp.

void MNEBrowseRawQt::ScaleWindow::scalingChannelValueChanged ( QMap< QString, double >  )
signal

scalingChannelValueChanged is emmited whenever a connected data spin box value changed

Parameters
[in]QMap<QString,double>map with all channel types and their current scaling value
void MNEBrowseRawQt::ScaleWindow::scalingViewValueChanged ( int  )
signal

scalingViewValueChanged is emmited whenever a connected view spin box value changed

Parameters
[in]intcurrent scaling value for the views

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