Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
QEventToSoEvent Class Reference

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

+ Inheritance diagram for QEventToSoEvent:

Public Member Functions

const std::vector< const SoEvent * > & getTouchEvents (QTouchEvent *qevent, QWidget *widget)
 Transform QTouchEvent to a list of SoEvent representing the touch event.
 
- Public Member Functions inherited from QtEventToSoEvent
const std::vector< const SoEvent * > & getTouchEvents (QTouchEvent *qevent, int height)
 Transform QTouchEvent to a list of SoEvent representing the touch event.
 

Static Public Member Functions

static SoMouseButtonEventgetMousePressEvent (QMouseEvent *qevent, QWidget *widget)
 Transform QMousePressEvent to SoMouseButtonEvent.
 
static SoMouseButtonEventgetMouseReleaseEvent (QMouseEvent *qevent, QWidget *widget)
 Transform QMouseReleaseEvent to SoMouseButtonEvent.
 
static SoMouseButtonEventgetMouseDoubleClickEvent (QMouseEvent *qevent, QWidget *widget)
 Transform QMouseDoubleClickEvent to SoMouseButtonEvent.
 
static SoMouseWheelEventgetMouseWheelEvent (QWheelEvent *qevent, QWidget *)
 Transform QMouseWheelEvent to SoMouseButtonEvent.
 
static SoLocation2EventgetMouseMoveEvent (QMouseEvent *qevent, QWidget *widget)
 Transform QMouseMoveEvent to SoMouseButtonEvent.
 
static SoLocation2EventgetMouseEnterEvent (QEvent *, QWidget *)
 Transform QMouseEnterEvent to SoMouseButtonEvent.
 
static SoLocation2EventgetMouseLeaveEvent (QEvent *, QWidget *)
 Transform QMouseLeaveEvent to SoMouseButtonEvent.
 
static SoKeyboardEventgetKeyPressEvent (QKeyEvent *qevent)
 Transform QKeyEvent press to SoKeyboardEvent.
 
static SoKeyboardEventgetKeyReleaseEvent (QKeyEvent *qevent)
 Transform QKeyEvent release to SoKeyboardEvent.
 
- Static Public Member Functions inherited from QtEventToSoEvent
static SoMouseButtonEventgetMousePressEvent (QMouseEvent *qevent, QPoint eventPosition)
 Transform QMousePressEvent to SoMouseButtonEvent.
 
static SoMouseButtonEventgetMouseReleaseEvent (QMouseEvent *qevent, QPoint eventPosition)
 Transform QMouseReleaseEvent to SoMouseButtonEvent.
 
static SoMouseButtonEventgetMouseDoubleClickEvent (QMouseEvent *qevent, QPoint eventPosition)
 Transform QMouseDoubleClickEvent to SoMouseButtonEvent.
 
static SoMouseWheelEventgetMouseWheelEvent (QWheelEvent *qevent)
 Transform QWheelEvent to SoMouseWheelEvent.
 
static SoLocation2EventgetMouseMoveEvent (QMouseEvent *qevent, QPoint eventPosition)
 Transform QMouseEvent to SoLocation2Event.
 
static SoLocation2EventgetMouseEnterEvent ()
 Transform mouse enter event to SoLocation2Event.
 
static SoLocation2EventgetMouseLeaveEvent ()
 Transform mouse leave event to SoLocation2Event.
 
static SoLocation2EventgetHoverMouseEvent (QHoverEvent *qevent, QPoint eventPosition)
 Transform QHoverEvent to SoLocation2Event.
 
static SoKeyboardEventgetKeyPressEvent (QKeyEvent *qevent)
 Transform QKeyEvent press to SoKeyboardEvent.
 
static SoKeyboardEventgetKeyReleaseEvent (QKeyEvent *qevent)
 Transform QKeyEvent release to SoKeyboardEvent.
 

Detailed Description

Definition at line 8 of file QEventToSoEvent.h.

Member Function Documentation

◆ getKeyPressEvent()

static SoKeyboardEvent * QEventToSoEvent::getKeyPressEvent ( QKeyEvent *  qevent)
inlinestatic

Transform QKeyEvent press to SoKeyboardEvent.

Parameters
qeventQt event to transform

Definition at line 93 of file QEventToSoEvent.h.

◆ getKeyReleaseEvent()

static SoKeyboardEvent * QEventToSoEvent::getKeyReleaseEvent ( QKeyEvent *  qevent)
inlinestatic

Transform QKeyEvent release to SoKeyboardEvent.

Parameters
qeventQt event to transform

Definition at line 103 of file QEventToSoEvent.h.

◆ getMouseDoubleClickEvent()

static SoMouseButtonEvent * QEventToSoEvent::getMouseDoubleClickEvent ( QMouseEvent *  qevent,
QWidget *  widget 
)
inlinestatic

Transform QMouseDoubleClickEvent to SoMouseButtonEvent.

Parameters
qeventQt event to transform
widgetQWidget where the event is firered

Definition at line 42 of file QEventToSoEvent.h.

◆ getMouseEnterEvent()

static SoLocation2Event * QEventToSoEvent::getMouseEnterEvent ( QEvent *  ,
QWidget *   
)
inlinestatic

Transform QMouseEnterEvent to SoMouseButtonEvent.

Definition at line 74 of file QEventToSoEvent.h.

◆ getMouseLeaveEvent()

static SoLocation2Event * QEventToSoEvent::getMouseLeaveEvent ( QEvent *  ,
QWidget *   
)
inlinestatic

Transform QMouseLeaveEvent to SoMouseButtonEvent.

Definition at line 83 of file QEventToSoEvent.h.

◆ getMouseMoveEvent()

static SoLocation2Event * QEventToSoEvent::getMouseMoveEvent ( QMouseEvent *  qevent,
QWidget *  widget 
)
inlinestatic

Transform QMouseMoveEvent to SoMouseButtonEvent.

Parameters
qeventQt event to transform
widgetQWidget where the event is firered

Definition at line 64 of file QEventToSoEvent.h.

◆ getMousePressEvent()

static SoMouseButtonEvent * QEventToSoEvent::getMousePressEvent ( QMouseEvent *  qevent,
QWidget *  widget 
)
inlinestatic

Transform QMousePressEvent to SoMouseButtonEvent.

Parameters
qeventQt event to transform
widgetQWidget where the event is firered

Definition at line 18 of file QEventToSoEvent.h.

◆ getMouseReleaseEvent()

static SoMouseButtonEvent * QEventToSoEvent::getMouseReleaseEvent ( QMouseEvent *  qevent,
QWidget *  widget 
)
inlinestatic

Transform QMouseReleaseEvent to SoMouseButtonEvent.

Parameters
qeventQt event to transform
widgetQWidget where the event is firered

Definition at line 30 of file QEventToSoEvent.h.

◆ getMouseWheelEvent()

static SoMouseWheelEvent * QEventToSoEvent::getMouseWheelEvent ( QWheelEvent *  qevent,
QWidget *   
)
inlinestatic

Transform QMouseWheelEvent to SoMouseButtonEvent.

Parameters
qeventQt event to transform

Definition at line 53 of file QEventToSoEvent.h.

◆ getTouchEvents()

const std::vector< const SoEvent * > & QEventToSoEvent::getTouchEvents ( QTouchEvent *  qevent,
QWidget *  widget 
)
inline

Transform QTouchEvent to a list of SoEvent representing the touch event.

Parameters
qeventQt event to transform
widgetQWidget where the event is firered

Definition at line 114 of file QEventToSoEvent.h.


The documentation for this class was generated from the following file: