32 QML_NAMED_ELEMENT(InputMethod)
33 QML_ADDED_IN_VERSION(6, 4)
36 Q_PROPERTY(QRectF cursorRectangle READ cursorRectangle NOTIFY cursorRectangleChanged FINAL)
37 Q_PROPERTY(QRectF anchorRectangle READ anchorRectangle NOTIFY anchorRectangleChanged FINAL)
38 Q_PROPERTY(QRectF keyboardRectangle READ keyboardRectangle NOTIFY keyboardRectangleChanged FINAL)
39 Q_PROPERTY(QRectF inputItemClipRectangle READ inputItemClipRectangle NOTIFY
40 inputItemClipRectangleChanged FINAL)
41 Q_PROPERTY(
bool visible READ isVisible NOTIFY visibleChanged FINAL)
42 Q_PROPERTY(
bool animating READ isAnimating NOTIFY animatingChanged FINAL)
43 Q_PROPERTY(QLocale locale READ locale NOTIFY localeChanged FINAL)
44 Q_PROPERTY(Qt::LayoutDirection inputDirection READ inputDirection NOTIFY inputDirectionChanged FINAL)
46 explicit QQuickInputMethod(QObject *parent =
nullptr);
48 QRectF anchorRectangle()
const;
49 QRectF cursorRectangle()
const;
50 Qt::LayoutDirection inputDirection()
const;
51 QRectF inputItemClipRectangle()
const;
53 QRectF inputItemRectangle()
const;
54 void setInputItemRectangle(
const QRectF &rect);
56 QTransform inputItemTransform()
const;
57 void setInputItemTransform(
const QTransform &transform);
59 bool isAnimating()
const;
61 bool isVisible()
const;
62 void setVisible(
bool visible);
64 QRectF keyboardRectangle()
const;
65 QLocale locale()
const;
67 void anchorRectangleChanged();
68 void animatingChanged();
69 void cursorRectangleChanged();
70 void inputDirectionChanged(Qt::LayoutDirection newDirection);
71 void inputItemClipRectangleChanged();
72 void keyboardRectangleChanged();
74 void visibleChanged();
79 void invokeAction(QInputMethod::Action a,
int cursorPosition);
82 void update(Qt::InputMethodQueries queries);