Skip to content

PythonQt.Qt.QInputMethod

QInputMethod

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QInputMethod is used by the text editors for integrating to the platform text input methods and more commonly by application views for querying various text input method-related information like virtual keyboard visibility and keyboard dimensions.

Qt Quick also provides access to QInputMethod in QML through Qt global object as Qt.inputMethod property.

Source: https://doc.qt.io/archives/qt-5.15/qinputmethod.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
Action attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
Click attribute Any (shared captured text)
ContextMenu attribute Any (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
anchorRectangle attribute QRectF Input item's anchor rectangle in window coordinates. (shared captured text)
anchorRectangleChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.anchorRectangleChanged; argument details are not documented.
animating attribute Any True when the virtual keyboard is being opened or closed. (shared captured text)
animatingChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.animatingChanged; argument details are not documented.
blockSignals function (self, b: Any) -> bool X.blockSignals(b) -> bool (shared captured text)
childEvent function (self, event: Any) -> Any (shared captured text)
children function (self) -> tuple X.children() -> tuple (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
commit function (self) -> None Commits the word user is currently composing to the editor. (shared captured text)
connect function (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool X.connect(signal, receiver, slot, type) -> bool (shared captured text)
cursorRectangle attribute QRectF Input item's cursor rectangle in window coordinates. (shared captured text)
cursorRectangleChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.cursorRectangleChanged; argument details are not documented.
customEvent function (self, event: Any) -> Any (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
deleteLater function (self) -> Any (shared captured text)
destroyed function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.destroyed; argument details are not documented.
disconnect function (self, signal: Any, receiver: Any, slot: Any) -> bool X.disconnect(signal, receiver, slot) -> bool (shared captured text)
dumpObjectInfo function (self) -> Any (shared captured text)
dumpObjectTree function (self) -> Any (shared captured text)
dynamicPropertyNames function (self) -> Any (shared captured text)
event function (self, event: Any) -> bool X.event(event) -> bool (shared captured text)
eventFilter function (self, watched: Any, event: Any) -> bool X.eventFilter(watched, event) -> bool (shared captured text)
findChild function (self, type: Any, name: Any) -> Any X.findChild(type, name) -> PythonQt.private.QObject (shared captured text)
findChildren function (self, type: Any, name: Any) -> tuple X.findChildren(type, name) -> tuple (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
hide function (self) -> None Requests virtual keyboard to close. (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
inputDirection attribute Any Current input direction. (shared captured text)
inputDirectionChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.inputDirectionChanged; argument details are not documented.
inputItemClipRectangle attribute QRectF Input item's clipped rectangle in window coordinates. (shared captured text)
inputItemClipRectangleChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.inputItemClipRectangleChanged; argument details are not documented.
inputItemRectangle function (self) -> Any X.inputItemRectangle() -> PythonQt.QtCore.QRectF (shared captured text)
inputItemTransform function (self) -> Any X.inputItemTransform() -> PythonQt.QtGui.QTransform (shared captured text)
installEventFilter function (self, filterObj: Any) -> Any (shared captured text)
invokeAction function (self, a: Any, cursorPosition: int) -> None X.invokeAction(a, cursorPosition) (shared captured text)
isAnimating function (self) -> bool X.isAnimating() -> bool (shared captured text)
isSignalConnected function (self, signal: Any) -> bool X.isSignalConnected(signal) -> bool (shared captured text)
isVisible function (self) -> bool X.isVisible() -> bool (shared captured text)
isWidgetType function (self) -> bool X.isWidgetType() -> bool (shared captured text)
isWindowType function (self) -> bool X.isWindowType() -> bool (shared captured text)
keyboardRectangle attribute QRectF Virtual keyboard's geometry in window coordinates. (shared captured text)
keyboardRectangleChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.keyboardRectangleChanged; argument details are not documented.
killTimer function (self, id: Any) -> Any (shared captured text)
locale attribute QLocale Current input locale. (shared captured text)
localeChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.localeChanged; argument details are not documented.
metaObject function (self) -> Any X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text)
moveToThread function (self, thread: Any) -> Any (shared captured text)
objectName attribute Any (shared captured text)
objectNameChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.objectNameChanged; argument details are not documented.
parent function (self) -> Any X.parent() -> PythonQt.private.QObject (shared captured text)
property function (self, name: Any) -> Any X.property(name) -> object (shared captured text)
queryFocusObject function (self, query: Any, argument: Any) -> Any X.queryFocusObject(query, argument) -> object (shared captured text)
removeEventFilter function (self, obj: Any) -> Any (shared captured text)
reset function (self) -> None Resets the input method state. (shared captured text)
sender function (self) -> Any X.sender() -> PythonQt.private.QObject (shared captured text)
senderSignalIndex function (self) -> int X.senderSignalIndex() -> int (shared captured text)
setInputItemRectangle function (self, rect: Any) -> None Sets the input item's geometry to be rect, in input item coordinates. (shared captured text)
setInputItemTransform function (self, transform: Any) -> None Sets the transformation from input item coordinates to window coordinates to be transform. (shared captured text)
setObjectName function (self, name: Any) -> Any (shared captured text)
setParent function (self, parent: Any) -> Any (shared captured text)
setProperty function (self, name: Any, value: Any) -> bool X.setProperty(name, value) -> bool (shared captured text)
setVisible function (self, visible: bool) -> None Controls the keyboard visibility. (shared captured text)
show function (self) -> None Requests virtual keyboard to open. (shared captured text)
signalsBlocked function (self) -> bool X.signalsBlocked() -> bool (shared captured text)
startTimer function (self, interval: Any, timerType: Any) -> int X.startTimer(interval, timerType) -> int (shared captured text)
thread function (self) -> Any (shared captured text)
timerEvent function (self, event: Any) -> Any (shared captured text)
tr function (self, text: Any, ambig: Any, n: Any) -> str X.tr(text, ambig, n) -> str (shared captured text)
update function (self, queries: Any) -> None Called by the input item to inform the platform input methods when there has been state changes in editor's input method query attributes. (shared captured text)
visible attribute Any Virtual keyboard's visibility on the screen (shared captured text)
visibleChanged function (self, *args: Any, **kwargs: Any) -> Any Native PythonQt.Qt.QInputMethod.visibleChanged; argument details are not documented.