#include <Inventor/ViewerComponents/Qt/QtEventToSoEvent.h>
|
const std::vector< const SoEvent * > & | getTouchEvents (QTouchEvent *qevent, int height) |
| Transform QTouchEvent to a list of SoEvent representing the touch event.
|
|
Definition at line 13 of file QtEventToSoEvent.h.
◆ getHoverMouseEvent()
static SoLocation2Event * QtEventToSoEvent::getHoverMouseEvent |
( |
QHoverEvent * |
qevent, |
|
|
QPoint |
eventPosition |
|
) |
| |
|
inlinestatic |
Transform QHoverEvent to SoLocation2Event.
- Parameters
-
qevent | Qt event to transform |
eventPosition | event position transformed to be OpenInventor complient |
Definition at line 116 of file QtEventToSoEvent.h.
◆ getKeyPressEvent()
static SoKeyboardEvent * QtEventToSoEvent::getKeyPressEvent |
( |
QKeyEvent * |
qevent | ) |
|
|
inlinestatic |
◆ getKeyReleaseEvent()
static SoKeyboardEvent * QtEventToSoEvent::getKeyReleaseEvent |
( |
QKeyEvent * |
qevent | ) |
|
|
inlinestatic |
◆ getMouseDoubleClickEvent()
static SoMouseButtonEvent * QtEventToSoEvent::getMouseDoubleClickEvent |
( |
QMouseEvent * |
qevent, |
|
|
QPoint |
eventPosition |
|
) |
| |
|
inlinestatic |
Transform QMouseDoubleClickEvent to SoMouseButtonEvent.
- Parameters
-
qevent | Qt event to transform |
eventPosition | event position transformed to be OpenInventor complient |
Definition at line 54 of file QtEventToSoEvent.h.
◆ getMouseEnterEvent()
◆ getMouseLeaveEvent()
◆ getMouseMoveEvent()
static SoLocation2Event * QtEventToSoEvent::getMouseMoveEvent |
( |
QMouseEvent * |
qevent, |
|
|
QPoint |
eventPosition |
|
) |
| |
|
inlinestatic |
Transform QMouseEvent to SoLocation2Event.
- Parameters
-
qevent | Qt event to transform |
eventPosition | event position transformed to be OpenInventor complient |
Definition at line 83 of file QtEventToSoEvent.h.
◆ getMousePressEvent()
static SoMouseButtonEvent * QtEventToSoEvent::getMousePressEvent |
( |
QMouseEvent * |
qevent, |
|
|
QPoint |
eventPosition |
|
) |
| |
|
inlinestatic |
Transform QMousePressEvent to SoMouseButtonEvent.
- Parameters
-
qevent | Qt event to transform |
eventPosition | event position transformed to be OpenInventor complient |
Definition at line 22 of file QtEventToSoEvent.h.
◆ getMouseReleaseEvent()
static SoMouseButtonEvent * QtEventToSoEvent::getMouseReleaseEvent |
( |
QMouseEvent * |
qevent, |
|
|
QPoint |
eventPosition |
|
) |
| |
|
inlinestatic |
Transform QMouseReleaseEvent to SoMouseButtonEvent.
- Parameters
-
qevent | Qt event to transform |
eventPosition | event position transformed to be OpenInventor complient |
Definition at line 38 of file QtEventToSoEvent.h.
◆ getMouseWheelEvent()
static SoMouseWheelEvent * QtEventToSoEvent::getMouseWheelEvent |
( |
QWheelEvent * |
qevent | ) |
|
|
inlinestatic |
◆ getTouchEvents()
const std::vector< const SoEvent * > & QtEventToSoEvent::getTouchEvents |
( |
QTouchEvent * |
qevent, |
|
|
int |
height |
|
) |
| |
Transform QTouchEvent to a list of SoEvent representing the touch event.
- Parameters
-
qevent | Qt event to transform |
height | Height of the widget where the event is firered. it's used to transform event position to OpenInventor complient position |
The documentation for this class was generated from the following file: