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 « QGraphicsGridLayout »

Informations générales

Héritage

builtins.object
    Object
        QGraphicsLayoutItem
            QGraphicsLayout
                QGraphicsGridLayout

Définition

class QGraphicsGridLayout(QGraphicsLayout):

Description [extrait de QGraphicsGridLayout.__doc__]

QGraphicsGridLayout(self, parent: typing.Union[PySide2.QtWidgets.QGraphicsLayoutItem, NoneType] = None)

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 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, item: PySide2.QtWidgets.QGraphicsLayoutItem, row: int, column: int, alignment: PySide2.QtCore.Qt.Alignment = Default(Qt.Alignment)) [extrait de addItem.__doc__]
alignment(self, item: PySide2.QtWidgets.QGraphicsLayoutItem) -> PySide2.QtCore.Qt.Alignment alignment(self, item: PySide2.QtWidgets.QGraphicsLayoutItem) -> PySide2.QtCore.Qt.Alignment [extrait de alignment.__doc__]
columnAlignment(self, column: int) -> PySide2.QtCore.Qt.Alignment columnAlignment(self, column: int) -> PySide2.QtCore.Qt.Alignment [extrait de columnAlignment.__doc__]
columnCount(self) -> int columnCount(self) -> int [extrait de columnCount.__doc__]
columnMaximumWidth(self, column: int) -> float columnMaximumWidth(self, column: int) -> float [extrait de columnMaximumWidth.__doc__]
columnMinimumWidth(self, column: int) -> float columnMinimumWidth(self, column: int) -> float [extrait de columnMinimumWidth.__doc__]
columnPreferredWidth(self, column: int) -> float columnPreferredWidth(self, column: int) -> float [extrait de columnPreferredWidth.__doc__]
columnSpacing(self, column: int) -> float columnSpacing(self, column: int) -> float [extrait de columnSpacing.__doc__]
columnStretchFactor(self, column: int) -> int columnStretchFactor(self, column: int) -> int [extrait de columnStretchFactor.__doc__]
count(self) -> int count(self) -> int [extrait de count.__doc__]
horizontalSpacing(self) -> float horizontalSpacing(self) -> float [extrait de horizontalSpacing.__doc__]
invalidate(self) invalidate(self) [extrait de invalidate.__doc__]
itemAt itemAt(self, index: int) -> PySide2.QtWidgets.QGraphicsLayoutItem [extrait de itemAt.__doc__]
removeAt(self, index: int) removeAt(self, index: int) [extrait de removeAt.__doc__]
removeItem(self, item: PySide2.QtWidgets.QGraphicsLayoutItem) removeItem(self, item: PySide2.QtWidgets.QGraphicsLayoutItem) [extrait de removeItem.__doc__]
rowAlignment(self, row: int) -> PySide2.QtCore.Qt.Alignment rowAlignment(self, row: int) -> PySide2.QtCore.Qt.Alignment [extrait de rowAlignment.__doc__]
rowCount(self) -> int rowCount(self) -> int [extrait de rowCount.__doc__]
rowMaximumHeight(self, row: int) -> float rowMaximumHeight(self, row: int) -> float [extrait de rowMaximumHeight.__doc__]
rowMinimumHeight(self, row: int) -> float rowMinimumHeight(self, row: int) -> float [extrait de rowMinimumHeight.__doc__]
rowPreferredHeight(self, row: int) -> float rowPreferredHeight(self, row: int) -> float [extrait de rowPreferredHeight.__doc__]
rowSpacing(self, row: int) -> float rowSpacing(self, row: int) -> float [extrait de rowSpacing.__doc__]
rowStretchFactor(self, row: int) -> int rowStretchFactor(self, row: int) -> int [extrait de rowStretchFactor.__doc__]
setAlignment(self, item: PySide2.QtWidgets.QGraphicsLayoutItem, alignment: PySide2.QtCore.Qt.Alignment) setAlignment(self, item: PySide2.QtWidgets.QGraphicsLayoutItem, alignment: PySide2.QtCore.Qt.Alignment) [extrait de setAlignment.__doc__]
setColumnAlignment(self, column: int, alignment: PySide2.QtCore.Qt.Alignment) setColumnAlignment(self, column: int, alignment: PySide2.QtCore.Qt.Alignment) [extrait de setColumnAlignment.__doc__]
setColumnFixedWidth(self, column: int, width: float) setColumnFixedWidth(self, column: int, width: float) [extrait de setColumnFixedWidth.__doc__]
setColumnMaximumWidth(self, column: int, width: float) setColumnMaximumWidth(self, column: int, width: float) [extrait de setColumnMaximumWidth.__doc__]
setColumnMinimumWidth(self, column: int, width: float) setColumnMinimumWidth(self, column: int, width: float) [extrait de setColumnMinimumWidth.__doc__]
setColumnPreferredWidth(self, column: int, width: float) setColumnPreferredWidth(self, column: int, width: float) [extrait de setColumnPreferredWidth.__doc__]
setColumnSpacing(self, column: int, spacing: float) setColumnSpacing(self, column: int, spacing: float) [extrait de setColumnSpacing.__doc__]
setColumnStretchFactor(self, column: int, stretch: int) setColumnStretchFactor(self, column: int, stretch: int) [extrait de setColumnStretchFactor.__doc__]
setGeometry(self, rect: PySide2.QtCore.QRectF) setGeometry(self, rect: PySide2.QtCore.QRectF) [extrait de setGeometry.__doc__]
setHorizontalSpacing(self, spacing: float) setHorizontalSpacing(self, spacing: float) [extrait de setHorizontalSpacing.__doc__]
setRowAlignment(self, row: int, alignment: PySide2.QtCore.Qt.Alignment) setRowAlignment(self, row: int, alignment: PySide2.QtCore.Qt.Alignment) [extrait de setRowAlignment.__doc__]
setRowFixedHeight(self, row: int, height: float) setRowFixedHeight(self, row: int, height: float) [extrait de setRowFixedHeight.__doc__]
setRowMaximumHeight(self, row: int, height: float) setRowMaximumHeight(self, row: int, height: float) [extrait de setRowMaximumHeight.__doc__]
setRowMinimumHeight(self, row: int, height: float) setRowMinimumHeight(self, row: int, height: float) [extrait de setRowMinimumHeight.__doc__]
setRowPreferredHeight(self, row: int, height: float) setRowPreferredHeight(self, row: int, height: float) [extrait de setRowPreferredHeight.__doc__]
setRowSpacing(self, row: int, spacing: float) setRowSpacing(self, row: int, spacing: float) [extrait de setRowSpacing.__doc__]
setRowStretchFactor(self, row: int, stretch: int) setRowStretchFactor(self, row: int, stretch: int) [extrait de setRowStretchFactor.__doc__]
setSpacing(self, spacing: float) setSpacing(self, spacing: float) [extrait de setSpacing.__doc__]
setVerticalSpacing(self, spacing: float) setVerticalSpacing(self, spacing: float) [extrait de setVerticalSpacing.__doc__]
sizeHint(self, which: PySide2.QtCore.Qt.SizeHint, constraint: PySide2.QtCore.QSizeF = Default(QSizeF)) -> PySide2.QtCore.QSizeF sizeHint(self, which: PySide2.QtCore.Qt.SizeHint, constraint: PySide2.QtCore.QSizeF = Default(QSizeF)) -> PySide2.QtCore.QSizeF [extrait de sizeHint.__doc__]
verticalSpacing(self) -> float verticalSpacing(self) -> float [extrait de verticalSpacing.__doc__]

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

__init_subclass__, __subclasshook__, activate, addChildLayoutItem, getContentsMargins, instantInvalidatePropagation, isActivated, setContentsMargins, setInstantInvalidatePropagation, updateGeometry, widgetEvent

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

__init_subclass__, __subclasshook__, contentsRect, effectiveSizeHint, geometry, getContentsMargins, graphicsItem, isLayout, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, ownedByLayout, parentLayoutItem, preferredHeight, preferredSize, preferredWidth, setGraphicsItem, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setOwnedByLayout, setParentLayoutItem, setPreferredHeight, setPreferredSize, setPreferredWidth, setSizePolicy, sizePolicy, updateGeometry

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__