Obsolete Members for QGraphicsSvgItem

以下成員源於類 QGraphicsSvgItem 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) acceptsHoverEvents () const
(obsolete) children () const
(obsolete) dumpObjectInfo ()
(obsolete) dumpObjectTree ()
(obsolete) handlesChildEvents () const
(obsolete) bool isCachingEnabled () const
(obsolete) matrix () const
(obsolete) resetMatrix ()
(obsolete) rotate (qreal angle )
(obsolete) scale (qreal sx , qreal sy )
(obsolete) sceneMatrix () const
(obsolete) setAcceptsHoverEvents (bool enabled )
(obsolete) void setCachingEnabled (bool caching )
(obsolete) setHandlesChildEvents (bool enabled )
(obsolete) setMatrix (const QMatrix & matrix , bool combine )
(obsolete) shear (qreal sh , qreal sv )
(obsolete) translate (qreal dx , qreal dy )

成員函數文檔編製

bool QGraphicsSvgItem:: isCachingEnabled () const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

使用 QGraphicsItem::cacheMode () 代替。

void QGraphicsSvgItem:: setCachingEnabled ( bool caching )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

使用 QGraphicsItem::setCacheMode () instead. Passing true to this function is equivalent to QGraphicsItem::setCacheMode ( QGraphicsItem::DeviceCoordinateCache ).

另請參閱 isCachingEnabled ().