Provides the coordinates of mouse events through signals.
More...
#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/JoystickControlWidget.h>
Provides the coordinates of mouse events through signals.
Used in JoystickControlWidget.
Definition at line 47 of file JoystickControlWidget.h.
◆ JoystickControlWidgetQGraphicsView()
◆ ~JoystickControlWidgetQGraphicsView()
◆ mouseMoveEvent()
void mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
override |
Passes the mapped mouse coordinates of the event through the signal positionChanged.
- Parameters
-
event | Contains the coordinates |
Definition at line 58 of file JoystickControlWidget.cpp.
◆ mousePressEvent()
void mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
override |
Passes the mapped mouse coordinates of the event through the signal positionChanged.
- Parameters
-
event | Contains the coordinates |
Definition at line 52 of file JoystickControlWidget.cpp.
◆ mouseReleaseEvent()
void mouseReleaseEvent |
( |
QMouseEvent * |
| ) |
|
|
override |
◆ positionChanged
void positionChanged |
( |
QPointF |
| ) |
|
|
signal |
Sends the mouse position on press or move in the scene coordinates.
On mouse release (0;0) is send.
◆ pressed
Emitted when the mouse was pressed.
◆ released
Emitted when the mouse was released.
The documentation for this class was generated from the following files: