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 « PySide6.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: Optional[PySide6.QtWidgets.QGraphicsLayoutItem] = None) -> 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, parent: Optional[PySide6.QtWidgets.QGraphicsLayoutItem] = None) -> None __init__(self, parent: Optional[PySide6.QtWidgets.QGraphicsLayoutItem] = None) -> None [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: PySide6.QtWidgets.QGraphicsLayoutItem, row: int, column: int, alignment: PySide6.QtCore.Qt.Alignment = Default(Qt.Alignment)) -> None [extrait de addItem.__doc__]
alignment(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> PySide6.QtCore.Qt.Alignment alignment(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> PySide6.QtCore.Qt.Alignment [extrait de alignment.__doc__]
columnAlignment(self, column: int) -> PySide6.QtCore.Qt.Alignment columnAlignment(self, column: int) -> PySide6.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) -> None invalidate(self) -> None [extrait de invalidate.__doc__]
itemAt itemAt(self, index: int) -> PySide6.QtWidgets.QGraphicsLayoutItem [extrait de itemAt.__doc__]
removeAt(self, index: int) -> None removeAt(self, index: int) -> None [extrait de removeAt.__doc__]
removeItem(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> None removeItem(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> None [extrait de removeItem.__doc__]
rowAlignment(self, row: int) -> PySide6.QtCore.Qt.Alignment rowAlignment(self, row: int) -> PySide6.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: PySide6.QtWidgets.QGraphicsLayoutItem, alignment: PySide6.QtCore.Qt.Alignment) -> None setAlignment(self, item: PySide6.QtWidgets.QGraphicsLayoutItem, alignment: PySide6.QtCore.Qt.Alignment) -> None [extrait de setAlignment.__doc__]
setColumnAlignment(self, column: int, alignment: PySide6.QtCore.Qt.Alignment) -> None setColumnAlignment(self, column: int, alignment: PySide6.QtCore.Qt.Alignment) -> None [extrait de setColumnAlignment.__doc__]
setColumnFixedWidth(self, column: int, width: float) -> None setColumnFixedWidth(self, column: int, width: float) -> None [extrait de setColumnFixedWidth.__doc__]
setColumnMaximumWidth(self, column: int, width: float) -> None setColumnMaximumWidth(self, column: int, width: float) -> None [extrait de setColumnMaximumWidth.__doc__]
setColumnMinimumWidth(self, column: int, width: float) -> None setColumnMinimumWidth(self, column: int, width: float) -> None [extrait de setColumnMinimumWidth.__doc__]
setColumnPreferredWidth(self, column: int, width: float) -> None setColumnPreferredWidth(self, column: int, width: float) -> None [extrait de setColumnPreferredWidth.__doc__]
setColumnSpacing(self, column: int, spacing: float) -> None setColumnSpacing(self, column: int, spacing: float) -> None [extrait de setColumnSpacing.__doc__]
setColumnStretchFactor(self, column: int, stretch: int) -> None setColumnStretchFactor(self, column: int, stretch: int) -> None [extrait de setColumnStretchFactor.__doc__]
setGeometry(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> None setGeometry(self, rect: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> None [extrait de setGeometry.__doc__]
setHorizontalSpacing(self, spacing: float) -> None setHorizontalSpacing(self, spacing: float) -> None [extrait de setHorizontalSpacing.__doc__]
setRowAlignment(self, row: int, alignment: PySide6.QtCore.Qt.Alignment) -> None setRowAlignment(self, row: int, alignment: PySide6.QtCore.Qt.Alignment) -> None [extrait de setRowAlignment.__doc__]
setRowFixedHeight(self, row: int, height: float) -> None setRowFixedHeight(self, row: int, height: float) -> None [extrait de setRowFixedHeight.__doc__]
setRowMaximumHeight(self, row: int, height: float) -> None setRowMaximumHeight(self, row: int, height: float) -> None [extrait de setRowMaximumHeight.__doc__]
setRowMinimumHeight(self, row: int, height: float) -> None setRowMinimumHeight(self, row: int, height: float) -> None [extrait de setRowMinimumHeight.__doc__]
setRowPreferredHeight(self, row: int, height: float) -> None setRowPreferredHeight(self, row: int, height: float) -> None [extrait de setRowPreferredHeight.__doc__]
setRowSpacing(self, row: int, spacing: float) -> None setRowSpacing(self, row: int, spacing: float) -> None [extrait de setRowSpacing.__doc__]
setRowStretchFactor(self, row: int, stretch: int) -> None setRowStretchFactor(self, row: int, stretch: int) -> None [extrait de setRowStretchFactor.__doc__]
setSpacing(self, spacing: float) -> None setSpacing(self, spacing: float) -> None [extrait de setSpacing.__doc__]
setVerticalSpacing(self, spacing: float) -> None setVerticalSpacing(self, spacing: float) -> None [extrait de setVerticalSpacing.__doc__]
sizeHint(self, which: PySide6.QtCore.Qt.SizeHint, constraint: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize] = Default(QSizeF)) -> PySide6.QtCore.QSizeF sizeHint(self, which: PySide6.QtCore.Qt.SizeHint, constraint: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize] = Default(QSizeF)) -> PySide6.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, isEmpty, 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

__getattribute__, __init_subclass__, __subclasshook__

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

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