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

Informations générales

Héritage

builtins.object
    Object
        QRectF

Définition

class QRectF(Object):

Description [extrait de QRectF.__doc__]

QRectF(self) -> None
QRectF(self, QRectF: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> None
QRectF(self, left: float, top: float, width: float, height: float) -> None
QRectF(self, rect: PySide6.QtCore.QRect) -> None
QRectF(self, topleft: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint], bottomRight: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None
QRectF(self, topleft: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint], size: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> 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__ __add__(self, lhs: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF [extrait de __add__.__doc__]
__and__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF __and__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de __and__.__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, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF __iadd__(self, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF [extrait de __iadd__.__doc__]
__iand__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF __iand__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de __iand__.__doc__]
__ior__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF __ior__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de __ior__.__doc__]
__isub__(self, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF __isub__(self, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF [extrait de __isub__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__or__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF __or__(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de __or__.__doc__]
__radd__(self, value) Return value+self. [extrait de __radd__.__doc__]
__rand__(self, value) Return value&self. [extrait de __rand__.__doc__]
__ror__(self, value) Return value|self. [extrait de __ror__.__doc__]
__rsub__(self, value) Return value-self. [extrait de __rsub__.__doc__]
__sub__(self, rhs: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF __sub__(self, rhs: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF [extrait de __sub__.__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__]
adjust(self, x1: float, y1: float, x2: float, y2: float) -> None adjust(self, x1: float, y1: float, x2: float, y2: float) -> None [extrait de adjust.__doc__]
adjusted(self, x1: float, y1: float, x2: float, y2: float) -> PySide6.QtCore.QRectF adjusted(self, x1: float, y1: float, x2: float, y2: float) -> PySide6.QtCore.QRectF [extrait de adjusted.__doc__]
bottom(self) -> float bottom(self) -> float [extrait de bottom.__doc__]
bottomLeft(self) -> PySide6.QtCore.QPointF bottomLeft(self) -> PySide6.QtCore.QPointF [extrait de bottomLeft.__doc__]
bottomRight(self) -> PySide6.QtCore.QPointF bottomRight(self) -> PySide6.QtCore.QPointF [extrait de bottomRight.__doc__]
center(self) -> PySide6.QtCore.QPointF center(self) -> PySide6.QtCore.QPointF [extrait de center.__doc__]
contains contains(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> bool [extrait de contains.__doc__]
getCoords(self) -> Tuple[float, float, float, float] getCoords(self) -> Tuple[float, float, float, float] [extrait de getCoords.__doc__]
getRect(self) -> Tuple[float, float, float, float] getRect(self) -> Tuple[float, float, float, float] [extrait de getRect.__doc__]
height(self) -> float height(self) -> float [extrait de height.__doc__]
intersected(self, other: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF intersected(self, other: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de intersected.__doc__]
intersects(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> bool intersects(self, r: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> bool [extrait de intersects.__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__]
left(self) -> float left(self) -> float [extrait de left.__doc__]
marginsAdded(self, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF marginsAdded(self, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF [extrait de marginsAdded.__doc__]
marginsRemoved(self, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF marginsRemoved(self, margins: Union[PySide6.QtCore.QMarginsF, PySide6.QtCore.QMargins]) -> PySide6.QtCore.QRectF [extrait de marginsRemoved.__doc__]
moveBottom(self, pos: float) -> None moveBottom(self, pos: float) -> None [extrait de moveBottom.__doc__]
moveBottomLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None moveBottomLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de moveBottomLeft.__doc__]
moveBottomRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None moveBottomRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de moveBottomRight.__doc__]
moveCenter(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None moveCenter(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de moveCenter.__doc__]
moveLeft(self, pos: float) -> None moveLeft(self, pos: float) -> None [extrait de moveLeft.__doc__]
moveRight(self, pos: float) -> None moveRight(self, pos: float) -> None [extrait de moveRight.__doc__]
moveTo moveTo(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de moveTo.__doc__]
moveTop(self, pos: float) -> None moveTop(self, pos: float) -> None [extrait de moveTop.__doc__]
moveTopLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None moveTopLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de moveTopLeft.__doc__]
moveTopRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None moveTopRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de moveTopRight.__doc__]
normalized(self) -> PySide6.QtCore.QRectF normalized(self) -> PySide6.QtCore.QRectF [extrait de normalized.__doc__]
right(self) -> float right(self) -> float [extrait de right.__doc__]
setBottom(self, pos: float) -> None setBottom(self, pos: float) -> None [extrait de setBottom.__doc__]
setBottomLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None setBottomLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de setBottomLeft.__doc__]
setBottomRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None setBottomRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de setBottomRight.__doc__]
setCoords(self, x1: float, y1: float, x2: float, y2: float) -> None setCoords(self, x1: float, y1: float, x2: float, y2: float) -> None [extrait de setCoords.__doc__]
setHeight(self, h: float) -> None setHeight(self, h: float) -> None [extrait de setHeight.__doc__]
setLeft(self, pos: float) -> None setLeft(self, pos: float) -> None [extrait de setLeft.__doc__]
setRect(self, x: float, y: float, w: float, h: float) -> None setRect(self, x: float, y: float, w: float, h: float) -> None [extrait de setRect.__doc__]
setRight(self, pos: float) -> None setRight(self, pos: float) -> None [extrait de setRight.__doc__]
setSize(self, s: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> None setSize(self, s: Union[PySide6.QtCore.QSizeF, PySide6.QtCore.QSize]) -> None [extrait de setSize.__doc__]
setTop(self, pos: float) -> None setTop(self, pos: float) -> None [extrait de setTop.__doc__]
setTopLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None setTopLeft(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de setTopLeft.__doc__]
setTopRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None setTopRight(self, p: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de setTopRight.__doc__]
setWidth(self, w: float) -> None setWidth(self, w: float) -> None [extrait de setWidth.__doc__]
setX(self, pos: float) -> None setX(self, pos: float) -> None [extrait de setX.__doc__]
setY(self, pos: float) -> None setY(self, pos: float) -> None [extrait de setY.__doc__]
size(self) -> PySide6.QtCore.QSizeF size(self) -> PySide6.QtCore.QSizeF [extrait de size.__doc__]
toAlignedRect(self) -> PySide6.QtCore.QRect toAlignedRect(self) -> PySide6.QtCore.QRect [extrait de toAlignedRect.__doc__]
top(self) -> float top(self) -> float [extrait de top.__doc__]
topLeft(self) -> PySide6.QtCore.QPointF topLeft(self) -> PySide6.QtCore.QPointF [extrait de topLeft.__doc__]
topRight(self) -> PySide6.QtCore.QPointF topRight(self) -> PySide6.QtCore.QPointF [extrait de topRight.__doc__]
toRect(self) -> PySide6.QtCore.QRect toRect(self) -> PySide6.QtCore.QRect [extrait de toRect.__doc__]
translate translate(self, dx: float, dy: float) -> None [extrait de translate.__doc__]
translated translated(self, dx: float, dy: float) -> PySide6.QtCore.QRectF [extrait de translated.__doc__]
transposed(self) -> PySide6.QtCore.QRectF transposed(self) -> PySide6.QtCore.QRectF [extrait de transposed.__doc__]
united(self, other: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF united(self, other: Union[PySide6.QtCore.QRectF, PySide6.QtCore.QRect]) -> PySide6.QtCore.QRectF [extrait de united.__doc__]
width(self) -> float width(self) -> float [extrait de width.__doc__]
x(self) -> float x(self) -> float [extrait de x.__doc__]
y(self) -> float y(self) -> float [extrait de y.__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__