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

The SensorWidget class provides the sensor selection widget. More...

#include <sensorwidget.h>

Inheritance diagram for XDISPLIB::SensorWidget:

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 ()
 

Detailed Description

The SensorWidget class provides the sensor selection widget.

DECLARE CLASS SensorWidget

Definition at line 72 of file sensorwidget.h.

Constructor & Destructor Documentation

SensorWidget::SensorWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructs a SensorWidget which is a child of parent.

Parameters
[in]parentparent of widget
[in]fwidget flags

Definition at line 72 of file sensorwidget.cpp.

Member Function Documentation

void SensorWidget::contextUpdate ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight,
const QVector< int > &  roles = QVector<int> () 
)

Repaint the sensor widget with given parameters

Parameters
[in]topLeftIndex of upper left corner which has to be updated
[in]bottomRightIndex of bottom right corner which has to be updated
[in]rolesRole 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

Parameters
[in]modelModel to set

Definition at line 164 of file sensorwidget.cpp.


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