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 « PySide2.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)
QTransform(self, h11: float, h12: float, h13: float, h21: float, h22: float, h23: float, h31: float, h32: float, h33: float = 1.0)
QTransform(self, h11: float, h12: float, h21: float, h22: float, dx: float, dy: float)
QTransform(self, mtx: PySide2.QtGui.QMatrix)
QTransform(self, other: PySide2.QtGui.QTransform)

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__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
TxNonePySide2.QtGui.QTransform.TransformationType.TxNone
TxProjectPySide2.QtGui.QTransform.TransformationType.TxProject
TxRotatePySide2.QtGui.QTransform.TransformationType.TxRotate
TxScalePySide2.QtGui.QTransform.TransformationType.TxScale
TxShearPySide2.QtGui.QTransform.TransformationType.TxShear
TxTranslatePySide2.QtGui.QTransform.TransformationType.TxTranslate

Liste des opérateurs

Signature de l'opérateur Description
__add__(self, n: float) -> PySide2.QtGui.QTransform __add__(self, n: float) -> PySide2.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) -> PySide2.QtGui.QTransform __iadd__(self, div: float) -> PySide2.QtGui.QTransform [extrait de __iadd__.__doc__]
__imul__ __imul__(self, arg__1: PySide2.QtGui.QTransform) -> PySide2.QtGui.QTransform [extrait de __imul__.__doc__]
__isub__(self, div: float) -> PySide2.QtGui.QTransform __isub__(self, div: float) -> PySide2.QtGui.QTransform [extrait de __isub__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __lshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__mul__ __mul__(self, l: PySide2.QtCore.QLine) -> PySide2.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: PySide2.QtCore.QDataStream) -> PySide2.QtCore.QDataStream __rshift__(self, arg__1: PySide2.QtCore.QDataStream) -> PySide2.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) -> PySide2.QtGui.QTransform __sub__(self, n: float) -> PySide2.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__(self) __copy__(self) [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) -> PySide2.QtGui.QTransform adjoint(self) -> PySide2.QtGui.QTransform [extrait de adjoint.__doc__]
det(self) -> float det(self) -> float [extrait de det.__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) -> PySide2.QtGui.QTransform fromScale(dx: float, dy: float) -> PySide2.QtGui.QTransform [extrait de fromScale.__doc__]
fromTranslate(dx: float, dy: float) -> PySide2.QtGui.QTransform fromTranslate(dx: float, dy: float) -> PySide2.QtGui.QTransform [extrait de fromTranslate.__doc__]
inverted(self) -> typing.Tuple[PySide2.QtGui.QTransform, bool] inverted(self) -> typing.Tuple[PySide2.QtGui.QTransform, 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: PySide2.QtGui.QPolygon) -> PySide2.QtGui.QPolygon [extrait de map.__doc__]
mapRect mapRect(self, arg__1: PySide2.QtCore.QRect) -> PySide2.QtCore.QRect [extrait de mapRect.__doc__]
mapToPolygon(self, r: PySide2.QtCore.QRect) -> PySide2.QtGui.QPolygon mapToPolygon(self, r: PySide2.QtCore.QRect) -> PySide2.QtGui.QPolygon [extrait de mapToPolygon.__doc__]
quadToQuad quadToQuad(arg__1: PySide2.QtGui.QPolygonF, arg__2: PySide2.QtGui.QPolygonF) -> object [extrait de quadToQuad.__doc__]
quadToSquare quadToSquare(arg__1: PySide2.QtGui.QPolygonF) -> object [extrait de quadToSquare.__doc__]
reset(self) reset(self) [extrait de reset.__doc__]
rotate(self, a: float, axis: PySide2.QtCore.Qt.Axis = PySide2.QtCore.Qt.Axis.ZAxis) -> PySide2.QtGui.QTransform rotate(self, a: float, axis: PySide2.QtCore.Qt.Axis = PySide2.QtCore.Qt.Axis.ZAxis) -> PySide2.QtGui.QTransform [extrait de rotate.__doc__]
rotateRadians(self, a: float, axis: PySide2.QtCore.Qt.Axis = PySide2.QtCore.Qt.Axis.ZAxis) -> PySide2.QtGui.QTransform rotateRadians(self, a: float, axis: PySide2.QtCore.Qt.Axis = PySide2.QtCore.Qt.Axis.ZAxis) -> PySide2.QtGui.QTransform [extrait de rotateRadians.__doc__]
scale(self, sx: float, sy: float) -> PySide2.QtGui.QTransform scale(self, sx: float, sy: float) -> PySide2.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) setMatrix(self, m11: float, m12: float, m13: float, m21: float, m22: float, m23: float, m31: float, m32: float, m33: float) [extrait de setMatrix.__doc__]
shear(self, sh: float, sv: float) -> PySide2.QtGui.QTransform shear(self, sh: float, sv: float) -> PySide2.QtGui.QTransform [extrait de shear.__doc__]
squareToQuad squareToQuad(arg__1: PySide2.QtGui.QPolygonF) -> object [extrait de squareToQuad.__doc__]
toAffine(self) -> PySide2.QtGui.QMatrix toAffine(self) -> PySide2.QtGui.QMatrix [extrait de toAffine.__doc__]
TransformationType
translate(self, dx: float, dy: float) -> PySide2.QtGui.QTransform translate(self, dx: float, dy: float) -> PySide2.QtGui.QTransform [extrait de translate.__doc__]
transposed(self) -> PySide2.QtGui.QTransform transposed(self) -> PySide2.QtGui.QTransform [extrait de transposed.__doc__]
type(self) -> PySide2.QtGui.QTransform.TransformationType type(self) -> PySide2.QtGui.QTransform.TransformationType [extrait de type.__doc__]

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

__init_subclass__, __subclasshook__

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

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __str__