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

Classe « QTransform »

Informations générales

Héritage

builtins.object
    Object
        QTransform

Définition

class QTransform(Object):

Description [extrait de QTransform.__doc__]

QTransform(self) -> None
QTransform(self, h11: float, h12: float, h13: float, h21: float, h22: float, h23: float, h31: float, h32: float, h33: float) -> None
QTransform(self, h11: float, h12: float, h21: float, h22: float, dx: float, dy: float) -> None
QTransform(self, other: PySide6.QtGui.QTransform) -> 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
TxNonePySide6.QtGui.QTransform.TransformationType.TxNone
TxProjectPySide6.QtGui.QTransform.TransformationType.TxProject
TxRotatePySide6.QtGui.QTransform.TransformationType.TxRotate
TxScalePySide6.QtGui.QTransform.TransformationType.TxScale
TxShearPySide6.QtGui.QTransform.TransformationType.TxShear
TxTranslatePySide6.QtGui.QTransform.TransformationType.TxTranslate

Liste des opérateurs

Signature de l'opérateur Description
__add__(self, n: float) -> PySide6.QtGui.QTransform __add__(self, n: float) -> PySide6.QtGui.QTransform [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, div: float) -> PySide6.QtGui.QTransform __iadd__(self, div: float) -> PySide6.QtGui.QTransform [extrait de __iadd__.__doc__]
__imul__ __imul__(self, arg__1: PySide6.QtGui.QTransform) -> PySide6.QtGui.QTransform [extrait de __imul__.__doc__]
__isub__(self, div: float) -> PySide6.QtGui.QTransform __isub__(self, div: float) -> PySide6.QtGui.QTransform [extrait de __isub__.__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__]
__mul__ __mul__(self, l: PySide6.QtCore.QLine) -> PySide6.QtCore.QLine [extrait de __mul__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__radd__(self, value) Return value+self. [extrait de __radd__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rmul__(self, value) Return value*self. [extrait de __rmul__.__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__]
__rsub__(self, value) Return value-self. [extrait de __rsub__.__doc__]
__rtruediv__(self, value) Return value/self. [extrait de __rtruediv__.__doc__]
__sub__(self, n: float) -> PySide6.QtGui.QTransform __sub__(self, n: float) -> PySide6.QtGui.QTransform [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
__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__]
adjoint(self) -> PySide6.QtGui.QTransform adjoint(self) -> PySide6.QtGui.QTransform [extrait de adjoint.__doc__]
determinant(self) -> float determinant(self) -> float [extrait de determinant.__doc__]
dx(self) -> float dx(self) -> float [extrait de dx.__doc__]
dy(self) -> float dy(self) -> float [extrait de dy.__doc__]
fromScale(dx: float, dy: float) -> PySide6.QtGui.QTransform fromScale(dx: float, dy: float) -> PySide6.QtGui.QTransform [extrait de fromScale.__doc__]
fromTranslate(dx: float, dy: float) -> PySide6.QtGui.QTransform fromTranslate(dx: float, dy: float) -> PySide6.QtGui.QTransform [extrait de fromTranslate.__doc__]
inverted(self) -> Tuple[Tuple, bool] inverted(self) -> Tuple[Tuple, bool] [extrait de inverted.__doc__]
isAffine(self) -> bool isAffine(self) -> bool [extrait de isAffine.__doc__]
isIdentity(self) -> bool isIdentity(self) -> bool [extrait de isIdentity.__doc__]
isInvertible(self) -> bool isInvertible(self) -> bool [extrait de isInvertible.__doc__]
isRotating(self) -> bool isRotating(self) -> bool [extrait de isRotating.__doc__]
isScaling(self) -> bool isScaling(self) -> bool [extrait de isScaling.__doc__]
isTranslating(self) -> bool isTranslating(self) -> bool [extrait de isTranslating.__doc__]
m11(self) -> float m11(self) -> float [extrait de m11.__doc__]
m12(self) -> float m12(self) -> float [extrait de m12.__doc__]
m13(self) -> float m13(self) -> float [extrait de m13.__doc__]
m21(self) -> float m21(self) -> float [extrait de m21.__doc__]
m22(self) -> float m22(self) -> float [extrait de m22.__doc__]
m23(self) -> float m23(self) -> float [extrait de m23.__doc__]
m31(self) -> float m31(self) -> float [extrait de m31.__doc__]
m32(self) -> float m32(self) -> float [extrait de m32.__doc__]
m33(self) -> float m33(self) -> float [extrait de m33.__doc__]
map map(self, a: Union[PySide6.QtGui.QPolygon, Sequence[PySide6.QtCore.QPoint], PySide6.QtCore.QRect]) -> PySide6.QtGui.QPolygon [extrait de map.__doc__]
mapRect mapRect(self, arg__1: PySide6.QtCore.QRect) -> PySide6.QtCore.QRect [extrait de mapRect.__doc__]
mapToPolygon(self, r: PySide6.QtCore.QRect) -> PySide6.QtGui.QPolygon mapToPolygon(self, r: PySide6.QtCore.QRect) -> PySide6.QtGui.QPolygon [extrait de mapToPolygon.__doc__]
quadToQuad quadToQuad(arg__1: Union[PySide6.QtGui.QPolygonF, Sequence[PySide6.QtCore.QPointF], PySide6.QtGui.QPolygon, PySide6.QtCore.QRectF], arg__2: Union[PySide6.QtGui.QPolygonF, Sequence[PySide6.QtCore.QPointF], PySide6.QtGui.QPolygon, PySide6.QtCore.QRectF]) -> object [extrait de quadToQuad.__doc__]
quadToSquare quadToSquare(arg__1: Union[PySide6.QtGui.QPolygonF, Sequence[PySide6.QtCore.QPointF], PySide6.QtGui.QPolygon, PySide6.QtCore.QRectF]) -> object [extrait de quadToSquare.__doc__]
reset(self) -> None reset(self) -> None [extrait de reset.__doc__]
rotate(self, a: float, axis: PySide6.QtCore.Qt.Axis = PySide6.QtCore.Qt.Axis.ZAxis) -> PySide6.QtGui.QTransform rotate(self, a: float, axis: PySide6.QtCore.Qt.Axis = PySide6.QtCore.Qt.Axis.ZAxis) -> PySide6.QtGui.QTransform [extrait de rotate.__doc__]
rotateRadians(self, a: float, axis: PySide6.QtCore.Qt.Axis = PySide6.QtCore.Qt.Axis.ZAxis) -> PySide6.QtGui.QTransform rotateRadians(self, a: float, axis: PySide6.QtCore.Qt.Axis = PySide6.QtCore.Qt.Axis.ZAxis) -> PySide6.QtGui.QTransform [extrait de rotateRadians.__doc__]
scale(self, sx: float, sy: float) -> PySide6.QtGui.QTransform scale(self, sx: float, sy: float) -> PySide6.QtGui.QTransform [extrait de scale.__doc__]
setMatrix(self, m11: float, m12: float, m13: float, m21: float, m22: float, m23: float, m31: float, m32: float, m33: float) -> None setMatrix(self, m11: float, m12: float, m13: float, m21: float, m22: float, m23: float, m31: float, m32: float, m33: float) -> None [extrait de setMatrix.__doc__]
shear(self, sh: float, sv: float) -> PySide6.QtGui.QTransform shear(self, sh: float, sv: float) -> PySide6.QtGui.QTransform [extrait de shear.__doc__]
squareToQuad squareToQuad(arg__1: Union[PySide6.QtGui.QPolygonF, Sequence[PySide6.QtCore.QPointF], PySide6.QtGui.QPolygon, PySide6.QtCore.QRectF]) -> object [extrait de squareToQuad.__doc__]
TransformationType
translate(self, dx: float, dy: float) -> PySide6.QtGui.QTransform translate(self, dx: float, dy: float) -> PySide6.QtGui.QTransform [extrait de translate.__doc__]
transposed(self) -> PySide6.QtGui.QTransform transposed(self) -> PySide6.QtGui.QTransform [extrait de transposed.__doc__]
type(self) -> PySide6.QtGui.QTransform.TransformationType type(self) -> PySide6.QtGui.QTransform.TransformationType [extrait de type.__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__