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.QtCore »

Classe « QSizeF »

Informations générales

Héritage

builtins.object
    Object
        QSizeF

Définition

class QSizeF(Object):

Description [extrait de QSizeF.__doc__]

QSizeF(self) -> None
QSizeF(self, QSizeF: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> None
QSizeF(self, sz: PySide6.QtCore.QSize) -> None
QSizeF(self, w: float, h: float) -> 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__]

Liste des opérateurs

Signature de l'opérateur Description
__add__(self, s2: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF __add__(self, s2: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF [extrait de __add__.__doc__]
__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__]
__iadd__(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF __iadd__(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF [extrait de __iadd__.__doc__]
__imul__(self, c: float) -> PySide6.QtCore.QSizeF __imul__(self, c: float) -> PySide6.QtCore.QSizeF [extrait de __imul__.__doc__]
__isub__(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF __isub__(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF [extrait de __isub__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__mul__(self, c: float) -> PySide6.QtCore.QSizeF __mul__(self, c: float) -> PySide6.QtCore.QSizeF [extrait de __mul__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__radd__(self, value) Return value+self. [extrait de __radd__.__doc__]
__rmul__(self, value) Return value*self. [extrait de __rmul__.__doc__]
__rsub__(self, value) Return value-self. [extrait de __rsub__.__doc__]
__rtruediv__(self, value) Return value/self. [extrait de __rtruediv__.__doc__]
__sub__(self, s2: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF __sub__(self, s2: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF [extrait de __sub__.__doc__]
__truediv__(self, value) Return self/value. [extrait de __truediv__.__doc__]

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
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__reduce__(self) -> object __reduce__(self) -> object [extrait de __reduce__.__doc__]
__repr__(self) -> object __repr__(self) -> object [extrait de __repr__.__doc__]
boundedTo(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF boundedTo(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF [extrait de boundedTo.__doc__]
expandedTo(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF expandedTo(self, arg__1: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> PySide6.QtCore.QSizeF [extrait de expandedTo.__doc__]
grownBy(self, m: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QSizeF grownBy(self, m: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QSizeF [extrait de grownBy.__doc__]
height(self) -> float height(self) -> float [extrait de height.__doc__]
isEmpty(self) -> bool isEmpty(self) -> bool [extrait de isEmpty.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
scale scale(self, s: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize], mode: PySide6.QtCore.Qt.AspectRatioMode) -> None [extrait de scale.__doc__]
scaled scaled(self, s: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize], mode: PySide6.QtCore.Qt.AspectRatioMode) -> PySide6.QtCore.QSizeF [extrait de scaled.__doc__]
setHeight(self, h: float) -> None setHeight(self, h: float) -> None [extrait de setHeight.__doc__]
setWidth(self, w: float) -> None setWidth(self, w: float) -> None [extrait de setWidth.__doc__]
shrunkBy(self, m: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QSizeF shrunkBy(self, m: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QSizeF [extrait de shrunkBy.__doc__]
toSize(self) -> PySide6.QtCore.QSize toSize(self) -> PySide6.QtCore.QSize [extrait de toSize.__doc__]
toTuple(self) -> object toTuple(self) -> object [extrait de toTuple.__doc__]
transpose(self) -> None transpose(self) -> None [extrait de transpose.__doc__]
transposed(self) -> PySide6.QtCore.QSizeF transposed(self) -> PySide6.QtCore.QSizeF [extrait de transposed.__doc__]
width(self) -> float width(self) -> float [extrait de width.__doc__]

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

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

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

__dir__, __format__, __hash__, __reduce_ex__, __sizeof__, __str__