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

Informations générales

Héritage

builtins.object
    Object
        QLayoutItem
builtins.object
    Object
        QObject
            QLayout
                QBoxLayout

Définition

class QBoxLayout(QLayout):

Description [extrait de QBoxLayout.__doc__]

QBoxLayout(self, arg__1: PySide6.QtWidgets.QBoxLayout.Direction, parent: Optional[PySide6.QtWidgets.QWidget] = 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, arg__1: PySide6.QtWidgets.QBoxLayout.Direction, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None __init__(self, arg__1: PySide6.QtWidgets.QBoxLayout.Direction, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
BottomToTopPySide6.QtWidgets.QBoxLayout.Direction.BottomToTop
DownPySide6.QtWidgets.QBoxLayout.Direction.Down
LeftToRightPySide6.QtWidgets.QBoxLayout.Direction.LeftToRight
RightToLeftPySide6.QtWidgets.QBoxLayout.Direction.RightToLeft
SetDefaultConstraintPySide6.QtWidgets.QLayout.SizeConstraint.SetDefaultConstraint
SetFixedSizePySide6.QtWidgets.QLayout.SizeConstraint.SetFixedSize
SetMaximumSizePySide6.QtWidgets.QLayout.SizeConstraint.SetMaximumSize
SetMinAndMaxSizePySide6.QtWidgets.QLayout.SizeConstraint.SetMinAndMaxSize
SetMinimumSizePySide6.QtWidgets.QLayout.SizeConstraint.SetMinimumSize
SetNoConstraintPySide6.QtWidgets.QLayout.SizeConstraint.SetNoConstraint
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfeb5640>
TopToBottomPySide6.QtWidgets.QBoxLayout.Direction.TopToBottom
UpPySide6.QtWidgets.QBoxLayout.Direction.Up

Attributs statiques hérités de la classe QLayoutItem

align

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, arg__1: PySide6.QtWidgets.QLayoutItem) -> None addItem(self, arg__1: PySide6.QtWidgets.QLayoutItem) -> None [extrait de addItem.__doc__]
addLayout(self, layout: PySide6.QtWidgets.QLayout, stretch: int = 0) -> None addLayout(self, layout: PySide6.QtWidgets.QLayout, stretch: int = 0) -> None [extrait de addLayout.__doc__]
addSpacerItem(self, spacerItem: PySide6.QtWidgets.QSpacerItem) -> None addSpacerItem(self, spacerItem: PySide6.QtWidgets.QSpacerItem) -> None [extrait de addSpacerItem.__doc__]
addSpacing(self, size: int) -> None addSpacing(self, size: int) -> None [extrait de addSpacing.__doc__]
addStretch(self, stretch: int = 0) -> None addStretch(self, stretch: int = 0) -> None [extrait de addStretch.__doc__]
addStrut(self, arg__1: int) -> None addStrut(self, arg__1: int) -> None [extrait de addStrut.__doc__]
addWidget(self, arg__1: PySide6.QtWidgets.QWidget, stretch: int = 0, alignment: PySide6.QtCore.Qt.Alignment = Default(Qt.Alignment)) -> None addWidget(self, arg__1: PySide6.QtWidgets.QWidget, stretch: int = 0, alignment: PySide6.QtCore.Qt.Alignment = Default(Qt.Alignment)) -> None [extrait de addWidget.__doc__]
count(self) -> int count(self) -> int [extrait de count.__doc__]
destroyed
Direction
direction(self) -> PySide6.QtWidgets.QBoxLayout.Direction direction(self) -> PySide6.QtWidgets.QBoxLayout.Direction [extrait de direction.__doc__]
expandingDirections(self) -> PySide6.QtCore.Qt.Orientations expandingDirections(self) -> PySide6.QtCore.Qt.Orientations [extrait de expandingDirections.__doc__]
hasHeightForWidth(self) -> bool hasHeightForWidth(self) -> bool [extrait de hasHeightForWidth.__doc__]
heightForWidth(self, arg__1: int) -> int heightForWidth(self, arg__1: int) -> int [extrait de heightForWidth.__doc__]
insertItem(self, index: int, arg__2: PySide6.QtWidgets.QLayoutItem) -> None insertItem(self, index: int, arg__2: PySide6.QtWidgets.QLayoutItem) -> None [extrait de insertItem.__doc__]
insertLayout(self, index: int, layout: PySide6.QtWidgets.QLayout, stretch: int = 0) -> None insertLayout(self, index: int, layout: PySide6.QtWidgets.QLayout, stretch: int = 0) -> None [extrait de insertLayout.__doc__]
insertSpacerItem(self, index: int, spacerItem: PySide6.QtWidgets.QSpacerItem) -> None insertSpacerItem(self, index: int, spacerItem: PySide6.QtWidgets.QSpacerItem) -> None [extrait de insertSpacerItem.__doc__]
insertSpacing(self, index: int, size: int) -> None insertSpacing(self, index: int, size: int) -> None [extrait de insertSpacing.__doc__]
insertStretch(self, index: int, stretch: int = 0) -> None insertStretch(self, index: int, stretch: int = 0) -> None [extrait de insertStretch.__doc__]
insertWidget(self, index: int, widget: PySide6.QtWidgets.QWidget, stretch: int = 0, alignment: PySide6.QtCore.Qt.Alignment = Default(Qt.Alignment)) -> None insertWidget(self, index: int, widget: PySide6.QtWidgets.QWidget, stretch: int = 0, alignment: PySide6.QtCore.Qt.Alignment = Default(Qt.Alignment)) -> None [extrait de insertWidget.__doc__]
invalidate(self) -> None invalidate(self) -> None [extrait de invalidate.__doc__]
itemAt(self, arg__1: int) -> PySide6.QtWidgets.QLayoutItem itemAt(self, arg__1: int) -> PySide6.QtWidgets.QLayoutItem [extrait de itemAt.__doc__]
maximumSize(self) -> PySide6.QtCore.QSize maximumSize(self) -> PySide6.QtCore.QSize [extrait de maximumSize.__doc__]
minimumHeightForWidth(self, arg__1: int) -> int minimumHeightForWidth(self, arg__1: int) -> int [extrait de minimumHeightForWidth.__doc__]
minimumSize(self) -> PySide6.QtCore.QSize minimumSize(self) -> PySide6.QtCore.QSize [extrait de minimumSize.__doc__]
objectNameChanged
setDirection(self, arg__1: PySide6.QtWidgets.QBoxLayout.Direction) -> None setDirection(self, arg__1: PySide6.QtWidgets.QBoxLayout.Direction) -> None [extrait de setDirection.__doc__]
setGeometry(self, arg__1: PySide6.QtCore.QRect) -> None setGeometry(self, arg__1: PySide6.QtCore.QRect) -> None [extrait de setGeometry.__doc__]
setSpacing(self, spacing: int) -> None setSpacing(self, spacing: int) -> None [extrait de setSpacing.__doc__]
setStretch(self, index: int, stretch: int) -> None setStretch(self, index: int, stretch: int) -> None [extrait de setStretch.__doc__]
setStretchFactor setStretchFactor(self, l: PySide6.QtWidgets.QLayout, stretch: int) -> bool [extrait de setStretchFactor.__doc__]
sizeHint(self) -> PySide6.QtCore.QSize sizeHint(self) -> PySide6.QtCore.QSize [extrait de sizeHint.__doc__]
spacing(self) -> int spacing(self) -> int [extrait de spacing.__doc__]
stretch(self, index: int) -> int stretch(self, index: int) -> int [extrait de stretch.__doc__]
takeAt(self, arg__1: int) -> PySide6.QtWidgets.QLayoutItem takeAt(self, arg__1: int) -> PySide6.QtWidgets.QLayoutItem [extrait de takeAt.__doc__]
tr

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

__init_subclass__, __subclasshook__, activate, addChildLayout, addChildWidget, adoptLayout, alignmentRect, childEvent, closestAcceptableSize, contentsMargins, contentsRect, controlTypes, geometry, getContentsMargins, indexOf, isEmpty, isEnabled, layout, menuBar, parentWidget, removeItem, removeWidget, replaceWidget, setAlignment, setContentsMargins, setEnabled, setMenuBar, setSizeConstraint, SizeConstraint, sizeConstraint, totalHeightForWidth, totalMaximumSize, totalMinimumHeightForWidth, totalMinimumSize, totalSizeHint, unsetContentsMargins, update, widgetEvent

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

__init_subclass__, __subclasshook__, alignment, controlTypes, geometry, isEmpty, layout, setAlignment, spacerItem, widget

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

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

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__