161QQuickInputMethod::QQuickInputMethod(QObject *parent) : QObject(parent)
163 QInputMethod *inputMethod = QGuiApplication::inputMethod();
164 connect(inputMethod, &QInputMethod::anchorRectangleChanged,
this,
165 &QQuickInputMethod::anchorRectangleChanged);
166 connect(inputMethod, &QInputMethod::animatingChanged,
this,
167 &QQuickInputMethod::animatingChanged);
168 connect(inputMethod, &QInputMethod::cursorRectangleChanged,
this,
169 &QQuickInputMethod::cursorRectangleChanged);
170 connect(inputMethod, &QInputMethod::inputDirectionChanged,
this,
171 &QQuickInputMethod::inputDirectionChanged);
172 connect(inputMethod, &QInputMethod::inputItemClipRectangleChanged,
this,
173 &QQuickInputMethod::inputItemClipRectangleChanged);
174 connect(inputMethod, &QInputMethod::keyboardRectangleChanged,
this,
175 &QQuickInputMethod::keyboardRectangleChanged);
176 connect(inputMethod, &QInputMethod::localeChanged,
this, &QQuickInputMethod::localeChanged);
177 connect(inputMethod, &QInputMethod::visibleChanged,
this, &QQuickInputMethod::visibleChanged);