4#ifndef QIOSINPUTCONTEXT_H
5#define QIOSINPUTCONTEXT_H
7#include <UIKit/UIKit.h>
9#include <QtCore/qlocale.h>
10#include <QtGui/qevent.h>
11#include <QtGui/qtransform.h>
12#include <qpa/qplatforminputcontext.h>
55 bool isValid()
const override {
return true; }
64 void update(Qt::InputMethodQueries)
override;
88 UIView* scrollableRootView();
void setFocusObject(QObject *object) override
This virtual method gets called to notify updated focus to object.
void clearCurrentFocusObject()
QRectF keyboardRect() const override
This function can be reimplemented to return virtual keyboard rectangle in currently active window co...
const KeyboardState & keyboardState()
void updateKeyboardState(NSNotification *notification=nullptr)
bool isValid() const override
Returns input context validity.
static QIOSInputContext * instance()
QLocale locale() const override
void reset() override
Method to be called when input method needs to be reset.
const ImeState & imeState()
bool isAnimating() const override
This function can be reimplemented to return true whenever input method is animating shown or hidden.
void showInputPanel() override
Request to show input panel.
void focusWindowChanged(QWindow *focusWindow)
void hideInputPanel() override
Request to hide input panel.
bool isInputPanelVisible() const override
Returns input panel visibility status.
bool inputMethodAccepted() const
void update(Qt::InputMethodQueries) override
Notification on editor updates.
The QPlatformInputContext class abstracts the input method dependent data and composing state.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
static const QCssKnownValue properties[NumProperties - 1]
const char kImePlatformDataInputView[]
const char kImePlatformDataReturnKeyType[]
const char kImePlatformDataInputAccessoryView[]
const char kImePlatformDataHideShortcutsBar[]
Qt::InputMethodQueries update(Qt::InputMethodQueries properties)
QInputMethodQueryEvent currentState
NSTimeInterval animationDuration
UIViewAnimationCurve animationCurve