MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Public Attributes | List of all members
DISPLIB::SelectionScene Class Reference

The SelectionScene class provides a reimplemented QGraphicsScene for 2D layout plotting. More...

#include <selectionscene.h>

Public Types

typedef QSharedPointer< SelectionSceneSPtr
 
typedef QSharedPointer< const SelectionSceneConstSPtr
 

Public Member Functions

 SelectionScene (QGraphicsView *view, QObject *parent=0)
 
void repaintItems (const QMap< QString, QPointF > &layoutMap, QStringList badChannels)
 
void hideItems (QStringList visibleItems)
 
- Public Member Functions inherited from DISPLIB::LayoutScene
 LayoutScene (QGraphicsView *view, QObject *parent=0)
 

Public Attributes

int m_iChannelTypeMode
 

Additional Inherited Members

- Protected Member Functions inherited from DISPLIB::LayoutScene
void wheelEvent (QGraphicsSceneWheelEvent *event)
 
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
void mousePressEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
void keyPressEvent (QKeyEvent *keyEvent)
 
void keyReleaseEvent (QKeyEvent *keyEvent)
 
bool event (QEvent *event)
 
bool gestureEvent (QGestureEvent *event)
 
void panTriggered (QPanGesture *)
 
void pinchTriggered (QPinchGesture *)
 
void swipeTriggered (QSwipeGesture *)
 
bool eventFilter (QObject *object, QEvent *event)
 
- Protected Attributes inherited from DISPLIB::LayoutScene
QGraphicsView * m_qvView
 
bool m_bDragMode
 
QPointF m_mousePressPosition
 

Detailed Description

The SelectionScene class provides a reimplemented QGraphicsScene for 2D layout plotting.

DECLARE CLASS SelectionScene

Definition at line 75 of file selectionscene.h.

Inheritance diagram for DISPLIB::SelectionScene:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const SelectionScene> DISPLIB::SelectionScene::ConstSPtr

Const shared pointer type for SelectionScene.

Definition at line 81 of file selectionscene.h.

◆ SPtr

Shared pointer type for SelectionScene.

Definition at line 80 of file selectionscene.h.

Constructor & Destructor Documentation

◆ SelectionScene()

SelectionScene::SelectionScene ( QGraphicsView *  view,
QObject *  parent = 0 
)
explicit

Constructs a SelectionScene.

Definition at line 67 of file selectionscene.cpp.

Member Function Documentation

◆ hideItems()

void SelectionScene::hideItems ( QStringList  visibleItems)

Hides all items described in list.

Parameters
[in]liststring list with items name which are to be hidden.

Definition at line 107 of file selectionscene.cpp.

◆ repaintItems()

void SelectionScene::repaintItems ( const QMap< QString, QPointF > &  layoutMap,
QStringList  badChannels 
)

Updates layout data.

Parameters
[in]layoutMaplayout data map.
[in]badchannel list.

Definition at line 75 of file selectionscene.cpp.

Member Data Documentation

◆ m_iChannelTypeMode

int DISPLIB::SelectionScene::m_iChannelTypeMode

The channel type mode.

Definition at line 107 of file selectionscene.h.


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