# 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 QKeySequence(__PyQt6_sip.simplewrapper):
    """
    QKeySequence()
    QKeySequence(ks: QKeySequence)
    QKeySequence(key: QKeySequence.StandardKey)
    QKeySequence(key: str, format: QKeySequence.SequenceFormat = QKeySequence.NativeText)
    QKeySequence(k1: int, key2: int = 0, key3: int = 0, key4: int = 0)
    QKeySequence(k1: QKeyCombination, key2: QKeyCombination = QKeyCombination.fromCombined(0), key3: QKeyCombination = QKeyCombination.fromCombined(0), key4: QKeyCombination = QKeyCombination.fromCombined(0))
    QKeySequence(variant: Any)
    """
    def count(self): # real signature unknown; restored from __doc__
        """ count(self) -> int """
        return 0

    def fromString(self, p_str, format=None): # real signature unknown; restored from __doc__
        """ fromString(str: str, format: QKeySequence.SequenceFormat = QKeySequence.PortableText) -> QKeySequence """
        return QKeySequence

    def isDetached(self): # real signature unknown; restored from __doc__
        """ isDetached(self) -> bool """
        return False

    def isEmpty(self): # real signature unknown; restored from __doc__
        """ isEmpty(self) -> bool """
        return False

    def keyBindings(self, key): # real signature unknown; restored from __doc__
        """ keyBindings(key: QKeySequence.StandardKey) -> List[QKeySequence] """
        return []

    def listFromString(self, p_str, format=None): # real signature unknown; restored from __doc__
        """ listFromString(str: str, format: QKeySequence.SequenceFormat = QKeySequence.PortableText) -> List[QKeySequence] """
        return []

    def listToString(self, p_list, Union=None, QKeySequence=None, QKeySequence_StandardKey=None, p_str=None, p_int=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ listToString(list: Iterable[Union[QKeySequence, QKeySequence.StandardKey, str, int]], format: QKeySequence.SequenceFormat = QKeySequence.PortableText) -> str """
        pass

    def matches(self, seq, QKeySequence=None, QKeySequence_StandardKey=None, p_str=None, p_int=None): # real signature unknown; restored from __doc__
        """ matches(self, seq: Union[QKeySequence, QKeySequence.StandardKey, str, int]) -> QKeySequence.SequenceMatch """
        pass

    def mnemonic(self, text): # real signature unknown; restored from __doc__
        """ mnemonic(text: str) -> QKeySequence """
        return QKeySequence

    def swap(self, other): # real signature unknown; restored from __doc__
        """ swap(self, other: QKeySequence) """
        pass

    def toString(self, format=None): # real signature unknown; restored from __doc__
        """ toString(self, format: QKeySequence.SequenceFormat = QKeySequence.PortableText) -> str """
        return ""

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __getitem__(self, *args, **kwargs): # real signature unknown
        """ Return self[key]. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __hash__(self, *args, **kwargs): # real signature unknown
        """ Return hash(self). """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __len__(self, *args, **kwargs): # real signature unknown
        """ Return len(self). """
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    def __reduce__(self, *args, **kwargs): # real signature unknown
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    SequenceFormat = None # (!) real value is "<enum 'SequenceFormat'>"
    SequenceMatch = None # (!) real value is "<enum 'SequenceMatch'>"
    StandardKey = None # (!) real value is "<enum 'StandardKey'>"


