![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
WindowSystemEventHandler (QWaylandCompositor *c) | |
bool | sendEvent (QWindowSystemInterfacePrivate::WindowSystemEvent *e) override |
void | handleKeyEvent (QWindowSystemInterfacePrivate::KeyEvent *ke) |
![]() | |
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().
|
inlineoverridevirtual |
Reimplemented from QWindowSystemEventHandler.
Definition at line 75 of file qwaylandcompositor.cpp.
References e, handleKeyEvent(), QWindowSystemInterfacePrivate::Key, and QWindowSystemEventHandler::sendEvent().
QWaylandCompositor* QtWayland::WindowSystemEventHandler::compositor = nullptr |
Definition at line 133 of file qwaylandcompositor.cpp.
Referenced by handleKeyEvent().