Qt:Документация 4.3.2/qgraphicsitem-obsolete

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] Obsolete Members for QGraphicsItem

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.



[править] Открытые функции


[править] Описание функций-членов

[править]
QMatrix QGraphicsItem::matrix () const

Returns the item's affine transformation matrix. This is a subset or the item's full transformation matrix, and might not represent the item's full transformation.

Use transform() instead.

See also setMatrix(), setTransform(), and sceneTransform().

[править]
void QGraphicsItem::resetMatrix ()

Use resetTransform() instead.

[править]
QMatrix QGraphicsItem::sceneMatrix () const

Use sceneTransform() instead.

See also transform(), setTransform(), scenePos(), and The Graphics View Coordinate System.

[править]
void QGraphicsItem::setMatrix ( const QMatrix & matrix, bool combine = false )

Sets the item's affine transformation matrix. This is a subset or the item's full transformation matrix, and might not represent the item's full transformation.

Use setTransform() instead.

See also matrix(), transform(), rotate(), scale(), shear(), translate(), and The Graphics View Coordinate System.


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2