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

Informations générales

Héritage

builtins.object
    Object
        QGraphicsLayoutItem
            QGraphicsLayout
                QGraphicsAnchorLayout

Définition

class QGraphicsAnchorLayout(QGraphicsLayout):

Description [extrait de QGraphicsAnchorLayout.__doc__]

QGraphicsAnchorLayout(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__]
addAnchor(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, firstEdge: PySide6.QtCore.Qt.AnchorPoint, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondEdge: PySide6.QtCore.Qt.AnchorPoint) -> PySide6.QtWidgets.QGraphicsAnchor addAnchor(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, firstEdge: PySide6.QtCore.Qt.AnchorPoint, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondEdge: PySide6.QtCore.Qt.AnchorPoint) -> PySide6.QtWidgets.QGraphicsAnchor [extrait de addAnchor.__doc__]
addAnchors(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, orientations: PySide6.QtCore.Qt.Orientations = Instance(Qt.Horizontal | Qt.Vertical)) -> None addAnchors(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, orientations: PySide6.QtCore.Qt.Orientations = Instance(Qt.Horizontal | Qt.Vertical)) -> None [extrait de addAnchors.__doc__]
addCornerAnchors(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, firstCorner: PySide6.QtCore.Qt.Corner, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondCorner: PySide6.QtCore.Qt.Corner) -> None addCornerAnchors(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, firstCorner: PySide6.QtCore.Qt.Corner, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondCorner: PySide6.QtCore.Qt.Corner) -> None [extrait de addCornerAnchors.__doc__]
anchor(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, firstEdge: PySide6.QtCore.Qt.AnchorPoint, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondEdge: PySide6.QtCore.Qt.AnchorPoint) -> PySide6.QtWidgets.QGraphicsAnchor anchor(self, firstItem: PySide6.QtWidgets.QGraphicsLayoutItem, firstEdge: PySide6.QtCore.Qt.AnchorPoint, secondItem: PySide6.QtWidgets.QGraphicsLayoutItem, secondEdge: PySide6.QtCore.Qt.AnchorPoint) -> PySide6.QtWidgets.QGraphicsAnchor [extrait de anchor.__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(self, index: int) -> PySide6.QtWidgets.QGraphicsLayoutItem 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__]
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__]
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__