22QQuickInputMethod::QQuickInputMethod(QObject *parent) : QObject(parent)
24 QInputMethod *inputMethod = QGuiApplication::inputMethod();
25 connect(inputMethod, &QInputMethod::anchorRectangleChanged,
this,
26 &QQuickInputMethod::anchorRectangleChanged);
27 connect(inputMethod, &QInputMethod::animatingChanged,
this,
28 &QQuickInputMethod::animatingChanged);
29 connect(inputMethod, &QInputMethod::cursorRectangleChanged,
this,
30 &QQuickInputMethod::cursorRectangleChanged);
31 connect(inputMethod, &QInputMethod::inputDirectionChanged,
this,
32 &QQuickInputMethod::inputDirectionChanged);
33 connect(inputMethod, &QInputMethod::inputItemClipRectangleChanged,
this,
34 &QQuickInputMethod::inputItemClipRectangleChanged);
35 connect(inputMethod, &QInputMethod::keyboardRectangleChanged,
this,
36 &QQuickInputMethod::keyboardRectangleChanged);
37 connect(inputMethod, &QInputMethod::localeChanged,
this, &QQuickInputMethod::localeChanged);
38 connect(inputMethod, &QInputMethod::visibleChanged,
this, &QQuickInputMethod::visibleChanged);