MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The LayoutScene class provides a reimplemented QGraphicsScene for 2D layout plotting. This class handles all the user interaction features (subclass in order to use). More...
#include <layoutscene.h>
Public Member Functions | |
LayoutScene (QGraphicsView *view, QObject *parent=0) | |
Protected Member Functions | |
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 | |
QGraphicsView * | m_qvView |
bool | m_bDragMode |
QPointF | m_mousePressPosition |
The LayoutScene class provides a reimplemented QGraphicsScene for 2D layout plotting. This class handles all the user interaction features (subclass in order to use).
DECLARE CLASS LayoutScene
Definition at line 81 of file layoutscene.h.
LayoutScene::LayoutScene | ( | QGraphicsView * | view, |
QObject * | parent = 0 |
||
) |
Constructs a LayoutScene.
Definition at line 62 of file layoutscene.cpp.
|
protected |
reimplemented event function - intercepts touch gestures
Definition at line 205 of file layoutscene.cpp.
|
protected |
Installed event filter.
[in] | obj | the qt object for which the event was intercpeted. |
[in] | event | the current event. |
Definition at line 256 of file layoutscene.cpp.
|
protected |
gestureEvent processes gesture events
Definition at line 223 of file layoutscene.cpp.
|
protected |
Reimplemented key press event.
Definition at line 185 of file layoutscene.cpp.
|
protected |
Reimplemented key release event.
Definition at line 195 of file layoutscene.cpp.
|
protected |
Reimplemented double mouse press event.
Definition at line 94 of file layoutscene.cpp.
|
protected |
Reimplemented double mouse move event.
Definition at line 130 of file layoutscene.cpp.
|
protected |
Reimplemented mouse press event.
Definition at line 104 of file layoutscene.cpp.
|
protected |
Reimplemented double mouse release event.
Definition at line 147 of file layoutscene.cpp.
|
protected |
pinchTriggered processes pan gesture events
Definition at line 238 of file layoutscene.cpp.
|
protected |
pinchTriggered processes pinch gesture events
Definition at line 248 of file layoutscene.cpp.
|
protected |
pinchTriggered processes swipe gesture events
|
protected |
Reimplemented wheel event.
Definition at line 78 of file layoutscene.cpp.
|
protected |
Flag whether the drag mode is activated.
Definition at line 178 of file layoutscene.h.
|
protected |
The current mouse press location.
Definition at line 180 of file layoutscene.h.
|
protected |
The view which visualizes this scene.
Definition at line 175 of file layoutscene.h.