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

Informations générales

Héritage

builtins.object
    Object
        QGraphicsLayoutItem

Définition

class QGraphicsLayoutItem(Object):

Description [extrait de QGraphicsLayoutItem.__doc__]

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

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__]
contentsRect(self) -> PySide2.QtCore.QRectF contentsRect(self) -> PySide2.QtCore.QRectF [extrait de contentsRect.__doc__]
effectiveSizeHint(self, which: PySide2.QtCore.Qt.SizeHint, constraint: PySide2.QtCore.QSizeF = Default(QSizeF)) -> PySide2.QtCore.QSizeF effectiveSizeHint(self, which: PySide2.QtCore.Qt.SizeHint, constraint: PySide2.QtCore.QSizeF = Default(QSizeF)) -> PySide2.QtCore.QSizeF [extrait de effectiveSizeHint.__doc__]
geometry(self) -> PySide2.QtCore.QRectF geometry(self) -> PySide2.QtCore.QRectF [extrait de geometry.__doc__]
getContentsMargins(self) -> typing.Tuple[float, float, float, float] getContentsMargins(self) -> typing.Tuple[float, float, float, float] [extrait de getContentsMargins.__doc__]
graphicsItem(self) -> PySide2.QtWidgets.QGraphicsItem graphicsItem(self) -> PySide2.QtWidgets.QGraphicsItem [extrait de graphicsItem.__doc__]
isLayout(self) -> bool isLayout(self) -> bool [extrait de isLayout.__doc__]
maximumHeight(self) -> float maximumHeight(self) -> float [extrait de maximumHeight.__doc__]
maximumSize(self) -> PySide2.QtCore.QSizeF maximumSize(self) -> PySide2.QtCore.QSizeF [extrait de maximumSize.__doc__]
maximumWidth(self) -> float maximumWidth(self) -> float [extrait de maximumWidth.__doc__]
minimumHeight(self) -> float minimumHeight(self) -> float [extrait de minimumHeight.__doc__]
minimumSize(self) -> PySide2.QtCore.QSizeF minimumSize(self) -> PySide2.QtCore.QSizeF [extrait de minimumSize.__doc__]
minimumWidth(self) -> float minimumWidth(self) -> float [extrait de minimumWidth.__doc__]
ownedByLayout(self) -> bool ownedByLayout(self) -> bool [extrait de ownedByLayout.__doc__]
parentLayoutItem(self) -> PySide2.QtWidgets.QGraphicsLayoutItem parentLayoutItem(self) -> PySide2.QtWidgets.QGraphicsLayoutItem [extrait de parentLayoutItem.__doc__]
preferredHeight(self) -> float preferredHeight(self) -> float [extrait de preferredHeight.__doc__]
preferredSize(self) -> PySide2.QtCore.QSizeF preferredSize(self) -> PySide2.QtCore.QSizeF [extrait de preferredSize.__doc__]
preferredWidth(self) -> float preferredWidth(self) -> float [extrait de preferredWidth.__doc__]
setGeometry(self, rect: PySide2.QtCore.QRectF) setGeometry(self, rect: PySide2.QtCore.QRectF) [extrait de setGeometry.__doc__]
setGraphicsItem(self, item: PySide2.QtWidgets.QGraphicsItem) setGraphicsItem(self, item: PySide2.QtWidgets.QGraphicsItem) [extrait de setGraphicsItem.__doc__]
setMaximumHeight(self, height: float) setMaximumHeight(self, height: float) [extrait de setMaximumHeight.__doc__]
setMaximumSize setMaximumSize(self, size: PySide2.QtCore.QSizeF) [extrait de setMaximumSize.__doc__]
setMaximumWidth(self, width: float) setMaximumWidth(self, width: float) [extrait de setMaximumWidth.__doc__]
setMinimumHeight(self, height: float) setMinimumHeight(self, height: float) [extrait de setMinimumHeight.__doc__]
setMinimumSize setMinimumSize(self, size: PySide2.QtCore.QSizeF) [extrait de setMinimumSize.__doc__]
setMinimumWidth(self, width: float) setMinimumWidth(self, width: float) [extrait de setMinimumWidth.__doc__]
setOwnedByLayout(self, ownedByLayout: bool) setOwnedByLayout(self, ownedByLayout: bool) [extrait de setOwnedByLayout.__doc__]
setParentLayoutItem(self, parent: PySide2.QtWidgets.QGraphicsLayoutItem) setParentLayoutItem(self, parent: PySide2.QtWidgets.QGraphicsLayoutItem) [extrait de setParentLayoutItem.__doc__]
setPreferredHeight(self, height: float) setPreferredHeight(self, height: float) [extrait de setPreferredHeight.__doc__]
setPreferredSize setPreferredSize(self, size: PySide2.QtCore.QSizeF) [extrait de setPreferredSize.__doc__]
setPreferredWidth(self, width: float) setPreferredWidth(self, width: float) [extrait de setPreferredWidth.__doc__]
setSizePolicy setSizePolicy(self, hPolicy: PySide2.QtWidgets.QSizePolicy.Policy, vPolicy: PySide2.QtWidgets.QSizePolicy.Policy, controlType: PySide2.QtWidgets.QSizePolicy.ControlType = PySide2.QtWidgets.QSizePolicy.ControlType.DefaultType) [extrait de setSizePolicy.__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__]
sizePolicy(self) -> PySide2.QtWidgets.QSizePolicy sizePolicy(self) -> PySide2.QtWidgets.QSizePolicy [extrait de sizePolicy.__doc__]
updateGeometry(self) updateGeometry(self) [extrait de updateGeometry.__doc__]

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__