From c3189a0a229cf6ac0e9ea93854b0273551e119d0 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 1 Aug 2012 14:44:51 +0200 Subject: change \img to \image in docs \img was a macro defined in macros.qdocconf. This collection of macros is being phased out. Use the full command instead. Change-Id: Ia55212f87bb46349d61359d40568e0aa33882596 Reviewed-by: Casper van Donderen --- src/widgets/graphicsview/qgraphicsitem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets/graphicsview/qgraphicsitem.cpp') diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp index 35519de041..9a014807dc 100644 --- a/src/widgets/graphicsview/qgraphicsitem.cpp +++ b/src/widgets/graphicsview/qgraphicsitem.cpp @@ -132,7 +132,7 @@ local coordinates). Parent items propagate both their position and their transformation to all children. - \img graphicsview-parentchild.png + \image graphicsview-parentchild.png \target Transformations \section1 Transformations @@ -9134,7 +9134,7 @@ QVariant QGraphicsPolygonItem::extension(const QVariant &variant) const returns the current line. By default the line is black with a width of 0, but you can change this by calling setPen(). - \img graphicsview-lineitem.png + \image graphicsview-lineitem.png QGraphicsLineItem uses the line and the pen width to provide a reasonable implementation of boundingRect(), shape(), and contains(). The paint() @@ -9779,7 +9779,7 @@ QVariant QGraphicsPixmapItem::extension(const QVariant &variant) const \note In order to align HTML text in the center, the item's text width must be set. - \img graphicsview-textitem.png + \image graphicsview-textitem.png \note QGraphicsTextItem accepts \l{QGraphicsItem::acceptHoverEvents()}{hover events} by default. You can change this with \l{QGraphicsItem::}{setAcceptHoverEvents()}. @@ -10696,7 +10696,7 @@ void QGraphicsSimpleTextItemPrivate::updateBoundingRect() QGraphicsSimpleText does not display rich text; instead, you can use QGraphicsTextItem, which provides full text control capabilities. - \img graphicsview-simpletextitem.png + \image graphicsview-simpletextitem.png \sa QGraphicsTextItem, QGraphicsPathItem, QGraphicsRectItem, QGraphicsEllipseItem, QGraphicsPixmapItem, QGraphicsPolygonItem, -- cgit v1.2.3