# encoding: utf-8
# module PyQt6.QtWidgets
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\PyQt6\QtWidgets.pyd
# by generator 1.147
# no doc

# imports
import PyQt6.QtCore as __PyQt6_QtCore
import PyQt6.QtGui as __PyQt6_QtGui
import PyQt6.sip as __PyQt6_sip


from .QLayout import QLayout

class QGridLayout(QLayout):
    """ QGridLayout(parent: typing.Optional[QWidget] = None) """
    def addChildLayout(self, *args, **kwargs): # real signature unknown
        pass

    def addChildWidget(self, *args, **kwargs): # real signature unknown
        pass

    def addItem(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        addItem(self, item: QLayoutItem, row: int, column: int, rowSpan: int = 1, columnSpan: int = 1, alignment: Qt.AlignmentFlag = Qt.Alignment())
        addItem(self, a0: QLayoutItem)
        """
        pass

    def addLayout(self, a0, row, column, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        addLayout(self, a0: QLayout, row: int, column: int, alignment: Qt.AlignmentFlag = Qt.Alignment())
        addLayout(self, a0: QLayout, row: int, column: int, rowSpan: int, columnSpan: int, alignment: Qt.AlignmentFlag = Qt.Alignment())
        """
        pass

    def addWidget(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        addWidget(self, w: QWidget)
        addWidget(self, a0: QWidget, row: int, column: int, alignment: Qt.AlignmentFlag = Qt.Alignment())
        addWidget(self, a0: QWidget, row: int, column: int, rowSpan: int, columnSpan: int, alignment: Qt.AlignmentFlag = Qt.Alignment())
        """
        pass

    def alignmentRect(self, *args, **kwargs): # real signature unknown
        pass

    def cellRect(self, row, column): # real signature unknown; restored from __doc__
        """ cellRect(self, row: int, column: int) -> QRect """
        pass

    def childEvent(self, *args, **kwargs): # real signature unknown
        pass

    def columnCount(self): # real signature unknown; restored from __doc__
        """ columnCount(self) -> int """
        return 0

    def columnMinimumWidth(self, column): # real signature unknown; restored from __doc__
        """ columnMinimumWidth(self, column: int) -> int """
        return 0

    def columnStretch(self, column): # real signature unknown; restored from __doc__
        """ columnStretch(self, column: int) -> int """
        return 0

    def connectNotify(self, *args, **kwargs): # real signature unknown
        pass

    def count(self): # real signature unknown; restored from __doc__
        """ count(self) -> int """
        return 0

    def customEvent(self, *args, **kwargs): # real signature unknown
        pass

    def disconnectNotify(self, *args, **kwargs): # real signature unknown
        pass

    def expandingDirections(self): # real signature unknown; restored from __doc__
        """ expandingDirections(self) -> Qt.Orientation """
        pass

    def getItemPosition(self, idx): # real signature unknown; restored from __doc__
        """ getItemPosition(self, idx: int) -> Tuple[int, int, int, int] """
        pass

    def hasHeightForWidth(self): # real signature unknown; restored from __doc__
        """ hasHeightForWidth(self) -> bool """
        return False

    def heightForWidth(self, a0): # real signature unknown; restored from __doc__
        """ heightForWidth(self, a0: int) -> int """
        return 0

    def horizontalSpacing(self): # real signature unknown; restored from __doc__
        """ horizontalSpacing(self) -> int """
        return 0

    def invalidate(self): # real signature unknown; restored from __doc__
        """ invalidate(self) """
        pass

    def isSignalConnected(self, *args, **kwargs): # real signature unknown
        pass

    def itemAt(self, a0): # real signature unknown; restored from __doc__
        """ itemAt(self, a0: int) -> QLayoutItem """
        return QLayoutItem

    def itemAtPosition(self, row, column): # real signature unknown; restored from __doc__
        """ itemAtPosition(self, row: int, column: int) -> QLayoutItem """
        return QLayoutItem

    def maximumSize(self): # real signature unknown; restored from __doc__
        """ maximumSize(self) -> QSize """
        pass

    def minimumHeightForWidth(self, a0): # real signature unknown; restored from __doc__
        """ minimumHeightForWidth(self, a0: int) -> int """
        return 0

    def minimumSize(self): # real signature unknown; restored from __doc__
        """ minimumSize(self) -> QSize """
        pass

    def originCorner(self): # real signature unknown; restored from __doc__
        """ originCorner(self) -> Qt.Corner """
        pass

    def receivers(self, *args, **kwargs): # real signature unknown
        pass

    def rowCount(self): # real signature unknown; restored from __doc__
        """ rowCount(self) -> int """
        return 0

    def rowMinimumHeight(self, row): # real signature unknown; restored from __doc__
        """ rowMinimumHeight(self, row: int) -> int """
        return 0

    def rowStretch(self, row): # real signature unknown; restored from __doc__
        """ rowStretch(self, row: int) -> int """
        return 0

    def sender(self, *args, **kwargs): # real signature unknown
        pass

    def senderSignalIndex(self, *args, **kwargs): # real signature unknown
        pass

    def setColumnMinimumWidth(self, column, minSize): # real signature unknown; restored from __doc__
        """ setColumnMinimumWidth(self, column: int, minSize: int) """
        pass

    def setColumnStretch(self, column, stretch): # real signature unknown; restored from __doc__
        """ setColumnStretch(self, column: int, stretch: int) """
        pass

    def setDefaultPositioning(self, n, orient): # real signature unknown; restored from __doc__
        """ setDefaultPositioning(self, n: int, orient: Qt.Orientation) """
        pass

    def setGeometry(self, a0): # real signature unknown; restored from __doc__
        """ setGeometry(self, a0: QRect) """
        pass

    def setHorizontalSpacing(self, spacing): # real signature unknown; restored from __doc__
        """ setHorizontalSpacing(self, spacing: int) """
        pass

    def setOriginCorner(self, a0): # real signature unknown; restored from __doc__
        """ setOriginCorner(self, a0: Qt.Corner) """
        pass

    def setRowMinimumHeight(self, row, minSize): # real signature unknown; restored from __doc__
        """ setRowMinimumHeight(self, row: int, minSize: int) """
        pass

    def setRowStretch(self, row, stretch): # real signature unknown; restored from __doc__
        """ setRowStretch(self, row: int, stretch: int) """
        pass

    def setSpacing(self, spacing): # real signature unknown; restored from __doc__
        """ setSpacing(self, spacing: int) """
        pass

    def setVerticalSpacing(self, spacing): # real signature unknown; restored from __doc__
        """ setVerticalSpacing(self, spacing: int) """
        pass

    def sizeHint(self): # real signature unknown; restored from __doc__
        """ sizeHint(self) -> QSize """
        pass

    def spacing(self): # real signature unknown; restored from __doc__
        """ spacing(self) -> int """
        return 0

    def takeAt(self, a0): # real signature unknown; restored from __doc__
        """ takeAt(self, a0: int) -> QLayoutItem """
        return QLayoutItem

    def timerEvent(self, *args, **kwargs): # real signature unknown
        pass

    def verticalSpacing(self): # real signature unknown; restored from __doc__
        """ verticalSpacing(self) -> int """
        return 0

    def widgetEvent(self, *args, **kwargs): # real signature unknown
        pass

    def __init__(self, parent, QWidget=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        pass


