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

Informations générales

Héritage

builtins.object
    Object
        QGraphicsLayoutItem
            QGraphicsLayout
                QGraphicsLinearLayout

Définition

class QGraphicsLinearLayout(QGraphicsLayout):

Description [extrait de QGraphicsLinearLayout.__doc__]

QGraphicsLinearLayout(self, orientation: PySide6.QtCore.Qt.Orientation, parent: Optional[PySide6.QtWidgets.QGraphicsLayoutItem] = None) -> None
QGraphicsLinearLayout(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__]

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(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> None addItem(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> None [extrait de addItem.__doc__]
addStretch(self, stretch: int = 1) -> None addStretch(self, stretch: int = 1) -> None [extrait de addStretch.__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__]
count(self) -> int count(self) -> int [extrait de count.__doc__]
dump(self, indent: int = 0) -> None dump(self, indent: int = 0) -> None [extrait de dump.__doc__]
insertItem(self, index: int, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> None insertItem(self, index: int, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> None [extrait de insertItem.__doc__]
insertStretch(self, index: int, stretch: int = 1) -> None insertStretch(self, index: int, stretch: int = 1) -> None [extrait de insertStretch.__doc__]
invalidate(self) -> None invalidate(self) -> None [extrait de invalidate.__doc__]
itemAt(self, index: int) -> PySide6.QtWidgets.QGraphicsLayoutItem itemAt(self, index: int) -> PySide6.QtWidgets.QGraphicsLayoutItem [extrait de itemAt.__doc__]
itemSpacing(self, index: int) -> float itemSpacing(self, index: int) -> float [extrait de itemSpacing.__doc__]
orientation(self) -> PySide6.QtCore.Qt.Orientation orientation(self) -> PySide6.QtCore.Qt.Orientation [extrait de orientation.__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__]
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__]
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__]
setItemSpacing(self, index: int, spacing: float) -> None setItemSpacing(self, index: int, spacing: float) -> None [extrait de setItemSpacing.__doc__]
setOrientation(self, orientation: PySide6.QtCore.Qt.Orientation) -> None setOrientation(self, orientation: PySide6.QtCore.Qt.Orientation) -> None [extrait de setOrientation.__doc__]
setSpacing(self, spacing: float) -> None setSpacing(self, spacing: float) -> None [extrait de setSpacing.__doc__]
setStretchFactor(self, item: PySide6.QtWidgets.QGraphicsLayoutItem, stretch: int) -> None setStretchFactor(self, item: PySide6.QtWidgets.QGraphicsLayoutItem, stretch: int) -> None [extrait de setStretchFactor.__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__]
spacing(self) -> float spacing(self) -> float [extrait de spacing.__doc__]
stretchFactor(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> int stretchFactor(self, item: PySide6.QtWidgets.QGraphicsLayoutItem) -> int [extrait de stretchFactor.__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__