MNE-CPP
beta 1.0
|
The DataWindow class provides the data dock window. More...
#include <datawindow.h>
Signals | |
void | scaleChannels (double) |
Public Member Functions | |
DataWindow (QWidget *parent=0) | |
~DataWindow () | |
void | init () |
void | initMVCSettings () |
QTableView * | getDataTableView () |
QTableView * | getUndockedDataTableView () |
RawModel * | getDataModel () |
RawDelegate * | getDataDelegate () |
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 () |
The DataWindow class provides the data dock window.
DECLARE CLASS DataWindow
Definition at line 85 of file datawindow.h.
DataWindow::DataWindow | ( | QWidget * | parent = 0 | ) |
Constructs a DataWindow dialog which is a child of parent.
[in] | parent | pointer 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.
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.
|
protectedslot |
customContextMenuRequested
pos | is 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.
|
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.
|
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
[in] | scaleMap | map with all channel types and their current scaling value |
Definition at line 123 of file datawindow.cpp.
|
protectedslot |
Set the sample labels of the data window
Definition at line 553 of file datawindow.cpp.
|
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
[in] | selectedChannels | list 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.
|
protectedslot |
Updates the marker position
Definition at line 575 of file datawindow.cpp.