QInputMethodQueryEvent

class PyQt5.QtGui.QInputMethodQueryEvent

C++ documentation