19#include <qwayland-server-text-input-unstable-v1.h>
43 void preEdit(
const QString &text,
const QString &commit);
44 void preEditStyling(quint32 index, uint32_t length, uint32_t style);
50 void keysymPressed(quint32 time, quint32 keysym, quint32 modifiers);
51 void keysymReleased(quint32 time, quint32 keysym, quint32 modifiers);
67 return inputInterface->d.get();
74 QPointer<SeatInterface>
seat;
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.
std::unique_ptr< TextInputV1Interface > textInputV1
TextInputManagerV1Interface * q
void zwp_text_input_manager_v1_create_text_input(Resource *resource, uint32_t id) override
TextInputManagerV1InterfacePrivate(TextInputManagerV1Interface *_q, Display *display)
Represents a generic Resource for a text input object.
void keysymReleased(quint32 time, quint32 keysym, quint32 modifiers)
QHash< Resource *, quint32 > serialHash
void sendEnter(SurfaceInterface *surface)
QRect overlappedSurfaceArea
TextInputContentPurpose contentPurpose
void zwp_text_input_v1_show_input_panel(Resource *resource) override
qint32 surroundingTextSelectionAnchor
void setCursorPosition(qint32 index, qint32 anchor)
void keysymPressed(quint32 time, quint32 keysym, quint32 modifiers)
void setPreEditCursor(qint32 index)
void commitString(const QString &text)
QPointer< SurfaceInterface > surface
void deleteSurroundingText(qint32 index, quint32 length)
void sendLeave(SurfaceInterface *surface)
void forActivatedResource(const T &callback)
void setTextDirection(Qt::LayoutDirection direction)
void preEditStyling(quint32 index, uint32_t length, uint32_t style)
void zwp_text_input_v1_reset(Resource *resource) override
qint32 surroundingTextCursorPosition
void zwp_text_input_v1_set_preferred_language(Resource *resource, const QString &language) override
void preEdit(const QString &text, const QString &commit)
TextInputContentHints contentHints
QString preferredLanguage
void zwp_text_input_v1_set_cursor_rectangle(Resource *resource, int32_t x, int32_t y, int32_t width, int32_t height) override
void sendInputPanelState()
void zwp_text_input_v1_destroy_resource(Resource *resource) override
void zwp_text_input_v1_set_content_type(Resource *resource, uint32_t hint, uint32_t purpose) override
void zwp_text_input_v1_deactivate(Resource *resource, wl_resource *seat) override
QList< Resource * > textInputsForClient(ClientConnection *client) const
QHash< SurfaceInterface *, Resource * > activated
void zwp_text_input_v1_hide_input_panel(Resource *resource) override
void zwp_text_input_v1_invoke_action(Resource *resource, uint32_t button, uint32_t index) override
void zwp_text_input_v1_bind_resource(Resource *resource) override
void zwp_text_input_v1_activate(Resource *resource, struct wl_resource *seat, struct wl_resource *surface) override
void zwp_text_input_v1_set_surrounding_text(Resource *resource, const QString &text, uint32_t cursor, uint32_t anchor) override
QPointer< SeatInterface > seat
void zwp_text_input_v1_commit_state(Resource *resource, uint32_t serial) override
TextInputV1InterfacePrivate(SeatInterface *seat, TextInputV1Interface *_q)
static TextInputV1InterfacePrivate * get(TextInputV1Interface *inputInterface)