# encoding: utf-8
# module PyQt6.QtGui
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\PyQt6\QtGui.pyd
# by generator 1.147
# no doc

# imports
import PyQt6.QtCore as __PyQt6_QtCore
import PyQt6.sip as __PyQt6_sip


class QInputMethodEvent(__PyQt6_QtCore.QEvent):
    """
    QInputMethodEvent()
    QInputMethodEvent(preeditText: str, attributes: Iterable[QInputMethodEvent.Attribute])
    """
    def attributes(self): # real signature unknown; restored from __doc__
        """ attributes(self) -> List[QInputMethodEvent.Attribute] """
        return []

    def clone(self): # real signature unknown; restored from __doc__
        """ clone(self) -> QInputMethodEvent """
        return QInputMethodEvent

    def commitString(self): # real signature unknown; restored from __doc__
        """ commitString(self) -> str """
        return ""

    def preeditString(self): # real signature unknown; restored from __doc__
        """ preeditString(self) -> str """
        return ""

    def replacementLength(self): # real signature unknown; restored from __doc__
        """ replacementLength(self) -> int """
        return 0

    def replacementStart(self): # real signature unknown; restored from __doc__
        """ replacementStart(self) -> int """
        return 0

    def setCommitString(self, commitString, from_=0, length=0): # real signature unknown; restored from __doc__
        """ setCommitString(self, commitString: str, from_: int = 0, length: int = 0) """
        pass

    def __init__(self, preeditText=None, attributes=None, QInputMethodEvent_Attribute=None): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Attribute = None # (!) real value is "<class 'PyQt6.QtGui.QInputMethodEvent.Attribute'>"
    AttributeType = None # (!) real value is "<enum 'AttributeType'>"


