|
|
void | trackMousePosition () const |
| |
|
| | MouseEventsReceiver (QObject *parent=nullptr, int framerate=100, bool blockEventPropagation=false, uint64_t debouncingTimeoutMs=100) |
| |
|
int | frameRate () const |
| |
|
void | blockEventPropagation (bool val) |
| |
|
|
Signal< vec2i > | signalMousePosition |
| |
|
Signal< vec2 > | signalScroll |
| |
|
Signal< Qt::MouseButton > | signalButtonPressed |
| |
|
Signal< Qt::MouseButton > | signalButtonReleased |
| |
|
|
bool | eventFilter (QObject *obj, QEvent *event) override |
| |
|
|
QTimer | timer |
| |
|
int | m_frameRate |
| |
|
std::atomic< bool > | m_blockEventPropagation |
| |
|
std::map< QEvent::Type, uint64_t > | m_lastEventReceived |
| |
|
uint64_t | m_minEventTimeout |
| |
◆ MouseEventsReceiver()
| MouseEventsReceiver |
( |
QObject * | parent = nullptr, |
|
|
int | framerate = 100, |
|
|
bool | blockEventPropagation = false, |
|
|
uint64_t | debouncingTimeoutMs = 100 ) |
- Parameters
-
| parent | The parent object of the qWidget |
| framerate | The framerate at which the mouse position is streamed |
| blockEventPropagation | Whether the reception of the key press/released event should be propagated further or stopped. If stopped, eventual event filters installed before the current one will not receive any keyboard events. |
| debouncingTimeoutMs | The accepted timeout between events of the same type. Events occurring within the timeout time from the last event of the same type are not processed |
The documentation for this class was generated from the following file:
- RoboticsPlugin/Include/ImFusion/Robotics/IO/MouseEventsReceiver.h