This specialised version of QGraphicsScene is able to react to mouse events.
More...
#include <laserScene.h>
List of all members.
Detailed Description
This specialised version of QGraphicsScene is able to react to mouse events.
- Author:
- Markus Knapp This specialised version of QGraphicsScene is able to react to different mouse events in order to provide direct user interaction.
Definition at line 33 of file laserScene.h.
Constructor & Destructor Documentation
LaserScene::LaserScene |
( |
QObject * |
parent = 0 | ) |
|
LaserScene::~LaserScene |
( |
| ) |
|
Member Function Documentation
void LaserScene::contextMenuEvent |
( |
QGraphicsSceneContextMenuEvent * |
event | ) |
|
|
protected |
Reimplementation of QGraphicsScene::contextMenuEvent().
Definition at line 77 of file laserScene.cpp.
void LaserScene::keyPressEvent |
( |
QKeyEvent * |
keyEvent | ) |
|
|
protected |
Reimplementation of QGraphicsScene::keyPressEvent().
Definition at line 162 of file laserScene.cpp.
void LaserScene::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
mouseEvent | ) |
|
|
protected |
Reimplementation of QGraphicsView::mouseMoveEvent().
Definition at line 45 of file laserScene.cpp.
void LaserScene::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
mouseEvent | ) |
|
|
protected |
Reimplementation of QGraphicsView::mousePressEvent().
Definition at line 33 of file laserScene.cpp.
void LaserScene::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
mouseEvent | ) |
|
|
protected |
Reimplementation of QGraphicsScene::mouseReleaseEvent().
Definition at line 59 of file laserScene.cpp.
void LaserScene::robotPositionChanged |
( |
QGraphicsSceneMouseEvent * |
mouseEvent | ) |
|
|
signal |
This signal is emitted as soon as the robot's position changed. The position change is triggered by the mouse move event handler.
void LaserScene::wheelEvent |
( |
QGraphicsSceneWheelEvent * |
wheelEvent | ) |
|
|
protected |
Reimplementation of QGraphicsScene::wheelEventEvent().
Definition at line 68 of file laserScene.cpp.
void LaserScene::wheelZoom |
( |
QGraphicsSceneWheelEvent * |
wheelEvent | ) |
|
|
signal |
This signal is emitted as soon as mosue wheel is used. The wheel event is triggered by the wheel event handler.
The documentation for this class was generated from the following files: