5#include <private/qinputmethod_p.h>
8#include <qpa/qplatforminputcontext_p.h>
17QInputMethod::QInputMethod()
25QInputMethod::~QInputMethod()
48 return d->inputItemTransform;
78 return d->inputRectangle;
91 d->inputRectangle =
rect;
100 r =
query.value(imquery).toRectF();
375 if (
enabled && !supportsHiddenText
393 static const char *signature =
"inputMethodQuery(Qt::InputMethodQuery,QVariant)";
394 const bool newMethodSupported = focusObject->metaObject()->indexOfMethod(signature) != -1;
395 if (newMethodSupported) {
416#include "moc_qinputmethod.cpp"
static bool sendEvent(QObject *receiver, QEvent *event)
Sends event event directly to receiver receiver, using the notify() function.
static QPlatformIntegration * platformIntegration()
static QLocale c()
Returns a QLocale object initialized to the "C" locale.
static void setInputMethodAccepted(bool accepted)
The QPlatformInputContext class abstracts the input method dependent data and composing state.
virtual bool isInputPanelVisible() const
Returns input panel visibility status.
virtual bool isAnimating() const
This function can be reimplemented to return true whenever input method is animating shown or hidden.
virtual QLocale locale() const
virtual bool hasCapability(Capability capability) const
Returns whether the implementation supports capability.
virtual void update(Qt::InputMethodQueries)
Notification on editor updates.
virtual void invokeAction(QInputMethod::Action, int cursorPosition)
Called when the word currently being composed in the input item is tapped by the user.
virtual void reset()
Method to be called when input method needs to be reset.
virtual void showInputPanel()
Request to show input panel.
virtual Qt::LayoutDirection inputDirection() const
virtual void hideInputPanel()
Request to hide input panel.
virtual QRectF keyboardRect() const
This function can be reimplemented to return virtual keyboard rectangle in currently active window co...
\inmodule QtCore\reentrant
bool isValid() const
Returns true if the storage type of this variant is not QMetaType::UnknownType; otherwise returns fal...
Combined button and popup list for selecting options.
@ ImInputItemClipRectangle
#define Q_RETURN_ARG(Type, data)
#define Q_ARG(Type, data)
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLuint GLenum GLenum transform