# 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 QTextBlock(__PyQt6_sip.wrapper):
    """
    QTextBlock()
    QTextBlock(o: QTextBlock)
    """
    def begin(self): # real signature unknown; restored from __doc__
        """ begin(self) -> QTextBlock.iterator """
        pass

    def blockFormat(self): # real signature unknown; restored from __doc__
        """ blockFormat(self) -> QTextBlockFormat """
        return QTextBlockFormat

    def blockFormatIndex(self): # real signature unknown; restored from __doc__
        """ blockFormatIndex(self) -> int """
        return 0

    def blockNumber(self): # real signature unknown; restored from __doc__
        """ blockNumber(self) -> int """
        return 0

    def charFormat(self): # real signature unknown; restored from __doc__
        """ charFormat(self) -> QTextCharFormat """
        return QTextCharFormat

    def charFormatIndex(self): # real signature unknown; restored from __doc__
        """ charFormatIndex(self) -> int """
        return 0

    def clearLayout(self): # real signature unknown; restored from __doc__
        """ clearLayout(self) """
        pass

    def contains(self, position): # real signature unknown; restored from __doc__
        """ contains(self, position: int) -> bool """
        return False

    def document(self): # real signature unknown; restored from __doc__
        """ document(self) -> QTextDocument """
        return QTextDocument

    def end(self): # real signature unknown; restored from __doc__
        """ end(self) -> QTextBlock.iterator """
        pass

    def firstLineNumber(self): # real signature unknown; restored from __doc__
        """ firstLineNumber(self) -> int """
        return 0

    def isValid(self): # real signature unknown; restored from __doc__
        """ isValid(self) -> bool """
        return False

    def isVisible(self): # real signature unknown; restored from __doc__
        """ isVisible(self) -> bool """
        return False

    def layout(self): # real signature unknown; restored from __doc__
        """ layout(self) -> QTextLayout """
        return QTextLayout

    def length(self): # real signature unknown; restored from __doc__
        """ length(self) -> int """
        return 0

    def lineCount(self): # real signature unknown; restored from __doc__
        """ lineCount(self) -> int """
        return 0

    def next(self): # real signature unknown; restored from __doc__
        """ next(self) -> QTextBlock """
        return QTextBlock

    def position(self): # real signature unknown; restored from __doc__
        """ position(self) -> int """
        return 0

    def previous(self): # real signature unknown; restored from __doc__
        """ previous(self) -> QTextBlock """
        return QTextBlock

    def revision(self): # real signature unknown; restored from __doc__
        """ revision(self) -> int """
        return 0

    def setLineCount(self, count): # real signature unknown; restored from __doc__
        """ setLineCount(self, count: int) """
        pass

    def setRevision(self, rev): # real signature unknown; restored from __doc__
        """ setRevision(self, rev: int) """
        pass

    def setUserData(self, data): # real signature unknown; restored from __doc__
        """ setUserData(self, data: QTextBlockUserData) """
        pass

    def setUserState(self, state): # real signature unknown; restored from __doc__
        """ setUserState(self, state: int) """
        pass

    def setVisible(self, visible): # real signature unknown; restored from __doc__
        """ setVisible(self, visible: bool) """
        pass

    def text(self): # real signature unknown; restored from __doc__
        """ text(self) -> str """
        return ""

    def textDirection(self): # real signature unknown; restored from __doc__
        """ textDirection(self) -> Qt.LayoutDirection """
        pass

    def textFormats(self): # real signature unknown; restored from __doc__
        """ textFormats(self) -> List[QTextLayout.FormatRange] """
        return []

    def textList(self): # real signature unknown; restored from __doc__
        """ textList(self) -> QTextList """
        return QTextList

    def userData(self): # real signature unknown; restored from __doc__
        """ userData(self) -> QTextBlockUserData """
        return QTextBlockUserData

    def userState(self): # real signature unknown; restored from __doc__
        """ userState(self) -> int """
        return 0

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        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 __init__(self, o=None): # real signature unknown; restored from __doc__ with multiple overloads
        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

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    iterator = None # (!) real value is "<class 'PyQt6.QtGui.QTextBlock.iterator'>"
    __hash__ = None


