QGraphicsScale Class ReferenceThe QGraphicsScale class provides a scale transformation. Далее... #include <QGraphicsScale> Inherits: QGraphicsTransform. Этот класс был введён в Qt 4.6. Свойства
Открытые функции
Переопределённые открытые функции
Сигналы
Дополнительные унаследованные члены
Подробное описание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. See also QGraphicsTransform, QGraphicsItem::setScale(), and QTransform::scale(). Описание свойствorigin : QVector3DThis property holds the origin of the scale in 3D space. All scaling will be done relative to this point (i.e., this point will stay fixed, relative to the parent, when the item is scaled). Функции доступа:
Уведомляющий сигнал:
See also xScale, yScale, and zScale. xScale : qrealThis property holds the horizontal scale factor. The scale factor can be any real number; the default value is 1.0. If you set the factor to 0.0, the item will be collapsed to a single point. If you provide a negative value, the item will be mirrored horizontally around its origin. Функции доступа:
Уведомляющий сигнал:
See also yScale, zScale, and origin. yScale : qrealThis property holds the vertical scale factor. The scale factor can be any real number; the default value is 1.0. If you set the factor to 0.0, the item will be collapsed to a single point. If you provide a negative value, the item will be flipped vertically around its origin. Функции доступа:
Уведомляющий сигнал:
See also xScale, zScale, and origin. zScale : qrealThis property holds the depth scale factor. The scale factor can be any real number; the default value is 1.0. If you set the factor to 0.0, the item will be collapsed to a single point. If you provide a negative value, the item will be flipped end for end around its origin. Функции доступа:
Уведомляющий сигнал:
Описание функций-членовQGraphicsScale::QGraphicsScale ( QObject * parent = 0 )Constructs an empty QGraphicsScale object with the given parent. QGraphicsScale::~QGraphicsScale ()Destroys the graphics scale. void QGraphicsScale::applyTo ( QMatrix4x4 * matrix ) const [virtual]Reimplemented from QGraphicsTransform::applyTo(). void QGraphicsScale::originChanged () [signal]QGraphicsScale emits this signal when its origin changes. See also QGraphicsScale::origin. void QGraphicsScale::scaleChanged () [signal]This signal is emitted whenever the xScale, yScale, or zScale of the object changes. See also QGraphicsScale::xScale, QGraphicsScale::yScale, and QGraphicsScale::zScale. void QGraphicsScale::xScaleChanged () [signal]This signal is emitted whenever the xScale property changes. Эта функция была введена в Qt 4.7. void QGraphicsScale::yScaleChanged () [signal]This signal is emitted whenever the yScale property changes. Эта функция была введена в Qt 4.7. void QGraphicsScale::zScaleChanged () [signal]This signal is emitted whenever the zScale property changes. Эта функция была введена в Qt 4.7. |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |