QInputMethod

class PyQt5.QtGui.QInputMethod

C++ documentation