Home · All Classes · Modules |
The QGraphicsScale class provides a scale transformation. More...
Inherits QGraphicsTransform.
The QGraphicsScale class provides a scale transformation.
QGraphicsScene provides certain parameters to help control how the scale should be applied.
The origin is the point that the item is scaled from (i.e., it stays fixed relative to the parent as the rest of the item grows). By default the origin is QPointF(0, 0).
The parameters xScale, yScale, and zScale describe the scale factors to apply in horizontal, vertical, and depth directions. They can take on any value, including 0 (to collapse the item to a point) or negative value. A negative xScale value will mirror the item horizontally. A negative yScale value will flip the item vertically. A negative zScale will flip the item end for end.
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
Constructs an empty QGraphicsScale object with the given parent.
Reimplemented from QGraphicsTransform.applyTo().
This is the default overload of this signal.
QGraphicsScale emits this signal when its origin changes.
See also QGraphicsScale.origin.
This is the default overload of this signal.
This signal is emitted whenever the xScale, yScale, or zScale of the object changes.
See also QGraphicsScale.xScale, QGraphicsScale.yScale, and QGraphicsScale.zScale.
This is the default overload of this signal.
This signal is emitted whenever the xScale property changes.
This function was introduced in Qt 4.7.
This is the default overload of this signal.
This signal is emitted whenever the yScale property changes.
This function was introduced in Qt 4.7.
This is the default overload of this signal.
This signal is emitted whenever the zScale property changes.
This function was introduced in Qt 4.7.
PyQt 4.10.1 for MacOS | Copyright © Riverbank Computing Ltd and Nokia 2012 | Qt 4.8.4 |