Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide2.QtWidgets »

Classe « QGridLayout »

Informations générales

Héritage

builtins.object
    Object
        QLayoutItem
builtins.object
    Object
        QObject
            QLayout
                QGridLayout

Définition

class QGridLayout(QLayout):

Description [extrait de QGridLayout.__doc__]

QGridLayout(self)
QGridLayout(self, parent: PySide2.QtWidgets.QWidget)

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
SetDefaultConstraintPySide2.QtWidgets.QLayout.SizeConstraint.SetDefaultConstraint
SetFixedSizePySide2.QtWidgets.QLayout.SizeConstraint.SetFixedSize
SetMaximumSizePySide2.QtWidgets.QLayout.SizeConstraint.SetMaximumSize
SetMinAndMaxSizePySide2.QtWidgets.QLayout.SizeConstraint.SetMinAndMaxSize
SetMinimumSizePySide2.QtWidgets.QLayout.SizeConstraint.SetMinimumSize
SetNoConstraintPySide2.QtWidgets.QLayout.SizeConstraint.SetNoConstraint
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe35a35480>

Attributs statiques hérités de la classe QLayoutItem

align

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
addItem addItem(self, arg__1: PySide2.QtWidgets.QLayoutItem) [extrait de addItem.__doc__]
addLayout addLayout(self, arg__1: PySide2.QtWidgets.QLayout, row: int, column: int, alignment: PySide2.QtCore.Qt.Alignment = Default(Qt.Alignment)) [extrait de addLayout.__doc__]
addWidget addWidget(self, arg__1: PySide2.QtWidgets.QWidget, row: int, column: int, alignment: PySide2.QtCore.Qt.Alignment = Default(Qt.Alignment)) [extrait de addWidget.__doc__]
cellRect(self, row: int, column: int) -> PySide2.QtCore.QRect cellRect(self, row: int, column: int) -> PySide2.QtCore.QRect [extrait de cellRect.__doc__]
columnCount(self) -> int columnCount(self) -> int [extrait de columnCount.__doc__]
columnMinimumWidth(self, column: int) -> int columnMinimumWidth(self, column: int) -> int [extrait de columnMinimumWidth.__doc__]
columnStretch(self, column: int) -> int columnStretch(self, column: int) -> int [extrait de columnStretch.__doc__]
count(self) -> int count(self) -> int [extrait de count.__doc__]
destroyed
expandingDirections(self) -> PySide2.QtCore.Qt.Orientations expandingDirections(self) -> PySide2.QtCore.Qt.Orientations [extrait de expandingDirections.__doc__]
getItemPosition(self, idx: int) -> typing.Tuple[int, int, int, int] getItemPosition(self, idx: int) -> typing.Tuple[int, int, int, int] [extrait de getItemPosition.__doc__]
hasHeightForWidth(self) -> bool hasHeightForWidth(self) -> bool [extrait de hasHeightForWidth.__doc__]
heightForWidth(self, arg__1: int) -> int heightForWidth(self, arg__1: int) -> int [extrait de heightForWidth.__doc__]
horizontalSpacing(self) -> int horizontalSpacing(self) -> int [extrait de horizontalSpacing.__doc__]
invalidate(self) invalidate(self) [extrait de invalidate.__doc__]
itemAt(self, index: int) -> PySide2.QtWidgets.QLayoutItem itemAt(self, index: int) -> PySide2.QtWidgets.QLayoutItem [extrait de itemAt.__doc__]
itemAtPosition(self, row: int, column: int) -> PySide2.QtWidgets.QLayoutItem itemAtPosition(self, row: int, column: int) -> PySide2.QtWidgets.QLayoutItem [extrait de itemAtPosition.__doc__]
maximumSize(self) -> PySide2.QtCore.QSize maximumSize(self) -> PySide2.QtCore.QSize [extrait de maximumSize.__doc__]
minimumHeightForWidth(self, arg__1: int) -> int minimumHeightForWidth(self, arg__1: int) -> int [extrait de minimumHeightForWidth.__doc__]
minimumSize(self) -> PySide2.QtCore.QSize minimumSize(self) -> PySide2.QtCore.QSize [extrait de minimumSize.__doc__]
objectNameChanged
originCorner(self) -> PySide2.QtCore.Qt.Corner originCorner(self) -> PySide2.QtCore.Qt.Corner [extrait de originCorner.__doc__]
rowCount(self) -> int rowCount(self) -> int [extrait de rowCount.__doc__]
rowMinimumHeight(self, row: int) -> int rowMinimumHeight(self, row: int) -> int [extrait de rowMinimumHeight.__doc__]
rowStretch(self, row: int) -> int rowStretch(self, row: int) -> int [extrait de rowStretch.__doc__]
setColumnMinimumWidth(self, column: int, minSize: int) setColumnMinimumWidth(self, column: int, minSize: int) [extrait de setColumnMinimumWidth.__doc__]
setColumnStretch(self, column: int, stretch: int) setColumnStretch(self, column: int, stretch: int) [extrait de setColumnStretch.__doc__]
setDefaultPositioning(self, n: int, orient: PySide2.QtCore.Qt.Orientation) setDefaultPositioning(self, n: int, orient: PySide2.QtCore.Qt.Orientation) [extrait de setDefaultPositioning.__doc__]
setGeometry(self, arg__1: PySide2.QtCore.QRect) setGeometry(self, arg__1: PySide2.QtCore.QRect) [extrait de setGeometry.__doc__]
setHorizontalSpacing(self, spacing: int) setHorizontalSpacing(self, spacing: int) [extrait de setHorizontalSpacing.__doc__]
setOriginCorner(self, arg__1: PySide2.QtCore.Qt.Corner) setOriginCorner(self, arg__1: PySide2.QtCore.Qt.Corner) [extrait de setOriginCorner.__doc__]
setRowMinimumHeight(self, row: int, minSize: int) setRowMinimumHeight(self, row: int, minSize: int) [extrait de setRowMinimumHeight.__doc__]
setRowStretch(self, row: int, stretch: int) setRowStretch(self, row: int, stretch: int) [extrait de setRowStretch.__doc__]
setSpacing(self, spacing: int) setSpacing(self, spacing: int) [extrait de setSpacing.__doc__]
setVerticalSpacing(self, spacing: int) setVerticalSpacing(self, spacing: int) [extrait de setVerticalSpacing.__doc__]
sizeHint(self) -> PySide2.QtCore.QSize sizeHint(self) -> PySide2.QtCore.QSize [extrait de sizeHint.__doc__]
spacing(self) -> int spacing(self) -> int [extrait de spacing.__doc__]
takeAt(self, index: int) -> PySide2.QtWidgets.QLayoutItem takeAt(self, index: int) -> PySide2.QtWidgets.QLayoutItem [extrait de takeAt.__doc__]
verticalSpacing(self) -> int verticalSpacing(self) -> int [extrait de verticalSpacing.__doc__]

Méthodes héritées de la classe QLayout

__init_subclass__, __subclasshook__, activate, addChildLayout, addChildWidget, adoptLayout, alignmentRect, childEvent, closestAcceptableSize, contentsMargins, contentsRect, controlTypes, geometry, getContentsMargins, indexOf, isEmpty, isEnabled, layout, margin, menuBar, parentWidget, removeItem, removeWidget, replaceWidget, setAlignment, setContentsMargins, setEnabled, setMargin, setMenuBar, setSizeConstraint, SizeConstraint, sizeConstraint, totalHeightForWidth, totalMaximumSize, totalMinimumSize, totalSizeHint, update, widgetEvent

Méthodes héritées de la classe QLayoutItem

__init_subclass__, __subclasshook__, alignment, controlTypes, geometry, isEmpty, layout, setAlignment, spacerItem, widget

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__