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

Informations générales

Héritage

builtins.object
    Object
        QLineF

Définition

class QLineF(Object):

Description [extrait de QLineF.__doc__]

QLineF(self) -> None
QLineF(self, QLineF: Union[PySide6.QtCore.QLineF, PySide6.QtCore.QLine]) -> None
QLineF(self, line: PySide6.QtCore.QLine) -> None
QLineF(self, pt1: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint], pt2: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None
QLineF(self, x1: float, y1: float, x2: float, y2: 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 attributs statiques

Nom de l'attribut Valeur
BoundedIntersectionPySide6.QtCore.QLineF.IntersectionType.BoundedIntersection
NoIntersectionPySide6.QtCore.QLineF.IntersectionType.NoIntersection
UnboundedIntersectionPySide6.QtCore.QLineF.IntersectionType.UnboundedIntersection

Liste des opérateurs

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__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__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__]
angle(self) -> float angle(self) -> float [extrait de angle.__doc__]
angleTo(self, l: Union[PySide6.QtCore.QLineF, PySide6.QtCore.QLine]) -> float angleTo(self, l: Union[PySide6.QtCore.QLineF, PySide6.QtCore.QLine]) -> float [extrait de angleTo.__doc__]
center(self) -> PySide6.QtCore.QPointF center(self) -> PySide6.QtCore.QPointF [extrait de center.__doc__]
dx(self) -> float dx(self) -> float [extrait de dx.__doc__]
dy(self) -> float dy(self) -> float [extrait de dy.__doc__]
fromPolar(length: float, angle: float) -> PySide6.QtCore.QLineF fromPolar(length: float, angle: float) -> PySide6.QtCore.QLineF [extrait de fromPolar.__doc__]
IntersectionType
intersects(self, l: Union[PySide6.QtCore.QLineF, PySide6.QtCore.QLine], intersectionPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, NoneType] = None) -> Tuple intersects(self, l: Union[PySide6.QtCore.QLineF, PySide6.QtCore.QLine], intersectionPoint: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint, NoneType] = None) -> Tuple [extrait de intersects.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
length(self) -> float length(self) -> float [extrait de length.__doc__]
normalVector(self) -> PySide6.QtCore.QLineF normalVector(self) -> PySide6.QtCore.QLineF [extrait de normalVector.__doc__]
p1(self) -> PySide6.QtCore.QPointF p1(self) -> PySide6.QtCore.QPointF [extrait de p1.__doc__]
p2(self) -> PySide6.QtCore.QPointF p2(self) -> PySide6.QtCore.QPointF [extrait de p2.__doc__]
pointAt(self, t: float) -> PySide6.QtCore.QPointF pointAt(self, t: float) -> PySide6.QtCore.QPointF [extrait de pointAt.__doc__]
setAngle(self, angle: float) -> None setAngle(self, angle: float) -> None [extrait de setAngle.__doc__]
setLength(self, len: float) -> None setLength(self, len: float) -> None [extrait de setLength.__doc__]
setLine(self, x1: float, y1: float, x2: float, y2: float) -> None setLine(self, x1: float, y1: float, x2: float, y2: float) -> None [extrait de setLine.__doc__]
setP1(self, p1: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None setP1(self, p1: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de setP1.__doc__]
setP2(self, p2: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None setP2(self, p2: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de setP2.__doc__]
setPoints(self, p1: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint], p2: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None setPoints(self, p1: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint], p2: Union[PySide6.QtCore.QPointF, PySide6.QtCore.QPoint]) -> None [extrait de setPoints.__doc__]
toLine(self) -> PySide6.QtCore.QLine toLine(self) -> PySide6.QtCore.QLine [extrait de toLine.__doc__]
toTuple(self) -> object toTuple(self) -> object [extrait de toTuple.__doc__]
translate translate(self, dx: float, dy: float) -> None [extrait de translate.__doc__]
translated translated(self, dx: float, dy: float) -> PySide6.QtCore.QLineF [extrait de translated.__doc__]
unitVector(self) -> PySide6.QtCore.QLineF unitVector(self) -> PySide6.QtCore.QLineF [extrait de unitVector.__doc__]
x1(self) -> float x1(self) -> float [extrait de x1.__doc__]
x2(self) -> float x2(self) -> float [extrait de x2.__doc__]
y1(self) -> float y1(self) -> float [extrait de y1.__doc__]
y2(self) -> float y2(self) -> float [extrait de y2.__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__