16#include <qwayland-server-text-input-unstable-v2.h>
39 void preEdit(
const QString &text,
const QString &commit);
40 void preEditStyling(uint32_t index, uint32_t length, uint32_t style);
55 return inputInterface->d.get();
Convenient Class which represents a wl_client.
Class holding the Wayland server display loop.
Represents a Seat on the Wayland Display.
Resource representing a wl_surface.
Represent the Global for the interface.
void zwp_text_input_manager_v2_destroy(Resource *resource) override
TextInputManagerV2InterfacePrivate(TextInputManagerV2Interface *_q, Display *display)
void zwp_text_input_manager_v2_get_text_input(Resource *resource, uint32_t id, wl_resource *seat) override
TextInputManagerV2Interface * q
Represents a generic Resource for a text input object.
void sendEnter(SurfaceInterface *surface, quint32 serial)
void zwp_text_input_v2_show_input_panel(Resource *resource) override
QString preferredLanguage
qint32 surroundingTextCursorPosition
void keysymReleased(quint32 keysym, quint32 modifiers)
void zwp_text_input_v2_disable(Resource *resource, wl_resource *surface) override
QSet< SurfaceInterface * > m_enabledSurfaces
QPointer< SurfaceInterface > surface
void sendInputPanelState()
void deleteSurroundingText(quint32 beforeLength, quint32 afterLength)
void preEditStyling(uint32_t index, uint32_t length, uint32_t style)
void setTextDirection(Qt::LayoutDirection direction)
void zwp_text_input_v2_set_cursor_rectangle(Resource *resource, int32_t x, int32_t y, int32_t width, int32_t height) override
void zwp_text_input_v2_enable(Resource *resource, wl_resource *surface) override
QRect overlappedSurfaceArea
TextInputContentPurpose contentPurpose
void setPreEditCursor(qint32 index)
void preEdit(const QString &text, const QString &commit)
void zwp_text_input_v2_set_preferred_language(Resource *resource, const QString &language) override
void zwp_text_input_v2_set_surrounding_text(Resource *resource, const QString &text, int32_t cursor, int32_t anchor) override
void zwp_text_input_v2_update_state(Resource *resource, uint32_t serial, uint32_t reason) override
static TextInputV2InterfacePrivate * get(TextInputV2Interface *inputInterface)
void sendLeave(quint32 serial, SurfaceInterface *surface)
void keysymPressed(quint32 keysym, quint32 modifiers)
void setCursorPosition(qint32 index, qint32 anchor)
TextInputV2InterfacePrivate(SeatInterface *seat, TextInputV2Interface *_q)
QList< Resource * > textInputsForClient(ClientConnection *client) const
qint32 surroundingTextSelectionAnchor
void commitString(const QString &text)
void zwp_text_input_v2_set_content_type(Resource *resource, uint32_t hint, uint32_t purpose) override
TextInputContentHints contentHints
void zwp_text_input_v2_hide_input_panel(Resource *resource) override