QtEventToSoEvent Class Reference
[Qt ViewerComponents]

#include <Inventor/ViewerComponents/Qt/QtEventToSoEvent.h>

Inheritance diagram for QtEventToSoEvent:
QEventToSoEvent

List of all members.

Public Member Functions

const std::vector< const
SoEvent * > & 
getTouchEvents (QTouchEvent *qevent, int height)

Static Public Member Functions

static SoMouseButtonEventgetMousePressEvent (QMouseEvent *qevent, QPoint eventPosition)
static SoMouseButtonEventgetMouseReleaseEvent (QMouseEvent *qevent, QPoint eventPosition)
static SoMouseButtonEventgetMouseDoubleClickEvent (QMouseEvent *qevent, QPoint eventPosition)
static SoMouseWheelEventgetMouseWheelEvent (QWheelEvent *qevent)
static SoLocation2EventgetMouseMoveEvent (QMouseEvent *qevent, QPoint eventPosition)
static SoLocation2EventgetMouseEnterEvent ()
static SoLocation2EventgetMouseLeaveEvent ()
static SoLocation2EventgetHoverMouseEvent (QHoverEvent *qevent, QPoint eventPosition)
static SoKeyboardEventgetKeyPressEvent (QKeyEvent *qevent)
static SoKeyboardEventgetKeyReleaseEvent (QKeyEvent *qevent)

Detailed Description


Member Function Documentation

static SoLocation2Event* QtEventToSoEvent::getHoverMouseEvent ( QHoverEvent *  qevent,
QPoint  eventPosition 
) [inline, static]

Transform QHoverEvent to SoLocation2Event.

Parameters:
qevent Qt event to transform
eventPosition event position transformed to be OpenInventor complient
static SoKeyboardEvent* QtEventToSoEvent::getKeyPressEvent ( QKeyEvent *  qevent  )  [inline, static]

Transform QKeyEvent press to SoKeyboardEvent.

Parameters:
qevent Qt event to transform

Reimplemented in QEventToSoEvent.

static SoKeyboardEvent* QtEventToSoEvent::getKeyReleaseEvent ( QKeyEvent *  qevent  )  [inline, static]

Transform QKeyEvent release to SoKeyboardEvent.

Parameters:
qevent Qt event to transform

Reimplemented in QEventToSoEvent.

static SoMouseButtonEvent* QtEventToSoEvent::getMouseDoubleClickEvent ( QMouseEvent *  qevent,
QPoint  eventPosition 
) [inline, static]

Transform QMouseDoubleClickEvent to SoMouseButtonEvent.

Parameters:
qevent Qt event to transform
eventPosition event position transformed to be OpenInventor complient
static SoLocation2Event* QtEventToSoEvent::getMouseEnterEvent (  )  [inline, static]

Transform mouse enter event to SoLocation2Event.

static SoLocation2Event* QtEventToSoEvent::getMouseLeaveEvent (  )  [inline, static]

Transform mouse leave event to SoLocation2Event.

static SoLocation2Event* QtEventToSoEvent::getMouseMoveEvent ( QMouseEvent *  qevent,
QPoint  eventPosition 
) [inline, static]

Transform QMouseEvent to SoLocation2Event.

Parameters:
qevent Qt event to transform
eventPosition event position transformed to be OpenInventor complient
static SoMouseButtonEvent* QtEventToSoEvent::getMousePressEvent ( QMouseEvent *  qevent,
QPoint  eventPosition 
) [inline, static]

Transform QMousePressEvent to SoMouseButtonEvent.

Parameters:
qevent Qt event to transform
eventPosition event position transformed to be OpenInventor complient
static SoMouseButtonEvent* QtEventToSoEvent::getMouseReleaseEvent ( QMouseEvent *  qevent,
QPoint  eventPosition 
) [inline, static]

Transform QMouseReleaseEvent to SoMouseButtonEvent.

Parameters:
qevent Qt event to transform
eventPosition event position transformed to be OpenInventor complient
static SoMouseWheelEvent* QtEventToSoEvent::getMouseWheelEvent ( QWheelEvent *  qevent  )  [inline, static]

Transform QWheelEvent to SoMouseWheelEvent.

Parameters:
qevent Qt event to transform
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:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/