builtins.object Object QSizePolicy
class QSizePolicy(Object):
QSizePolicy(self) -> None QSizePolicy(self, horizontal: PySide6.QtWidgets.QSizePolicy.Policy, vertical: PySide6.QtWidgets.QSizePolicy.Policy, type: PySide6.QtWidgets.QSizePolicy.ControlType = PySide6.QtWidgets.QSizePolicy.ControlType.DefaultType) -> None
Signature du constructeur | Description |
---|---|
__new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__] |
Nom de l'attribut | Valeur |
---|---|
ButtonBox | PySide6.QtWidgets.QSizePolicy.ControlType.ButtonBox |
CheckBox | PySide6.QtWidgets.QSizePolicy.ControlType.CheckBox |
ComboBox | PySide6.QtWidgets.QSizePolicy.ControlType.ComboBox |
DefaultType | PySide6.QtWidgets.QSizePolicy.ControlType.DefaultType |
ExpandFlag | PySide6.QtWidgets.QSizePolicy.PolicyFlag.ExpandFlag |
Expanding | PySide6.QtWidgets.QSizePolicy.Policy.Expanding |
Fixed | PySide6.QtWidgets.QSizePolicy.Policy.Fixed |
Frame | PySide6.QtWidgets.QSizePolicy.ControlType.Frame |
GroupBox | PySide6.QtWidgets.QSizePolicy.ControlType.GroupBox |
GrowFlag | PySide6.QtWidgets.QSizePolicy.PolicyFlag.GrowFlag |
Ignored | PySide6.QtWidgets.QSizePolicy.Policy.Ignored |
IgnoreFlag | PySide6.QtWidgets.QSizePolicy.PolicyFlag.IgnoreFlag |
Label | PySide6.QtWidgets.QSizePolicy.ControlType.Label |
Line | PySide6.QtWidgets.QSizePolicy.ControlType.Line |
LineEdit | PySide6.QtWidgets.QSizePolicy.ControlType.LineEdit |
Maximum | PySide6.QtWidgets.QSizePolicy.Policy.Maximum |
Minimum | PySide6.QtWidgets.QSizePolicy.Policy.Minimum |
MinimumExpanding | PySide6.QtWidgets.QSizePolicy.Policy.MinimumExpanding |
Preferred | PySide6.QtWidgets.QSizePolicy.Policy.Preferred |
PushButton | PySide6.QtWidgets.QSizePolicy.ControlType.PushButton |
RadioButton | PySide6.QtWidgets.QSizePolicy.ControlType.RadioButton |
ShrinkFlag | PySide6.QtWidgets.QSizePolicy.PolicyFlag.ShrinkFlag |
Slider | PySide6.QtWidgets.QSizePolicy.ControlType.Slider |
SpinBox | PySide6.QtWidgets.QSizePolicy.ControlType.SpinBox |
TabWidget | PySide6.QtWidgets.QSizePolicy.ControlType.TabWidget |
ToolButton | PySide6.QtWidgets.QSizePolicy.ControlType.ToolButton |
Signature de l'opérateur | Description |
---|---|
__eq__(self, value) | Return self==value. [extrait de __eq__.__doc__] |
__ge__(self, value) | Return self>=value. [extrait de __ge__.__doc__] |
__gt__(self, value) | Return self>value. [extrait de __gt__.__doc__] |
__le__(self, value) | Return self<=value. [extrait de __le__.__doc__] |
__lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream | __lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __lshift__.__doc__] |
__lt__(self, value) | Return self<value. [extrait de __lt__.__doc__] |
__ne__(self, value) | Return self!=value. [extrait de __ne__.__doc__] |
__rlshift__(self, value) | Return value<<self. [extrait de __rlshift__.__doc__] |
__rrshift__(self, value) | Return value>>self. [extrait de __rrshift__.__doc__] |
__rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream | __rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __rshift__.__doc__] |
Signature de la méthode | Description |
---|---|
__copy__() -> None | __copy__() -> None [extrait de __copy__.__doc__] |
__repr__(self) | Return repr(self). [extrait de __repr__.__doc__] |
ControlType | |
controlType(self) -> PySide6.QtWidgets.QSizePolicy.ControlType | controlType(self) -> PySide6.QtWidgets.QSizePolicy.ControlType [extrait de controlType.__doc__] |
ControlTypes | |
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__] |
hasWidthForHeight(self) -> bool | hasWidthForHeight(self) -> bool [extrait de hasWidthForHeight.__doc__] |
horizontalPolicy(self) -> PySide6.QtWidgets.QSizePolicy.Policy | horizontalPolicy(self) -> PySide6.QtWidgets.QSizePolicy.Policy [extrait de horizontalPolicy.__doc__] |
horizontalStretch(self) -> int | horizontalStretch(self) -> int [extrait de horizontalStretch.__doc__] |
Policy | |
PolicyFlag | |
retainSizeWhenHidden(self) -> bool | retainSizeWhenHidden(self) -> bool [extrait de retainSizeWhenHidden.__doc__] |
setControlType(self, type: PySide6.QtWidgets.QSizePolicy.ControlType) -> None | setControlType(self, type: PySide6.QtWidgets.QSizePolicy.ControlType) -> None [extrait de setControlType.__doc__] |
setHeightForWidth(self, b: bool) -> None | setHeightForWidth(self, b: bool) -> None [extrait de setHeightForWidth.__doc__] |
setHorizontalPolicy(self, d: PySide6.QtWidgets.QSizePolicy.Policy) -> None | setHorizontalPolicy(self, d: PySide6.QtWidgets.QSizePolicy.Policy) -> None [extrait de setHorizontalPolicy.__doc__] |
setHorizontalStretch(self, stretchFactor: int) -> None | setHorizontalStretch(self, stretchFactor: int) -> None [extrait de setHorizontalStretch.__doc__] |
setRetainSizeWhenHidden(self, retainSize: bool) -> None | setRetainSizeWhenHidden(self, retainSize: bool) -> None [extrait de setRetainSizeWhenHidden.__doc__] |
setVerticalPolicy(self, d: PySide6.QtWidgets.QSizePolicy.Policy) -> None | setVerticalPolicy(self, d: PySide6.QtWidgets.QSizePolicy.Policy) -> None [extrait de setVerticalPolicy.__doc__] |
setVerticalStretch(self, stretchFactor: int) -> None | setVerticalStretch(self, stretchFactor: int) -> None [extrait de setVerticalStretch.__doc__] |
setWidthForHeight(self, b: bool) -> None | setWidthForHeight(self, b: bool) -> None [extrait de setWidthForHeight.__doc__] |
transpose(self) -> None | transpose(self) -> None [extrait de transpose.__doc__] |
transposed(self) -> PySide6.QtWidgets.QSizePolicy | transposed(self) -> PySide6.QtWidgets.QSizePolicy [extrait de transposed.__doc__] |
verticalPolicy(self) -> PySide6.QtWidgets.QSizePolicy.Policy | verticalPolicy(self) -> PySide6.QtWidgets.QSizePolicy.Policy [extrait de verticalPolicy.__doc__] |
verticalStretch(self) -> int | verticalStretch(self) -> int [extrait de verticalStretch.__doc__] |
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 :