|
hydrogen 1.2.6
|
Compatibility class to support QMouseEvent more esily in Qt5 and Qt6. More...
#include <MouseEvent.h>
Public Member Functions | |
| MouseEvent (QMouseEvent *) | |
| ~MouseEvent () | |
| QPointF | globalPosition () const |
| QPointF | position () const |
Compatibility class to support QMouseEvent more esily in Qt5 and Qt6.
At some point, when we dropped Qt5 support, we can drop this class too and use the plain QMouseEvent again. Therefore, it is important to not add any members incompatible with the Qt6 interface of QMouseEvent.
Definition at line 34 of file MouseEvent.h.
| MouseEvent | ( | QMouseEvent * | pEv | ) |
Definition at line 28 of file MouseEvent.cpp.
| ~MouseEvent | ( | ) |
Definition at line 38 of file MouseEvent.cpp.
| QPointF globalPosition | ( | ) | const |
Definition at line 41 of file MouseEvent.cpp.
| QPointF position | ( | ) | const |
Definition at line 49 of file MouseEvent.cpp.