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

The DataWindow class provides the data dock window. More...

#include <datawindow.h>

Inheritance diagram for MNEBrowseRawQt::DataWindow:

Signals

void scaleChannels (double)
 

Public Member Functions

 DataWindow (QWidget *parent=0)
 
 ~DataWindow ()
 
void init ()
 
void initMVCSettings ()
 
QTableView * getDataTableView ()
 
QTableView * getUndockedDataTableView ()
 
RawModelgetDataModel ()
 
RawDelegategetDataDelegate ()
 
void scaleData (const QMap< QString, double > &scaleMap)
 
void updateDataTableViews ()
 
void showSelectedChannelsOnly (QStringList selectedChannels)
 
void changeRowHeight (int height)
 
void hideBadChannels (bool hideChannels)
 

Protected Slots

void customContextMenuRequested (QPoint pos)
 customContextMenuRequested More...
 
void setRangeSampleLabels ()
 
void setMarkerSampleLabel ()
 
void updateMarkerPosition ()
 
void highlightChannelsInSelectionManager ()
 

Detailed Description

The DataWindow class provides the data dock window.

DECLARE CLASS DataWindow

Definition at line 85 of file datawindow.h.

Constructor & Destructor Documentation

DataWindow::DataWindow ( QWidget *  parent = 0)

Constructs a DataWindow dialog which is a child of parent.

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

Definition at line 58 of file datawindow.cpp.

DataWindow::~DataWindow ( )

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

Definition at line 81 of file datawindow.cpp.

Member Function Documentation

void DataWindow::changeRowHeight ( int  height)

Change the channel plot height in the data views to the double value heigt

Definition at line 165 of file datawindow.cpp.

void DataWindow::customContextMenuRequested ( QPoint  pos)
protectedslot

customContextMenuRequested

Parameters
posis the position, where the right-click occurred

Definition at line 440 of file datawindow.cpp.

RawDelegate * DataWindow::getDataDelegate ( )

Returns the RawModel of this window

Definition at line 115 of file datawindow.cpp.

RawModel * DataWindow::getDataModel ( )

Returns the RawModel of this window

Definition at line 107 of file datawindow.cpp.

QTableView * DataWindow::getDataTableView ( )

Returns the data QTableView of this window

Definition at line 99 of file datawindow.cpp.

QTableView* MNEBrowseRawQt::DataWindow::getUndockedDataTableView ( )

Returns the undocked data QTableView of this window

void DataWindow::hideBadChannels ( bool  hideChannels)

hide all bad channels

Definition at line 176 of file datawindow.cpp.

void DataWindow::highlightChannelsInSelectionManager ( )
protectedslot

Highlights the current selected channels in the 2D plot of selection manager

Definition at line 613 of file datawindow.cpp.

void DataWindow::init ( )

Initialises this window.

Definition at line 89 of file datawindow.cpp.

void DataWindow::initMVCSettings ( )

Setup the model view controller of the data window

Definition at line 198 of file datawindow.cpp.

void MNEBrowseRawQt::DataWindow::scaleChannels ( double  )
signal

scaleChannels gets called whenever the user performed a scaling gesture (pinch)

void DataWindow::scaleData ( const QMap< QString, double > &  scaleMap)

Scales the data according to scaleMap

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

Definition at line 123 of file datawindow.cpp.

void DataWindow::setMarkerSampleLabel ( )
protectedslot

Set the sample labels of the data window

Definition at line 553 of file datawindow.cpp.

void DataWindow::setRangeSampleLabels ( )
protectedslot

Set the range sample labels of the data window

Definition at line 531 of file datawindow.cpp.

void DataWindow::showSelectedChannelsOnly ( QStringList  selectedChannels)

Only shows the channels defined in the QStringList selectedChannels

Parameters
[in]selectedChannelslist of all channel names which are currently selected in the selection manager.

Definition at line 140 of file datawindow.cpp.

void DataWindow::updateDataTableViews ( )

Updates the data table views

Definition at line 132 of file datawindow.cpp.

void DataWindow::updateMarkerPosition ( )
protectedslot

Updates the marker position

Definition at line 575 of file datawindow.cpp.


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