Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtWaylandClient::QWaylandTextInputv2 Class Reference

#include <qwaylandtextinputv2_p.h>

+ Inheritance diagram for QtWaylandClient::QWaylandTextInputv2:
+ Collaboration diagram for QtWaylandClient::QWaylandTextInputv2:

Public Member Functions

 QWaylandTextInputv2 (QWaylandDisplay *display, struct ::zwp_text_input_v2 *text_input)
 
 ~QWaylandTextInputv2 () override
 
void reset () override
 
void commit () override
 
void updateState (Qt::InputMethodQueries queries, uint32_t flags) override
 
void setCursorInsidePreedit (int cursor) override
 
bool isInputPanelVisible () const override
 
QRectF keyboardRect () const override
 
QLocale locale () const override
 
Qt::LayoutDirection inputDirection () const override
 
void showInputPanel () override
 
void hideInputPanel () override
 
void enableSurface (::wl_surface *surface) override
 
void disableSurface (::wl_surface *surface) override
 
- Public Member Functions inherited from QtWaylandClient::QWaylandTextInputInterface
virtual ~QWaylandTextInputInterface ()
 

Protected Member Functions

void zwp_text_input_v2_enter (uint32_t serial, struct ::wl_surface *surface) override
 
void zwp_text_input_v2_leave (uint32_t serial, struct ::wl_surface *surface) override
 
void zwp_text_input_v2_modifiers_map (wl_array *map) override
 
void zwp_text_input_v2_input_panel_state (uint32_t state, int32_t x, int32_t y, int32_t width, int32_t height) override
 
void zwp_text_input_v2_preedit_string (const QString &text, const QString &commit) override
 
void zwp_text_input_v2_preedit_styling (uint32_t index, uint32_t length, uint32_t style) override
 
void zwp_text_input_v2_preedit_cursor (int32_t index) override
 
void zwp_text_input_v2_commit_string (const QString &text) override
 
void zwp_text_input_v2_cursor_position (int32_t index, int32_t anchor) override
 
void zwp_text_input_v2_delete_surrounding_text (uint32_t before_length, uint32_t after_length) override
 
void zwp_text_input_v2_keysym (uint32_t time, uint32_t sym, uint32_t state, uint32_t modifiers) override
 
void zwp_text_input_v2_language (const QString &language) override
 
void zwp_text_input_v2_text_direction (uint32_t direction) override
 
void zwp_text_input_v2_input_method_changed (uint32_t serial, uint32_t flags) override
 

Additional Inherited Members

- Public Types inherited from QtWaylandClient::QWaylandTextInputInterface
enum  TextInputState { update_state_change = 0 , update_state_full = 1 , update_state_reset = 2 , update_state_enter = 3 }
 

Detailed Description

Definition at line 32 of file qwaylandtextinputv2_p.h.

Constructor & Destructor Documentation

◆ QWaylandTextInputv2()

QtWaylandClient::QWaylandTextInputv2::QWaylandTextInputv2 ( QWaylandDisplay * display,
struct ::zwp_text_input_v2 * text_input )

Definition at line 39 of file qwaylandtextinputv2.cpp.

◆ ~QWaylandTextInputv2()

QtWaylandClient::QWaylandTextInputv2::~QWaylandTextInputv2 ( )
override

Definition at line 45 of file qwaylandtextinputv2.cpp.

Member Function Documentation

◆ commit()

void QtWaylandClient::QWaylandTextInputv2::commit ( )
overridevirtual

Implements QtWaylandClient::QWaylandTextInputInterface.

Definition at line 59 of file qwaylandtextinputv2.cpp.

References reset().

+ Here is the call graph for this function:

◆ disableSurface()

void QtWaylandClient::QWaylandTextInputv2::disableSurface ( ::wl_surface * surface)
inlineoverridevirtual

◆ enableSurface()

void QtWaylandClient::QWaylandTextInputv2::enableSurface ( ::wl_surface * surface)
inlineoverridevirtual

◆ hideInputPanel()

void QtWaylandClient::QWaylandTextInputv2::hideInputPanel ( )
inlineoverridevirtual

Reimplemented from QtWaylandClient::QWaylandTextInputInterface.

Definition at line 54 of file qwaylandtextinputv2_p.h.

◆ inputDirection()

Qt::LayoutDirection QtWaylandClient::QWaylandTextInputv2::inputDirection ( ) const
overridevirtual

◆ isInputPanelVisible()

bool QtWaylandClient::QWaylandTextInputv2::isInputPanelVisible ( ) const
overridevirtual

◆ keyboardRect()

QRectF QtWaylandClient::QWaylandTextInputv2::keyboardRect ( ) const
overridevirtual

◆ locale()

QLocale QtWaylandClient::QWaylandTextInputv2::locale ( ) const
overridevirtual

◆ reset()

void QtWaylandClient::QWaylandTextInputv2::reset ( )
overridevirtual

Implements QtWaylandClient::QWaylandTextInputInterface.

Definition at line 52 of file qwaylandtextinputv2.cpp.

Referenced by commit().

+ Here is the caller graph for this function:

◆ setCursorInsidePreedit()

void QtWaylandClient::QWaylandTextInputv2::setCursorInsidePreedit ( int cursor)
overridevirtual

◆ showInputPanel()

void QtWaylandClient::QWaylandTextInputv2::showInputPanel ( )
inlineoverridevirtual

Reimplemented from QtWaylandClient::QWaylandTextInputInterface.

Definition at line 50 of file qwaylandtextinputv2_p.h.

◆ updateState()

void QtWaylandClient::QWaylandTextInputv2::updateState ( Qt::InputMethodQueries queries,
uint32_t flags )
overridevirtual

◆ zwp_text_input_v2_commit_string()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_commit_string ( const QString & text)
overrideprotected

Definition at line 267 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_cursor_position()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_cursor_position ( int32_t index,
int32_t anchor )
overrideprotected

Definition at line 286 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_delete_surrounding_text()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_delete_surrounding_text ( uint32_t before_length,
uint32_t after_length )
overrideprotected

Definition at line 291 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_enter()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_enter ( uint32_t serial,
struct ::wl_surface * surface )
overrideprotected

Definition at line 182 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_input_method_changed()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_input_method_changed ( uint32_t serial,
uint32_t flags )
overrideprotected

Definition at line 353 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_input_panel_state()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_input_panel_state ( uint32_t state,
int32_t x,
int32_t y,
int32_t width,
int32_t height )
overrideprotected

Definition at line 223 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_keysym()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_keysym ( uint32_t time,
uint32_t sym,
uint32_t state,
uint32_t modifiers )
overrideprotected

Definition at line 296 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_language()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_language ( const QString & language)
overrideprotected

Definition at line 323 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_leave()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_leave ( uint32_t serial,
struct ::wl_surface * surface )
overrideprotected

Definition at line 190 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_modifiers_map()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_modifiers_map ( wl_array * map)
overrideprotected

Definition at line 201 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_preedit_cursor()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_preedit_cursor ( int32_t index)
overrideprotected

Definition at line 262 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_preedit_string()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_preedit_string ( const QString & text,
const QString & commit )
overrideprotected

Definition at line 237 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_preedit_styling()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_preedit_styling ( uint32_t index,
uint32_t length,
uint32_t style )
overrideprotected

Definition at line 257 of file qwaylandtextinputv2.cpp.

◆ zwp_text_input_v2_text_direction()

void QtWaylandClient::QWaylandTextInputv2::zwp_text_input_v2_text_direction ( uint32_t direction)
overrideprotected

Definition at line 337 of file qwaylandtextinputv2.cpp.


The documentation for this class was generated from the following files: