3#include "QtEventToSoEvent.h"
21 ( ( widget->height() - 1 ) - qevent->y() ) * widget->devicePixelRatio() ) );
33 ( ( widget->height() - 1 ) - qevent->y() ) * widget->devicePixelRatio() ) );
45 ( ( widget->height() - 1 ) - qevent->y() ) * widget->devicePixelRatio() ) );
67 ( ( widget->height() - 1 ) - qevent->y() ) * widget->devicePixelRatio() ) );
113 const std::vector<const SoEvent*>&
static SoKeyboardEvent * getKeyReleaseEvent(QKeyEvent *qevent)
Transform QKeyEvent release to SoKeyboardEvent.
static SoMouseButtonEvent * getMouseDoubleClickEvent(QMouseEvent *qevent, QWidget *widget)
Transform QMouseDoubleClickEvent to SoMouseButtonEvent.
static SoMouseButtonEvent * getMouseReleaseEvent(QMouseEvent *qevent, QWidget *widget)
Transform QMouseReleaseEvent to SoMouseButtonEvent.
const std::vector< const SoEvent * > & getTouchEvents(QTouchEvent *qevent, QWidget *widget)
Transform QTouchEvent to a list of SoEvent representing the touch event.
static SoLocation2Event * getMouseMoveEvent(QMouseEvent *qevent, QWidget *widget)
Transform QMouseMoveEvent to SoMouseButtonEvent.
static SoLocation2Event * getMouseLeaveEvent(QEvent *, QWidget *)
Transform QMouseLeaveEvent to SoMouseButtonEvent.
static SoKeyboardEvent * getKeyPressEvent(QKeyEvent *qevent)
Transform QKeyEvent press to SoKeyboardEvent.
static SoMouseWheelEvent * getMouseWheelEvent(QWheelEvent *qevent, QWidget *)
Transform QMouseWheelEvent to SoMouseButtonEvent.
static SoLocation2Event * getMouseEnterEvent(QEvent *, QWidget *)
Transform QMouseEnterEvent to SoMouseButtonEvent.
static SoMouseButtonEvent * getMousePressEvent(QMouseEvent *qevent, QWidget *widget)
Transform QMousePressEvent to SoMouseButtonEvent.
static SoMouseButtonEvent * getMouseReleaseEvent(QMouseEvent *qevent, QPoint eventPosition)
Transform QMouseReleaseEvent to SoMouseButtonEvent.
static SoKeyboardEvent * getKeyPressEvent(QKeyEvent *qevent)
Transform QKeyEvent press to SoKeyboardEvent.
static SoMouseButtonEvent * getMousePressEvent(QMouseEvent *qevent, QPoint eventPosition)
Transform QMousePressEvent to SoMouseButtonEvent.
static SoLocation2Event * getMouseLeaveEvent()
Transform mouse leave event to SoLocation2Event.
const std::vector< const SoEvent * > & getTouchEvents(QTouchEvent *qevent, int height)
Transform QTouchEvent to a list of SoEvent representing the touch event.
static SoKeyboardEvent * getKeyReleaseEvent(QKeyEvent *qevent)
Transform QKeyEvent release to SoKeyboardEvent.
static SoLocation2Event * getMouseEnterEvent()
Transform mouse enter event to SoLocation2Event.
static SoMouseButtonEvent * getMouseDoubleClickEvent(QMouseEvent *qevent, QPoint eventPosition)
Transform QMouseDoubleClickEvent to SoMouseButtonEvent.
static SoLocation2Event * getMouseMoveEvent(QMouseEvent *qevent, QPoint eventPosition)
Transform QMouseEvent to SoLocation2Event.
static SoMouseWheelEvent * getMouseWheelEvent(QWheelEvent *qevent)
Transform QWheelEvent to SoMouseWheelEvent.
Keyboard key press and release events.