Skip to content

PythonQt.QtGui.QGraphicsItemAnimation · declarations 001

Back to PythonQt.QtGui.QGraphicsItemAnimation

afterAnimationStep

afterAnimationStep(step: float) -> None

X.afterAnimationStep(step)

Supplemental documentation: Qt 5 reference:

[virtual protected] void QGraphicsItemAnimation::afterAnimationStep(qreal step)

This method is meant to be overridden in subclasses that need to execute additional code after a new step has taken place. The animation step is provided for use in cases where the action depends on its value.

Upstream PySide2 reference signatures (binding differences may apply):

afterAnimationStep(self, step: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#afterAnimationStep

beforeAnimationStep

beforeAnimationStep(step: float) -> None

X.beforeAnimationStep(step)

Supplemental documentation: Qt 5 reference:

[virtual protected] void QGraphicsItemAnimation::beforeAnimationStep(qreal step)

This method is meant to be overridden by subclassed that needs to execute additional code before a new step takes place. The animation step is provided for use in cases where the action depends on its value.

Upstream PySide2 reference signatures (binding differences may apply):

beforeAnimationStep(self, step: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#beforeAnimationStep

clear

clear() -> None

X.clear()

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::clear()

Clears the scheduled transformations used for the animation, but retains the item and timeline.

Upstream PySide2 reference signatures (binding differences may apply):

clear(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#clear

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsItemAnimation.destroyed; argument details are not documented.

horizontalScaleAt

horizontalScaleAt(step: float) -> float

X.horizontalScaleAt(step) -> float

Supplemental documentation: Qt 5 reference:

qreal QGraphicsItemAnimation::horizontalScaleAt(qreal step) const

Returns the horizontal scale for the item at the specified step value.

See also setScaleAt().

Upstream PySide2 reference signatures (binding differences may apply):

horizontalScaleAt(self, step: float) -> float

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#horizontalScaleAt

horizontalShearAt

horizontalShearAt(step: float) -> float

X.horizontalShearAt(step) -> float

Supplemental documentation: Qt 5 reference:

qreal QGraphicsItemAnimation::horizontalShearAt(qreal step) const

Returns the horizontal shear for the item at the specified step value.

See also setShearAt().

Upstream PySide2 reference signatures (binding differences may apply):

horizontalShearAt(self, step: float) -> float

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#horizontalShearAt

item

item() -> Any

X.item() -> PythonQt.QtGui.QGraphicsItem

Supplemental documentation: Qt 5 reference:

QGraphicsItem *QGraphicsItemAnimation::item() const

Returns the item on which the animation object operates.

See also setItem().

Upstream PySide2 reference signatures (binding differences may apply):

item(self) -> PySide2.QtWidgets.QGraphicsItem

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#item

matrixAt

matrixAt(step: float) -> Any

X.matrixAt(step) -> PythonQt.QtGui.QMatrix

Upstream PySide2 reference signatures (binding differences may apply):

matrixAt(self, step: float) -> PySide2.QtGui.QMatrix

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#matrixAt

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsItemAnimation.objectNameChanged; argument details are not documented.

posAt

posAt(step: float) -> Any

X.posAt(step) -> PythonQt.QtCore.QPointF

Supplemental documentation: Qt 5 reference:

QPointF QGraphicsItemAnimation::posAt(qreal step) const

Returns the position of the item at the given step value.

See also setPosAt().

Upstream PySide2 reference signatures (binding differences may apply):

posAt(self, step: float) -> PySide2.QtCore.QPointF

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#posAt

posList

posList() -> tuple

X.posList() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QPair\<qreal, QPointF>> QGraphicsItemAnimation::posList() const

Returns all explicitly inserted positions.

See also posAt() and setPosAt().

Upstream PySide2 reference signatures (binding differences may apply):

posList(self) -> typing.List[typing.Tuple[float, PySide2.QtCore.QPointF]]

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#posList

reset

reset() -> None

X.reset()

Upstream PySide2 reference signatures (binding differences may apply):

reset(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#reset

rotationAt

rotationAt(step: float) -> float

X.rotationAt(step) -> float

Supplemental documentation: Qt 5 reference:

qreal QGraphicsItemAnimation::rotationAt(qreal step) const

Returns the angle at which the item is rotated at the specified step value.

See also setRotationAt().

Upstream PySide2 reference signatures (binding differences may apply):

rotationAt(self, step: float) -> float

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#rotationAt

rotationList

rotationList() -> tuple

X.rotationList() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QPair\<qreal, qreal>> QGraphicsItemAnimation::rotationList() const

Returns all explicitly inserted rotations.

See also rotationAt() and setRotationAt().

Upstream PySide2 reference signatures (binding differences may apply):

rotationList(self) -> typing.List[typing.Tuple[float, float]]

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#rotationList

scaleList

scaleList() -> tuple

X.scaleList() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QPair\<qreal, QPointF>> QGraphicsItemAnimation::scaleList() const

Returns all explicitly inserted scales.

See also verticalScaleAt(), horizontalScaleAt(), and setScaleAt().

Upstream PySide2 reference signatures (binding differences may apply):

scaleList(self) -> typing.List[typing.Tuple[float, PySide2.QtCore.QPointF]]

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#scaleList

setItem

setItem(item: Any) -> None

X.setItem(item)

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::setItem(QGraphicsItem *item)

Sets the specified item to be used in the animation.

See also item().

Upstream PySide2 reference signatures (binding differences may apply):

setItem(self, item: PySide2.QtWidgets.QGraphicsItem) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setItem

setPosAt

setPosAt(step: float, pos: Any) -> None

X.setPosAt(step, pos)

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::setPosAt(qreal step, const QPointF \&point)

Sets the position of the item at the given step value to the point specified.

See also posAt().

Upstream PySide2 reference signatures (binding differences may apply):

setPosAt(self, step: float, pos: PySide2.QtCore.QPointF) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setPosAt

setRotationAt

setRotationAt(step: float, angle: float) -> None

X.setRotationAt(step, angle)

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::setRotationAt(qreal step, qreal angle)

Sets the rotation of the item at the given step value to the angle specified.

See also rotationAt().

Upstream PySide2 reference signatures (binding differences may apply):

setRotationAt(self, step: float, angle: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setRotationAt

setScaleAt

setScaleAt(step: float, sx: float, sy: float) -> None

X.setScaleAt(step, sx, sy)

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::setScaleAt(qreal step, qreal sx, qreal sy)

Sets the scale of the item at the given step value using the horizontal and vertical scale factors specified by sx and sy.

See also verticalScaleAt() and horizontalScaleAt().

Upstream PySide2 reference signatures (binding differences may apply):

setScaleAt(self, step: float, sx: float, sy: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setScaleAt

setShearAt

setShearAt(step: float, sh: float, sv: float) -> None

X.setShearAt(step, sh, sv)

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::setShearAt(qreal step, qreal sh, qreal sv)

Sets the shear of the item at the given step value using the horizontal and vertical shear factors specified by sh and sv.

See also verticalShearAt() and horizontalShearAt().

Upstream PySide2 reference signatures (binding differences may apply):

setShearAt(self, step: float, sh: float, sv: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setShearAt

setStep

setStep(x: float) -> None

X.setStep(x)

Supplemental documentation: Qt 5 reference:

[slot] void QGraphicsItemAnimation::setStep(qreal step)

Sets the current step value for the animation, causing the transformations scheduled at this step to be performed.

Upstream PySide2 reference signatures (binding differences may apply):

setStep(self, x: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setStep

setTimeLine

setTimeLine(timeLine: Any) -> None

X.setTimeLine(timeLine)

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::setTimeLine(QTimeLine *timeLine)

Sets the timeline object used to control the rate of animation to the timeLine specified.

See also timeLine().

Upstream PySide2 reference signatures (binding differences may apply):

setTimeLine(self, timeLine: PySide2.QtCore.QTimeLine) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setTimeLine

setTranslationAt

setTranslationAt(step: float, dx: float, dy: float) -> None

X.setTranslationAt(step, dx, dy)

Supplemental documentation: Qt 5 reference:

void QGraphicsItemAnimation::setTranslationAt(qreal step, qreal dx, qreal dy)

Sets the translation of the item at the given step value using the horizontal and vertical coordinates specified by dx and dy.

See also xTranslationAt() and yTranslationAt().

Upstream PySide2 reference signatures (binding differences may apply):

setTranslationAt(self, step: float, dx: float, dy: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#setTranslationAt

shearList

shearList() -> tuple

X.shearList() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QPair\<qreal, QPointF>> QGraphicsItemAnimation::shearList() const

Returns all explicitly inserted shears.

See also verticalShearAt(), horizontalShearAt(), and setShearAt().

Upstream PySide2 reference signatures (binding differences may apply):

shearList(self) -> typing.List[typing.Tuple[float, PySide2.QtCore.QPointF]]

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#shearList

timeLine

timeLine() -> Any

X.timeLine() -> PythonQt.QtCore.QTimeLine

Supplemental documentation: Qt 5 reference:

QTimeLine *QGraphicsItemAnimation::timeLine() const

Returns the timeline object used to control the rate at which the animation occurs.

See also setTimeLine().

Upstream PySide2 reference signatures (binding differences may apply):

timeLine(self) -> PySide2.QtCore.QTimeLine

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#timeLine

translationList

translationList() -> tuple

X.translationList() -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QPair\<qreal, QPointF>> QGraphicsItemAnimation::translationList() const

Returns all explicitly inserted translations.

See also xTranslationAt(), yTranslationAt(), and setTranslationAt().

Upstream PySide2 reference signatures (binding differences may apply):

translationList(self) -> typing.List[typing.Tuple[float, PySide2.QtCore.QPointF]]

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#translationList

verticalScaleAt

verticalScaleAt(step: float) -> float

X.verticalScaleAt(step) -> float

Supplemental documentation: Qt 5 reference:

qreal QGraphicsItemAnimation::verticalScaleAt(qreal step) const

Returns the vertical scale for the item at the specified step value.

See also setScaleAt().

Upstream PySide2 reference signatures (binding differences may apply):

verticalScaleAt(self, step: float) -> float

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#verticalScaleAt

verticalShearAt

verticalShearAt(step: float) -> float

X.verticalShearAt(step) -> float

Supplemental documentation: Qt 5 reference:

qreal QGraphicsItemAnimation::verticalShearAt(qreal step) const

Returns the vertical shear for the item at the specified step value.

See also setShearAt().

Upstream PySide2 reference signatures (binding differences may apply):

verticalShearAt(self, step: float) -> float

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#verticalShearAt

xTranslationAt

xTranslationAt(step: float) -> float

X.xTranslationAt(step) -> float

Supplemental documentation: Qt 5 reference:

qreal QGraphicsItemAnimation::xTranslationAt(qreal step) const

Returns the horizontal translation of the item at the specified step value.

See also setTranslationAt().

Upstream PySide2 reference signatures (binding differences may apply):

xTranslationAt(self, step: float) -> float

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#xTranslationAt

yTranslationAt

yTranslationAt(step: float) -> float

X.yTranslationAt(step) -> float

Supplemental documentation: Qt 5 reference:

qreal QGraphicsItemAnimation::yTranslationAt(qreal step) const

Returns the vertical translation of the item at the specified step value.

See also setTranslationAt().

Upstream PySide2 reference signatures (binding differences may apply):

yTranslationAt(self, step: float) -> float

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitemanimation.html#yTranslationAt