![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for QtWayland::WindowSystemEventHandler:
Collaboration diagram for QtWayland::WindowSystemEventHandler:Public Member Functions | |
| WindowSystemEventHandler (QWaylandCompositor *c) | |
| bool | sendEvent (QWindowSystemInterfacePrivate::WindowSystemEvent *e) override |
| void | handleKeyEvent (QWindowSystemInterfacePrivate::KeyEvent *ke) |
Public Member Functions inherited from QWindowSystemEventHandler | |
| virtual | ~QWindowSystemEventHandler () |
| virtual bool | sendEvent (QWindowSystemInterfacePrivate::WindowSystemEvent *event) |
Public Attributes | |
| QWaylandCompositor * | compositor = nullptr |
Definition at line 71 of file qwaylandcompositor.cpp.
|
inline |
Definition at line 74 of file qwaylandcompositor.cpp.
|
inline |
Definition at line 86 of file qwaylandcompositor.cpp.
References compositor, QWaylandKeyboardPrivate::get(), QWindowSystemInterfacePrivate::KeyEvent::key, QWaylandKeyboardPrivate::keyEvent(), QEvent::KeyPress, QXkbCommon::keysymToQtKey(), QWindowSystemInterfacePrivate::KeyEvent::keyType, QXkbCommon::lookupString(), QWaylandKeyboardPrivate::maybeUpdateKeymap(), QWindowSystemInterfacePrivate::InputEvent::modifiers, QXkbCommon::modifiers(), QWindowSystemInterfacePrivate::KeyEvent::nativeModifiers, QWindowSystemInterfacePrivate::KeyEvent::nativeScanCode, QWindowSystemInterfacePrivate::KeyEvent::nativeVirtualKey, QGuiApplication::platformName, QStringLiteral, QWindowSystemInterfacePrivate::KeyEvent::repeat, QWindowSystemEventHandler::sendEvent(), text, QWindowSystemInterfacePrivate::KeyEvent::unicode, and QWaylandKeyboardPrivate::updateModifierState().
Referenced by sendEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from QWindowSystemEventHandler.
Definition at line 75 of file qwaylandcompositor.cpp.
References e, handleKeyEvent(), QWindowSystemInterfacePrivate::Key, and QWindowSystemEventHandler::sendEvent().
Here is the call graph for this function:| QWaylandCompositor* QtWayland::WindowSystemEventHandler::compositor = nullptr |
Definition at line 133 of file qwaylandcompositor.cpp.
Referenced by handleKeyEvent().