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