MNE-CPP
beta 1.0
|
The SensorWidget class provides the sensor selection widget. More...
#include <sensorwidget.h>
Public Member Functions | |
SensorWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | createUI () |
void | drawChannels () |
void | setModel (SensorModel *model) |
void | contextUpdate (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector< int > &roles=QVector< int >()) |
void | contextUpdate () |
The SensorWidget class provides the sensor selection widget.
DECLARE CLASS SensorWidget
Definition at line 72 of file sensorwidget.h.
SensorWidget::SensorWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructs a SensorWidget which is a child of parent.
[in] | parent | parent of widget |
[in] | f | widget flags |
Definition at line 72 of file sensorwidget.cpp.
void SensorWidget::contextUpdate | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight, | ||
const QVector< int > & | roles = QVector<int> () |
||
) |
Repaint the sensor widget with given parameters
[in] | topLeft | Index of upper left corner which has to be updated |
[in] | bottomRight | Index of bottom right corner which has to be updated |
[in] | roles | Role which has been updated |
Definition at line 88 of file sensorwidget.cpp.
void SensorWidget::contextUpdate | ( | ) |
Repaint the sensor widget
Definition at line 99 of file sensorwidget.cpp.
void SensorWidget::createUI | ( | ) |
Create the user interface
Definition at line 107 of file sensorwidget.cpp.
void SensorWidget::drawChannels | ( | ) |
draw the channels
Definition at line 181 of file sensorwidget.cpp.
void SensorWidget::setModel | ( | SensorModel * | model | ) |
Sets the SensorModel to display
[in] | model | Model to set |
Definition at line 164 of file sensorwidget.cpp.