MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Public Types | |
typedef QSharedPointer< SelectionSceneItem > | SPtr |
typedef QSharedPointer< const SelectionSceneItem > | ConstSPtr |
Public Member Functions | |
SelectionSceneItem (QString channelName, int channelNumber, QPointF channelPosition, int channelKind, int channelUnit, QColor channelColor=Qt::blue, bool bIsBadChannel=false) | |
QRectF | boundingRect () const |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
Public Attributes | |
QString | m_sChannelName |
int | m_iChannelNumber |
int | m_iChannelKind |
int | m_iChannelUnit |
QPointF | m_qpChannelPosition |
QColor | m_cChannelColor |
bool | m_bHighlightItem |
bool | m_bIsBadChannel |
Definition at line 87 of file selectionsceneitem.h.
typedef QSharedPointer<const SelectionSceneItem> DISPLIB::SelectionSceneItem::ConstSPtr |
Const shared pointer type for SelectionSceneItem.
Definition at line 92 of file selectionsceneitem.h.
typedef QSharedPointer<SelectionSceneItem> DISPLIB::SelectionSceneItem::SPtr |
Shared pointer type for SelectionSceneItem.
Definition at line 91 of file selectionsceneitem.h.
SelectionSceneItem::SelectionSceneItem | ( | QString | channelName, |
int | channelNumber, | ||
QPointF | channelPosition, | ||
int | channelKind, | ||
int | channelUnit, | ||
QColor | channelColor = Qt::blue , |
||
bool | bIsBadChannel = false |
||
) |
Constructs a SelectionSceneItem.
Definition at line 63 of file selectionsceneitem.cpp.
QRectF SelectionSceneItem::boundingRect | ( | ) | const |
Returns the bounding rect of the electrode item. This rect describes the area which the item uses to plot in.
Definition at line 85 of file selectionsceneitem.cpp.
void SelectionSceneItem::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget | ||
) |
Reimplemented paint function.
Definition at line 92 of file selectionsceneitem.cpp.
bool DISPLIB::SelectionSceneItem::m_bHighlightItem |
Whether this item is to be highlighted.
Definition at line 124 of file selectionsceneitem.h.
bool DISPLIB::SelectionSceneItem::m_bIsBadChannel |
Whether this item is a bad channel.
Definition at line 125 of file selectionsceneitem.h.
QColor DISPLIB::SelectionSceneItem::m_cChannelColor |
The current channel color.
Definition at line 123 of file selectionsceneitem.h.
int DISPLIB::SelectionSceneItem::m_iChannelKind |
The channel kind.
Definition at line 120 of file selectionsceneitem.h.
int DISPLIB::SelectionSceneItem::m_iChannelNumber |
The channel number.
Definition at line 119 of file selectionsceneitem.h.
int DISPLIB::SelectionSceneItem::m_iChannelUnit |
The channel unit.
Definition at line 121 of file selectionsceneitem.h.
QPointF DISPLIB::SelectionSceneItem::m_qpChannelPosition |
The channel's 2D position in the scene.
Definition at line 122 of file selectionsceneitem.h.
QString DISPLIB::SelectionSceneItem::m_sChannelName |
The channel's name.
Definition at line 118 of file selectionsceneitem.h.