Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2056

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QGraphicsSvgItem" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt; class is a &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; that can be used to render the contents of SVG files.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt; provides a way of rendering SVG files onto &lt;a href=&quot;%2E%2E/gui/QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;. &lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt; can be created by passing the SVG file to be rendered to its constructor or by explicit setting a shared &lt;a href=&quot;QSvgRenderer.html&quot;&gt;&lt;tt&gt;QSvgRenderer&lt;/tt&gt;&lt;/a&gt; on it.&lt;/p&gt;
&lt;p&gt;Note that setting &lt;a href=&quot;QSvgRenderer.html&quot;&gt;&lt;tt&gt;QSvgRenderer&lt;/tt&gt;&lt;/a&gt; on a &lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt; doesn't make the item take ownership of the renderer, therefore if using &lt;a href=&quot;QGraphicsSvgItem.html#setSharedRenderer(com.trolltech.qt.svg.QSvgRenderer)&quot;&gt;&lt;tt&gt;setSharedRenderer&lt;/tt&gt;&lt;/a&gt; method one has to make sure that the lifetime of the &lt;a href=&quot;QSvgRenderer.html&quot;&gt;&lt;tt&gt;QSvgRenderer&lt;/tt&gt;&lt;/a&gt; object will be at least as long as that of the &lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt; provides a way of rendering only parts of the SVG files via the &lt;a href=&quot;QGraphicsSvgItem.html#setElementId(java.lang.String)&quot;&gt;&lt;tt&gt;setElementId&lt;/tt&gt;&lt;/a&gt;. If &lt;a href=&quot;QGraphicsSvgItem.html#setElementId(java.lang.String)&quot;&gt;&lt;tt&gt;setElementId&lt;/tt&gt;&lt;/a&gt; method is called, only the SVG element (and its children) with the passed id will be renderer. This provides a convenient way of selectively rendering large SVG files that contain a number of discrete elements. For example the following code renders only jokers from a SVG file containing a whole card deck:&lt;/p&gt;
&lt;pre&gt;    QSvgRenderer *renderer = new QSvgRenderer(QLatin1String(&amp;quot;SvgCardDeck.svg&amp;quot;));
    QGraphicsSvgItem *black = new QGraphicsSvgItem();
    QGraphicsSvgItem *red   = new QGraphicsSvgItem();

    black-&amp;gt;setSharedRenderer(renderer);
    black-&amp;gt;setElementId(QLatin1String(&amp;quot;black_joker&amp;quot;));

    red-&amp;gt;setSharedRenderer(renderer);
    red-&amp;gt;setElementId(QLatin1String(&amp;quot;red_joker&amp;quot;));&lt;/pre&gt;
&lt;p&gt;Size of the item can be set via the setSize() method or via direct manipulation of the items transformation matrix.&lt;/p&gt;
&lt;p&gt;By default the SVG rendering is cached to speedup the display of items. Caching can be disabled by passing false to the &lt;a href=&quot;QGraphicsSvgItem.html#setCachingEnabled(boolean)&quot;&gt;&lt;tt&gt;setCachingEnabled&lt;/tt&gt;&lt;/a&gt; method.&lt;/p&gt;

@see &lt;a href=&quot;QSvgWidget.html&quot;&gt;&lt;tt&gt;QSvgWidget&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QtSvg Module&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/gui/QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QGraphicsSvgItem(com.trolltech.qt.gui.QGraphicsItemInterface parentItem)" doc="/**
&lt;p&gt;Constructs a new SVG item with the given &lt;tt&gt;parentItem&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QGraphicsSvgItem()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QGraphicsSvgItem(java.lang.String fileName, com.trolltech.qt.gui.QGraphicsItemInterface parentItem)" doc="/**
&lt;p&gt;Constructs a new item with the given &lt;tt&gt;parentItem&lt;/tt&gt; and loads the contents of the SVG file with the specified &lt;tt&gt;fileName&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QGraphicsSvgItem(java.lang.String fileName)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#QGraphicsSvgItem(java.lang.String, com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;QGraphicsSvgItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;fileName&lt;/tt&gt;, 0). */"/>
    <method name="public final boolean acceptDrops()" doc="/**
&lt;p&gt;Returns true if this item can accept drag and drop events; otherwise, returns false. By default, items do not accept drag and drop events; items are transparent to drag and drop.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptDrops(boolean)&quot;&gt;&lt;tt&gt;setAcceptDrops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.MouseButtons acceptedMouseButtons()" doc="/**
&lt;p&gt;Returns the mouse buttons that this item accepts mouse events for. By default, all mouse buttons are accepted.&lt;/p&gt;
&lt;p&gt;If an item accepts a mouse button, it will become the mouse grabber item when a mouse press event is delivered for that mouse button. However, if the item does not accept the button, &lt;a href=&quot;%2E%2E/gui/QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; will forward the mouse events to the first item beneath it that does.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)&quot;&gt;&lt;tt&gt;setAcceptedMouseButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean acceptsHoverEvents()" doc="/**
&lt;p&gt;Returns true if an item accepts hover events (&lt;a href=&quot;%2E%2E/gui/QGraphicsSceneHoverEvent.html&quot;&gt;&lt;tt&gt;QGraphicsSceneHoverEvent&lt;/tt&gt;&lt;/a&gt;); otherwise, returns false. By default, items do not accept hover events.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptsHoverEvents(boolean)&quot;&gt;&lt;tt&gt;setAcceptsHoverEvents&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)&quot;&gt;&lt;tt&gt;setAcceptedMouseButtons&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void addToIndex()" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QGraphicsItemInterface&gt; childItems()" doc="/**
&lt;p&gt;Returns a list of child objects. The &lt;a href=&quot;%2E%2E/porting4.html#qobjectlist&quot;&gt;&lt;tt&gt;QObjectList&lt;/tt&gt;&lt;/a&gt; class is defined in the &lt;tt&gt;&amp;lt;QObject&amp;gt;&lt;/tt&gt; header file as the following:&lt;/p&gt;
&lt;pre&gt;    typedef QList&amp;lt;QObject*&amp;gt; QObjectList;&lt;/pre&gt;
&lt;p&gt;The first child added is the first&lt;/tt&gt; object in the list and the last child added is the last&lt;/tt&gt; object in the list, i.e&amp;#x2e; new children are appended at the end.&lt;/p&gt;
&lt;p&gt;Note that the list order changes when &lt;a href=&quot;%2E%2E/gui/QWidget.html&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt; children are raised&lt;/tt&gt; or lowered&lt;/tt&gt;. A widget that is raised becomes the last object in the list, and a widget that is lowered becomes the first object in the list.&lt;/p&gt;

@see &lt;tt&gt;findChild&lt;/tt&gt;
@see &lt;tt&gt;findChildren&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QObject.html#parent()&quot;&gt;&lt;tt&gt;parent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QObject.html#setParent(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;setParent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRectF childrenBoundingRect()" doc="/**
&lt;p&gt;Returns the bounding rect of this item's descendents (i.e&amp;#x2e;, its children, their children, etc.) in local coordinates. If the item has no children, this function returns an empty &lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This does not include this item's own bounding rect; it only returns its descendents' accumulated bounding rect. If you need to include this item's bounding rect, you can add &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; to &lt;a href=&quot;QGraphicsSvgItem.html#childrenBoundingRect()&quot;&gt;&lt;tt&gt;childrenBoundingRect&lt;/tt&gt;&lt;/a&gt; using QRectF::operator|().&lt;/p&gt;
&lt;p&gt;This function is linear in complexity; it determines the size of the returned bounding rect by iterating through all descendents.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneBoundingRect()&quot;&gt;&lt;tt&gt;sceneBoundingRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clearFocus()" doc="/**
&lt;p&gt;Takes keyboard input focus from the item.&lt;/p&gt;
&lt;p&gt;If it has focus, a focus out event is sent to this item to tell it that it is about to lose the focus.&lt;/p&gt;
&lt;p&gt;Only items that set the ItemIsFocusable flag can accept keyboard focus.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)&quot;&gt;&lt;tt&gt;setFocus&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QGraphicsItemInterface&gt; collidingItems(com.trolltech.qt.core.Qt.ItemSelectionMode mode)" doc="/**
&lt;p&gt;Returns a list of all items that collide with this item.&lt;/p&gt;
&lt;p&gt;The way collisions are detected is determined by &lt;tt&gt;mode&lt;/tt&gt;. The default value for &lt;tt&gt;mode&lt;/tt&gt; is Qt::IntersectsItemShape; All items whose shape intersects or is contained by this item's shape are returned.&lt;/p&gt;

@see &lt;tt&gt;QGraphicsScene::collidingItems&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)&quot;&gt;&lt;tt&gt;collidesWithItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QGraphicsItemInterface&gt; collidingItems()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#collidingItems(com.trolltech.qt.core.Qt.ItemSelectionMode)&quot;&gt;&lt;tt&gt;collidingItems&lt;/tt&gt;&lt;/a&gt;(Qt::IntersectsItemShape). */"/>
    <method name="public final com.trolltech.qt.gui.QCursor cursor()" doc="/**
&lt;p&gt;Returns the current cursor shape for the item. The mouse cursor will assume this shape when it's over this item. See the list of predefined cursor objects&lt;/tt&gt; for a range of useful shapes.&lt;/p&gt;
&lt;p&gt;An editor item might want to use an I-beam cursor:&lt;/p&gt;
&lt;pre&gt;    item-&amp;gt;setCursor(Qt::IBeamCursor);&lt;/pre&gt;
&lt;p&gt;If no cursor has been set, the parent's cursor is used.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setCursor(com.trolltech.qt.gui.QCursor)&quot;&gt;&lt;tt&gt;setCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hasCursor()&quot;&gt;&lt;tt&gt;hasCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#unsetCursor()&quot;&gt;&lt;tt&gt;unsetCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::cursor&lt;/tt&gt;
@see &lt;tt&gt;QApplication::overrideCursor&lt;/tt&gt; */"/>
    <method name="public final java.lang.Object data(int key)" doc="/**
&lt;p&gt;Returns this item's custom data for the key &lt;tt&gt;key&lt;/tt&gt; as a &lt;a href=&quot;%2E%2E/porting4.html#qvariant&quot;&gt;&lt;tt&gt;QVariant&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Custom item data is useful for storing arbitrary properties in any item. Example:&lt;/p&gt;
&lt;pre&gt;    static const int ObjectName = 0;

    QGraphicsItem *item = scene.itemAt(100, 50);
    if (item-&amp;gt;data(ObjectName).toString().isEmpty()) {
        if (qgraphicsitem_cast&amp;lt;ButtonItem *&amp;gt;(item))
            item-&amp;gt;setData(ObjectName, &amp;quot;Button&amp;quot;);
    }&lt;/pre&gt;
&lt;p&gt;Qt does not use this feature for storing data; it is provided solely for the convenience of the user.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setData(int, java.lang.Object)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTransform deviceTransform(com.trolltech.qt.gui.QTransform viewportTransform)" doc="/**
&lt;p&gt;Returns this item's device transformation matrix, using &lt;tt&gt;viewportTransform&lt;/tt&gt; to map from scene to device coordinates. This matrix can be used to map coordinates and geometrical shapes from this item's local coordinate system to the viewport's (or any device's) coordinate system. To map coordinates from the viewport, you must first invert the returned matrix.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QGraphicsRectItem rect;
    rect.setPos(100, 100);

    rect.deviceTransform(view-&amp;gt;viewportTransform()).map(QPointF(0, 0));
&lt;span class=&quot;comment&quot;&gt;    // returns the item's (0, 0) point in view's viewport coordinates&lt;/span&gt;

    rect.deviceTransform(view-&amp;gt;viewportTransform()).inverted().map(QPointF(100, 100));
&lt;span class=&quot;comment&quot;&gt;    // returns view's viewport's (100, 100) coordinate in item coordinates&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;This function is the same as combining this item's scene transform with the view's viewport transform, but is also understands ItemIgnoresTransformations.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String elementId()" doc="/**
&lt;p&gt;Returns the XML ID the element that is currently being renderer. Returns an empty string if the whole file is being rendered.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setElementId(java.lang.String)&quot;&gt;&lt;tt&gt;setElementId&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void ensureVisible(double x, double y, double w, double h, int xmargin, int ymargin)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)&quot;&gt;&lt;tt&gt;ensureVisible&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;), &lt;tt&gt;xmargin&lt;/tt&gt;, &lt;tt&gt;ymargin&lt;/tt&gt;):&lt;/p&gt;
 */"/>
    <method name="public final void ensureVisible(double x, double y, double w, double h, int xmargin)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)&quot;&gt;&lt;tt&gt;ensureVisible&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;, &lt;tt&gt;xmargin&lt;/tt&gt;, 50). */"/>
    <method name="public final void ensureVisible(double x, double y, double w, double h)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)&quot;&gt;&lt;tt&gt;ensureVisible&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;, 50, 50). */"/>
    <method name="public final void ensureVisible(com.trolltech.qt.core.QRectF rect, int xmargin, int ymargin)" doc="/**
&lt;p&gt;If this item is part of a scene that is viewed by a &lt;a href=&quot;%2E%2E/gui/QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;, this convenience function will attempt to scroll the view to ensure that &lt;tt&gt;rect&lt;/tt&gt; is visible inside the view's viewport. If &lt;tt&gt;rect&lt;/tt&gt; is a null rect (the default), &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; will default to the item's bounding rect. &lt;tt&gt;xmargin&lt;/tt&gt; and &lt;tt&gt;ymargin&lt;/tt&gt; are the number of pixels the view should use for margins.&lt;/p&gt;
&lt;p&gt;If the specified rect cannot be reached, the contents are scrolled to the nearest valid position.&lt;/p&gt;
&lt;p&gt;If this item is not viewed by a &lt;a href=&quot;%2E%2E/gui/QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;, this function does nothing.&lt;/p&gt;

@see &lt;tt&gt;QGraphicsView::ensureVisible&lt;/tt&gt; */"/>
    <method name="public final void ensureVisible(com.trolltech.qt.core.QRectF rect, int xmargin)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)&quot;&gt;&lt;tt&gt;ensureVisible&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;rect&lt;/tt&gt;, &lt;tt&gt;xmargin&lt;/tt&gt;, 50). */"/>
    <method name="public final void ensureVisible(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)&quot;&gt;&lt;tt&gt;ensureVisible&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;rect&lt;/tt&gt;, 50, 50). */"/>
    <method name="public final void ensureVisible()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)&quot;&gt;&lt;tt&gt;ensureVisible&lt;/tt&gt;&lt;/a&gt;(QRectF(), 50, 50). */"/>
    <method name="public final com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags flags()" doc="/**
&lt;p&gt;Returns this item's flags. The flags describe what configurable features of the item are enabled and not. For example, if the flags include ItemIsFocusable, the item can accept input focus.&lt;/p&gt;
&lt;p&gt;By default, no flags are enabled.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setFlags(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags)&quot;&gt;&lt;tt&gt;setFlags&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag, boolean)&quot;&gt;&lt;tt&gt;setFlag&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QGraphicsItemGroup group()" doc="/**
&lt;p&gt;Returns a pointer to this item's item group, or 0 if this item is not member of a group.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setGroup(com.trolltech.qt.gui.QGraphicsItemGroup)&quot;&gt;&lt;tt&gt;setGroup&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/gui/QGraphicsItemGroup.html&quot;&gt;&lt;tt&gt;QGraphicsItemGroup&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsScene::createItemGroup&lt;/tt&gt; */"/>
    <method name="public final boolean handlesChildEvents()" doc="/**
&lt;p&gt;Returns true if this item handles child events (i.e&amp;#x2e;, all events intended for any of its children are instead sent to this item); otherwise, false is returned.&lt;/p&gt;
&lt;p&gt;This property is useful for item groups; it allows one item to handle events on behalf of its children, as opposed to its children handling their events individually.&lt;/p&gt;
&lt;p&gt;The default is to return false; children handle their own events. The exception for this is if the item is a &lt;a href=&quot;%2E%2E/gui/QGraphicsItemGroup.html&quot;&gt;&lt;tt&gt;QGraphicsItemGroup&lt;/tt&gt;&lt;/a&gt;, then it defaults to return true.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setHandlesChildEvents(boolean)&quot;&gt;&lt;tt&gt;setHandlesChildEvents&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasCursor()" doc="/**
&lt;p&gt;Returns true if this item has a cursor set; otherwise, false is returned.&lt;/p&gt;
&lt;p&gt;By default, items don't have any cursor set. &lt;a href=&quot;QGraphicsSvgItem.html#cursor()&quot;&gt;&lt;tt&gt;cursor&lt;/tt&gt;&lt;/a&gt; will return a standard pointing arrow cursor.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#unsetCursor()&quot;&gt;&lt;tt&gt;unsetCursor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasFocus()" doc="/**
&lt;p&gt;Returns true if this item has focus (i.e&amp;#x2e;, can accept key events); otherwise, returns false.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)&quot;&gt;&lt;tt&gt;setFocus&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsScene::setFocusItem&lt;/tt&gt; */"/>
    <method name="public final void hide()" doc="/**
&lt;p&gt;Hides the item. (Items are visible by default.)&lt;/p&gt;
&lt;p&gt;This convenience function is equivalent to calling &lt;tt&gt;setVisible(false)&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#show()&quot;&gt;&lt;tt&gt;show&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface filterItem)" doc="/**
&lt;p&gt;Installs an event filter for this item on &lt;tt&gt;filterItem&lt;/tt&gt;, causing all events for this item to first pass through &lt;tt&gt;filterItem&lt;/tt&gt;'s &lt;a href=&quot;QGraphicsSvgItem.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEventFilter&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;To filter another item's events, install this item as an event filter for the other item. Example:&lt;/p&gt;
&lt;pre&gt;    QGraphicsScene scene;
    QGraphicsEllipseItem *ellipse = scene.addEllipse(QRectF(-10, -10, 20, 20));
    QGraphicsLineItem *line = scene.addLine(QLineF(-10, -10, 20, 20));

    line-&amp;gt;installSceneEventFilter(ellipse);
&lt;span class=&quot;comment&quot;&gt;    // line's events are filtered by ellipse's sceneEventFilter() function.&lt;/span&gt;

    ellipse-&amp;gt;installSceneEventFilter(line);
&lt;span class=&quot;comment&quot;&gt;    // ellipse's events are filtered by line's sceneEventFilter() function.&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;An item can only filter events for other items in the same scene. Also, an item cannot filter its own events; instead, you can reimplement &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; directly.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;removeSceneEventFilter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEventFilter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isAncestorOf(com.trolltech.qt.gui.QGraphicsItemInterface child)" doc="/**
&lt;p&gt;Returns true if this item is an ancestor of &lt;tt&gt;child&lt;/tt&gt; (i.e&amp;#x2e;, if this item is &lt;tt&gt;child&lt;/tt&gt;'s parent, or one of &lt;tt&gt;child&lt;/tt&gt;'s parent's ancestors).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#parentItem()&quot;&gt;&lt;tt&gt;parentItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isCachingEnabled()" doc="/**
&lt;p&gt;Returns true if the contents of the SVG file to be renderer is cached.&lt;/p&gt;
&lt;p&gt;Note that caching will not work if either the amount of cached items exceeded QPixmapCache::cacheLimit() or if the current item on the given view is greater than the QGraphicsSvgItem::maximumCacheSize().&lt;/p&gt;
 */"/>
    <method name="public final boolean isEnabled()" doc="/**
&lt;p&gt;Returns true if the item is enabled; otherwise, false is returned.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setEnabled(boolean)&quot;&gt;&lt;tt&gt;setEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isObscured()" doc="/**
&lt;p&gt;Returns true if this item's bounding rect is completely obscured by the opaque shape of any of colliding items above it (i.e&amp;#x2e;, with a higher Z value than this item).&lt;/p&gt;
&lt;p&gt;Its implementation is based on calling &lt;a href=&quot;QGraphicsSvgItem.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;isObscuredBy&lt;/tt&gt;&lt;/a&gt;, which you can reimplement to provide a custom obscurity algorithm.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#opaqueArea()&quot;&gt;&lt;tt&gt;opaqueArea&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isObscured(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Returns true if &lt;tt&gt;rect&lt;/tt&gt; is completely obscured by the opaque shape of any of colliding items above it (i.e&amp;#x2e;, with a higher Z value than this item).&lt;/p&gt;
&lt;p&gt;Unlike the default &lt;a href=&quot;QGraphicsSvgItem.html#isObscured(double, double, double, double)&quot;&gt;&lt;tt&gt;isObscured&lt;/tt&gt;&lt;/a&gt; function, this function does not call &lt;a href=&quot;QGraphicsSvgItem.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;isObscuredBy&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#opaqueArea()&quot;&gt;&lt;tt&gt;opaqueArea&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isObscured(double x, double y, double w, double h)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#isObscured(double, double, double, double)&quot;&gt;&lt;tt&gt;isObscured&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final boolean isSelected()" doc="/**
&lt;p&gt;Returns true if this item is selected; otherwise, false is returned.&lt;/p&gt;
&lt;p&gt;Items that are in a group inherit the group's selected state.&lt;/p&gt;
&lt;p&gt;Items are not selected by default.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setSelected(boolean)&quot;&gt;&lt;tt&gt;setSelected&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsScene::setSelectionArea&lt;/tt&gt; */"/>
    <method name="public final boolean isVisible()" doc="/**
&lt;p&gt;Returns true if the item is visible; otherwise, false is returned.&lt;/p&gt;
&lt;p&gt;Note that the item's general visibility is unrelated to whether or not it is actually being visualized by a &lt;a href=&quot;%2E%2E/gui/QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Maps the rectangle &lt;tt&gt;rect&lt;/tt&gt;, which is in &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface item, double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, &lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPainterPath mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.gui.QPainterPath path)" doc="/**
&lt;p&gt;Maps the path &lt;tt&gt;path&lt;/tt&gt;, which is in &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, to this item's coordinate system, and returns the mapped path.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;Maps the point &lt;tt&gt;point&lt;/tt&gt;, which is in &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, to this item's coordinate system, and returns the mapped coordinate.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface item, double x, double y, double w, double h)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;(item, &lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.gui.QPolygonF polygon)" doc="/**
&lt;p&gt;Maps the polygon &lt;tt&gt;polygon&lt;/tt&gt;, which is in &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, to this item's coordinate system, and returns the mapped polygon.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromParent(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Maps the rectangle &lt;tt&gt;rect&lt;/tt&gt;, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPainterPath mapFromParent(com.trolltech.qt.gui.QPainterPath path)" doc="/**
&lt;p&gt;Maps the path &lt;tt&gt;path&lt;/tt&gt;, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped path.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapFromParent(com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;Maps the point &lt;tt&gt;point&lt;/tt&gt;, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped coordinate.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromParent(com.trolltech.qt.gui.QPolygonF polygon)" doc="/**
&lt;p&gt;Maps the polygon &lt;tt&gt;polygon&lt;/tt&gt;, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped polygon.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromParent(double x, double y, double w, double h)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapFromParent(double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapFromScene(com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;Maps the point &lt;tt&gt;point&lt;/tt&gt;, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped coordinate.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromScene(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Maps the rectangle &lt;tt&gt;rect&lt;/tt&gt;, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromScene(double x, double y, double w, double h)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapFromScene(com.trolltech.qt.gui.QPolygonF polygon)" doc="/**
&lt;p&gt;Maps the polygon &lt;tt&gt;polygon&lt;/tt&gt;, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped polygon.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPainterPath mapFromScene(com.trolltech.qt.gui.QPainterPath path)" doc="/**
&lt;p&gt;Maps the path &lt;tt&gt;path&lt;/tt&gt;, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped path.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapFromScene(double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;Maps the point &lt;tt&gt;point&lt;/tt&gt;, which is in this item's coordinate system, to &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, and returns the mapped coordinate.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface item, double x, double y, double w, double h)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;(item, &lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.gui.QPolygonF polygon)" doc="/**
&lt;p&gt;Maps the polygon &lt;tt&gt;polygon&lt;/tt&gt;, which is in this item's coordinate system, to &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, and returns the mapped polygon.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Maps the rectangle &lt;tt&gt;rect&lt;/tt&gt;, which is in this item's coordinate system, to &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, and returns the mapped rectangle as a polygon.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPainterPath mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface item, com.trolltech.qt.gui.QPainterPath path)" doc="/**
&lt;p&gt;Maps the path &lt;tt&gt;path&lt;/tt&gt;, which is in this item's coordinate system, to &lt;tt&gt;item&lt;/tt&gt;'s coordinate system, and returns the mapped path.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;item&lt;/tt&gt; is 0, this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;mapFromItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface item, double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, &lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToParent(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Maps the rectangle &lt;tt&gt;rect&lt;/tt&gt;, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped rectangle as a polygon. If the item has no parent, &lt;tt&gt;rect&lt;/tt&gt; will be mapped to the scene's coordinate system.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToParent(com.trolltech.qt.gui.QPolygonF polygon)" doc="/**
&lt;p&gt;Maps the polygon &lt;tt&gt;polygon&lt;/tt&gt;, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped polygon. If the item has no parent, &lt;tt&gt;polygon&lt;/tt&gt; will be mapped to the scene's coordinate system.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapToParent(double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPainterPath mapToParent(com.trolltech.qt.gui.QPainterPath path)" doc="/**
&lt;p&gt;Maps the path &lt;tt&gt;path&lt;/tt&gt;, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped path. If the item has no parent, &lt;tt&gt;path&lt;/tt&gt; will be mapped to the scene's coordinate system.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToParent(double x, double y, double w, double h)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapToParent(com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;Maps the point &lt;tt&gt;point&lt;/tt&gt;, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped coordinate. If the item has no parent, &lt;tt&gt;point&lt;/tt&gt; will be mapped to the scene's coordinate system.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromParent(double, double)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPainterPath mapToScene(com.trolltech.qt.gui.QPainterPath path)" doc="/**
&lt;p&gt;Maps the path &lt;tt&gt;path&lt;/tt&gt;, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped path.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapToScene(double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToScene(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Maps the rectangle &lt;tt&gt;rect&lt;/tt&gt;, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped rectangle as a polygon.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToScene(double x, double y, double w, double h)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;w&lt;/tt&gt;, &lt;tt&gt;h&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF mapToScene(com.trolltech.qt.gui.QPolygonF polygon)" doc="/**
&lt;p&gt;Maps the polygon &lt;tt&gt;polygon&lt;/tt&gt;, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped polygon.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF mapToScene(com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;Maps the point &lt;tt&gt;point&lt;/tt&gt;, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped coordinate.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)&quot;&gt;&lt;tt&gt;mapToItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize maximumCacheSize()" doc="/**
&lt;p&gt;Returns the current maximum size of the cache for this item.&lt;/p&gt;
&lt;p&gt;This function doesn't take the current transformation matrix into account and returns the untransformed size. The default maximum cache size is 1024x768. QPixmapCache::cacheLimit() sets the cumulative bounds on the whole cache, &lt;a href=&quot;QGraphicsSvgItem.html#maximumCacheSize()&quot;&gt;&lt;tt&gt;maximumCacheSize&lt;/tt&gt;&lt;/a&gt; refers to a maximum cache size for this particular item.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setMaximumCacheSize(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setMaximumCacheSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveBy(double dx, double dy)" doc="/**
&lt;p&gt;Moves the item by &lt;tt&gt;dx&lt;/tt&gt; points horizontally, and &lt;tt&gt;dy&lt;/tt&gt; point vertically. This function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;QGraphicsSvgItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt; + &lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;dx&lt;/tt&gt;, &lt;tt&gt;dy&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QGraphicsItemInterface parentItem()" doc="/**
&lt;p&gt;Returns a pointer to this item's parent item. If this item does not have a parent, 0 is returned.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;setParentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QObject.html#children()&quot;&gt;&lt;tt&gt;children&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF pos()" doc="/**
&lt;p&gt;Returns the position of the item in parent coordinates. If the item has no parent, its position is given in scene coordinates.&lt;/p&gt;
&lt;p&gt;The position of the item describes its origin (local coordinate (0, 0)) in parent coordinates; this function returns the same as &lt;a href=&quot;QGraphicsSvgItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;(0, 0).&lt;/p&gt;
&lt;p&gt;For convenience, you can also call &lt;a href=&quot;QGraphicsSvgItem.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt; to determine the item's position in scene coordinates, regardless of its parent.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;matrix&lt;/tt&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void prepareGeometryChange()" doc="/**
&lt;p&gt;Prepares the item for a geometry change. Call this function before changing the bounding rect of an item to keep &lt;a href=&quot;%2E%2E/gui/QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt;'s index up to date.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsSvgItem.html#prepareGeometryChange()&quot;&gt;&lt;tt&gt;prepareGeometryChange&lt;/tt&gt;&lt;/a&gt; will call &lt;a href=&quot;QGraphicsSvgItem.html#update(double, double, double, double)&quot;&gt;&lt;tt&gt;update&lt;/tt&gt;&lt;/a&gt; if this is necessary.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    void CircleItem::setRadius(qreal newRadius)
    {
        if (radius != newRadius) {
            prepareGeometryChange();
            radius = newRadius;
        }
    }&lt;/pre&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void removeFromIndex()" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public final void removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface filterItem)" doc="/**
&lt;p&gt;Removes an event filter on this item from &lt;tt&gt;filterItem&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;installSceneEventFilter&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.svg.QSvgRenderer renderer()" doc="/**
&lt;p&gt;Returns the currently use &lt;a href=&quot;QSvgRenderer.html&quot;&gt;&lt;tt&gt;QSvgRenderer&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void resetTransform()" doc="/**
&lt;p&gt;Resets this item's transformation matrix to the identity matrix. This is equivalent to calling &lt;tt&gt;setTransform(QTransform())&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void rotate(double angle)" doc="/**
&lt;p&gt;Rotates the current item transformation &lt;tt&gt;angle&lt;/tt&gt; degrees clockwise.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#translate(double, double)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void scale(double sx, double sy)" doc="/**
&lt;p&gt;Scales the current item transformation by (&lt;tt&gt;sx&lt;/tt&gt;, &lt;tt&gt;sy&lt;/tt&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#translate(double, double)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QGraphicsScene scene()" doc="/**
&lt;p&gt;Returns the current scene for the item, or 0 if the item is not stored in a scene.&lt;/p&gt;
&lt;p&gt;To add or move an item to a scene, call QGraphicsScene::addItem().&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRectF sceneBoundingRect()" doc="/**
&lt;p&gt;Returns the bounding rect of this item in scene coordinates, by combining &lt;a href=&quot;QGraphicsSvgItem.html#sceneTransform()&quot;&gt;&lt;tt&gt;sceneTransform&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF scenePos()" doc="/**
&lt;p&gt;Returns the item's position in scene coordinates. This is equivalent to calling &lt;tt&gt;mapToScene(0, 0)&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneTransform()&quot;&gt;&lt;tt&gt;sceneTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTransform sceneTransform()" doc="/**
&lt;p&gt;Returns this item's scene transformation matrix. This matrix can be used to map coordinates and geometrical shapes from this item's local coordinate system to the scene's coordinate system. To map coordinates from the scene, you must first invert the returned matrix.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QGraphicsRectItem rect;
    rect.setPos(100, 100);

    rect.sceneTransform().map(QPointF(0, 0));
&lt;span class=&quot;comment&quot;&gt;    // returns QPointF(100, 100);&lt;/span&gt;

    rect.sceneTransform().inverted().map(QPointF(100, 100));
&lt;span class=&quot;comment&quot;&gt;    // returns QPointF(0, 0);&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Unlike &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;, which returns only an item's local transformation, this function includes the item's (and any parents') position.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAcceptDrops(boolean on)" doc="/**
&lt;p&gt;If &lt;tt&gt;on&lt;/tt&gt; is true, this item will accept drag and drop events; otherwise, it is transparent for drag and drop events. By default, items do not accept drag and drop events.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#acceptDrops()&quot;&gt;&lt;tt&gt;acceptDrops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons buttons)" doc="/**
&lt;p&gt;Sets the mouse &lt;tt&gt;buttons&lt;/tt&gt; that this item accepts mouse events for.&lt;/p&gt;
&lt;p&gt;By default, all mouse buttons are accepted. If an item accepts a mouse button, it will become the mouse grabber item when a mouse press event is delivered for that button. However, if the item does not accept the mouse button, &lt;a href=&quot;%2E%2E/gui/QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; will forward the mouse events to the first item beneath it that does.&lt;/p&gt;
&lt;p&gt;To disable mouse events for an item (i.e&amp;#x2e;, make it transparent for mouse events), call &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)&quot;&gt;&lt;tt&gt;setAcceptedMouseButtons&lt;/tt&gt;&lt;/a&gt;(0).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#acceptedMouseButtons()&quot;&gt;&lt;tt&gt;acceptedMouseButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAcceptsHoverEvents(boolean enabled)" doc="/**
&lt;p&gt;If &lt;tt&gt;enabled&lt;/tt&gt; is true, this item will accept hover events; otherwise, it will ignore them. By default, items do not accept hover events.&lt;/p&gt;
&lt;p&gt;Hover events are delivered when there is no current mouse grabber item. They are sent when the mouse cursor enters an item, when it moves around inside the item, and when the cursor leaves an item. Hover events are commonly used to highlight an item when it's entered, and for tracking the mouse cursor as it hovers over the item (equivalent to QWidget::mouseTracking).&lt;/p&gt;
&lt;p&gt;Parent items receive hover enter events before their children, and leave events after their children. The parent does not receive a hover leave event if the cursor enters a child, though; the parent stays &amp;quot;hovered&amp;quot; until the cursor leaves its area, including its children's areas.&lt;/p&gt;
&lt;p&gt;If a parent item handles child events (&lt;a href=&quot;QGraphicsSvgItem.html#setHandlesChildEvents(boolean)&quot;&gt;&lt;tt&gt;setHandlesChildEvents&lt;/tt&gt;&lt;/a&gt;), it will receive hover move, drag move, and drop events as the cursor passes through its children, but it does not receive hover enter and hover leave, nor drag enter and drag leave events on behalf of its children.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#acceptsHoverEvents()&quot;&gt;&lt;tt&gt;acceptsHoverEvents&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCachingEnabled(boolean arg__1)" doc="/**
&lt;p&gt;If &lt;tt&gt;arg__1&lt;/tt&gt; is true, enables caching on the item; otherwise disables it.&lt;/p&gt;
&lt;p&gt;By default, caching is on. For performance reasons, it is advised to keep the caching enabled. Note that caching will not work if either the amount of cached items exceeded QPixmapCache::cacheLimit() or if the current item on the given view is greater than the QGraphicsSvgItem::maximumCacheSize().&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#isCachingEnabled()&quot;&gt;&lt;tt&gt;isCachingEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCursor(com.trolltech.qt.gui.QCursor cursor)" doc="/**
&lt;p&gt;Sets the current cursor shape for the item to &lt;tt&gt;cursor&lt;/tt&gt;. The mouse cursor will assume this shape when it's over this item. See the list of predefined cursor objects&lt;/tt&gt; for a range of useful shapes.&lt;/p&gt;
&lt;p&gt;An editor item might want to use an I-beam cursor:&lt;/p&gt;
&lt;pre&gt;    item-&amp;gt;setCursor(Qt::IBeamCursor);&lt;/pre&gt;
&lt;p&gt;If no cursor has been set, the cursor of the item beneath is used.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#cursor()&quot;&gt;&lt;tt&gt;cursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hasCursor()&quot;&gt;&lt;tt&gt;hasCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#unsetCursor()&quot;&gt;&lt;tt&gt;unsetCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::cursor&lt;/tt&gt;
@see &lt;tt&gt;QApplication::overrideCursor&lt;/tt&gt; */"/>
    <method name="public final void setData(int key, java.lang.Object value)" doc="/**
&lt;p&gt;Sets this item's custom data for the key &lt;tt&gt;key&lt;/tt&gt; to &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Custom item data is useful for storing arbitrary properties for any item. Qt does not use this feature for storing data; it is provided solely for the convenience of the user.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#data(int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setElementId(java.lang.String id)" doc="/**
&lt;p&gt;Sets the XML ID of the element that this item should render to &lt;tt&gt;id&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#elementId()&quot;&gt;&lt;tt&gt;elementId&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setEnabled(boolean enabled)" doc="/**
&lt;p&gt;If &lt;tt&gt;enabled&lt;/tt&gt; is true, the item is enabled; otherwise, it is disabled.&lt;/p&gt;
&lt;p&gt;Disabled items are visible, but they do not receive any events, and cannot take focus nor be selected. Mouse events are discarded; they are not propagated unless the item is also invisible, or if it does not accept mouse events (see &lt;a href=&quot;QGraphicsSvgItem.html#acceptedMouseButtons()&quot;&gt;&lt;tt&gt;acceptedMouseButtons&lt;/tt&gt;&lt;/a&gt;). A disabled item cannot become the mouse grabber, and as a result of this, an item loses the grab if it becomes disabled when grabbing the mouse, just like it loses focus if it had focus when it was disabled.&lt;/p&gt;
&lt;p&gt;Disabled items are traditionally drawn using grayed-out colors (see &lt;tt&gt;QPalette::Disabled&lt;/tt&gt;).&lt;/p&gt;
&lt;p&gt;If you disable a parent item, all its children will also be disabled. If you enable a parent item, all children will be enabled, unless they have been explicitly disabled (i.e&amp;#x2e;, if you call &lt;a href=&quot;QGraphicsSvgItem.html#setEnabled(boolean)&quot;&gt;&lt;tt&gt;setEnabled&lt;/tt&gt;&lt;/a&gt;(false) on a child, it will not be reenabled if its parent is disabled, and then enabled again).&lt;/p&gt;
&lt;p&gt;Items are enabled by default.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#isEnabled()&quot;&gt;&lt;tt&gt;isEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag flag, boolean enabled)" doc="/**
&lt;p&gt;If &lt;tt&gt;enabled&lt;/tt&gt; is true, the item flag &lt;tt&gt;flag&lt;/tt&gt; is enabled; otherwise, it is disabled.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#flags()&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setFlags(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags)&quot;&gt;&lt;tt&gt;setFlags&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag flag)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag, boolean)&quot;&gt;&lt;tt&gt;setFlag&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;flag&lt;/tt&gt;, true). */"/>
    <method name="public final void setFlags(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags flags)" doc="/**
&lt;p&gt;Sets the item flags to &lt;tt&gt;flags&lt;/tt&gt;. All flags in &lt;tt&gt;flags&lt;/tt&gt; are enabled; all flags not in &lt;tt&gt;flags&lt;/tt&gt; are disabled.&lt;/p&gt;
&lt;p&gt;If the item had focus and &lt;tt&gt;flags&lt;/tt&gt; does not enable ItemIsFocusable, the item loses focus as a result of calling this function. Similarly, if the item was selected, and &lt;tt&gt;flags&lt;/tt&gt; does not enabled ItemIsSelectable, the item is automatically unselected.&lt;/p&gt;
&lt;p&gt;By default, no flags are enabled.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#flags()&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag, boolean)&quot;&gt;&lt;tt&gt;setFlag&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFocus(com.trolltech.qt.core.Qt.FocusReason focusReason)" doc="/**
&lt;p&gt;Gives keyboard input focus to this item. The &lt;tt&gt;focusReason&lt;/tt&gt; argument will be passed into any focus event generated by this function; it is used to give an explanation of what caused the item to get focus.&lt;/p&gt;
&lt;p&gt;Only items that set the ItemIsFocusable flag can accept keyboard focus.&lt;/p&gt;
&lt;p&gt;If this item is not visible (i.e&amp;#x2e;, &lt;a href=&quot;QGraphicsSvgItem.html#isVisible()&quot;&gt;&lt;tt&gt;isVisible&lt;/tt&gt;&lt;/a&gt; returns false), not enabled, not associated with a scene, or if it already has input focus, this function will do nothing.&lt;/p&gt;
&lt;p&gt;As a result of calling this function, this item will receive a focus in event with &lt;tt&gt;focusReason&lt;/tt&gt;. If another item already has focus, that item will first receive a focus out event indicating that it has lost input focus.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#clearFocus()&quot;&gt;&lt;tt&gt;clearFocus&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hasFocus()&quot;&gt;&lt;tt&gt;hasFocus&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFocus()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)&quot;&gt;&lt;tt&gt;setFocus&lt;/tt&gt;&lt;/a&gt;(Qt::OtherFocusReason). */"/>
    <method name="public final void setGroup(com.trolltech.qt.gui.QGraphicsItemGroup group)" doc="/**
&lt;p&gt;Adds this item to the item group &lt;tt&gt;group&lt;/tt&gt;. If &lt;tt&gt;group&lt;/tt&gt; is 0, this item is removed from any current group and added as a child of the previous group's parent.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#group()&quot;&gt;&lt;tt&gt;group&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsScene::createItemGroup&lt;/tt&gt; */"/>
    <method name="public final void setHandlesChildEvents(boolean enabled)" doc="/**
&lt;p&gt;If &lt;tt&gt;enabled&lt;/tt&gt; is true, this item is set to handle all events for all its children (i.e&amp;#x2e;, all events intented for any of its children are instead sent to this item); otherwise, if &lt;tt&gt;enabled&lt;/tt&gt; is false, this item will only handle its own events. The default value is false.&lt;/p&gt;
&lt;p&gt;This property is useful for item groups; it allows one item to handle events on behalf of its children, as opposed to its children handling their events individually.&lt;/p&gt;
&lt;p&gt;If a child item accepts hover events, its parent will receive hover move events as the cursor passes through the child, but it does not receive hover enter and hover leave events on behalf of its child.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#handlesChildEvents()&quot;&gt;&lt;tt&gt;handlesChildEvents&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMaximumCacheSize(com.trolltech.qt.core.QSize size)" doc="/**
&lt;p&gt;Sets the maximum cache size of the item to &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function doesn't take the current transformation matrix into account and sets the untransformed size. The cache correspods to the &lt;a href=&quot;%2E%2E/gui/QPixmap.html&quot;&gt;&lt;tt&gt;QPixmap&lt;/tt&gt;&lt;/a&gt; which is used to cache the results of the rendering. Use QPixmap::setCacheLimit() to set limitations on the whole cache and use &lt;a href=&quot;QGraphicsSvgItem.html#setMaximumCacheSize(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setMaximumCacheSize&lt;/tt&gt;&lt;/a&gt; when setting cache size for individual items.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#maximumCacheSize()&quot;&gt;&lt;tt&gt;maximumCacheSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface parent)" doc="/**
&lt;p&gt;Sets this item's parent item to &lt;tt&gt;parent&lt;/tt&gt;. If this item already has a parent, it is first removed from the previous parent. If &lt;tt&gt;parent&lt;/tt&gt; is 0, this item will become a top-level item.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#parentItem()&quot;&gt;&lt;tt&gt;parentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QObject.html#children()&quot;&gt;&lt;tt&gt;children&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPos(double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final void setPos(com.trolltech.qt.core.QPointF pos)" doc="/**
&lt;p&gt;Sets the position of the item to &lt;tt&gt;pos&lt;/tt&gt;, which is in parent coordinates. For items with no parent, &lt;tt&gt;pos&lt;/tt&gt; is in scene coordinates.&lt;/p&gt;
&lt;p&gt;The position of the item describes its origin (local coordinate (0, 0)) in parent coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSelected(boolean selected)" doc="/**
&lt;p&gt;If &lt;tt&gt;selected&lt;/tt&gt; is true and this item is selectable, this item is selected; otherwise, it is unselected.&lt;/p&gt;
&lt;p&gt;If the item is in a group, the whole group's selected state is toggled by this function. If the group is selected, all items in the group are also selected, and if the group is not selected, no item in the group is selected.&lt;/p&gt;
&lt;p&gt;Only visible, enabled, selectable items can be selected. If &lt;tt&gt;selected&lt;/tt&gt; is true and this item is either invisible or disabled or unselectable, this function does nothing.&lt;/p&gt;
&lt;p&gt;By default, items cannot be selected. To enable selection, set the ItemIsSelectable flag.&lt;/p&gt;
&lt;p&gt;This function is provided for convenience, allowing individual toggling of the selected state of an item. However, a more common way of selecting items is to call QGraphicsScene::setSelectionArea(), which will call this function for all visible, enabled, and selectable items within a specified area on the scene.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#isSelected()&quot;&gt;&lt;tt&gt;isSelected&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsScene::selectedItems&lt;/tt&gt; */"/>
    <method name="public final void setSharedRenderer(com.trolltech.qt.svg.QSvgRenderer renderer)" doc="/**
&lt;p&gt;Sets &lt;tt&gt;renderer&lt;/tt&gt; to be a shared &lt;a href=&quot;QSvgRenderer.html&quot;&gt;&lt;tt&gt;QSvgRenderer&lt;/tt&gt;&lt;/a&gt; on the item. By using this method one can share the same &lt;a href=&quot;QSvgRenderer.html&quot;&gt;&lt;tt&gt;QSvgRenderer&lt;/tt&gt;&lt;/a&gt; on a number of items. This means that the SVG file will be parsed only once. &lt;a href=&quot;QSvgRenderer.html&quot;&gt;&lt;tt&gt;QSvgRenderer&lt;/tt&gt;&lt;/a&gt; passed to this method has to exist for as long as this item is used.&lt;/p&gt;
 */"/>
    <method name="public final void setToolTip(java.lang.String toolTip)" doc="/**
&lt;p&gt;Sets the item's tool tip to &lt;tt&gt;toolTip&lt;/tt&gt;. If &lt;tt&gt;toolTip&lt;/tt&gt; is empty, the item's tool tip is cleared.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#toolTip()&quot;&gt;&lt;tt&gt;toolTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/gui/QToolTip.html&quot;&gt;&lt;tt&gt;QToolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTransform(com.trolltech.qt.gui.QTransform matrix, boolean combine)" doc="/**
&lt;p&gt;Sets the item's current transformation matrix to &lt;tt&gt;matrix&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;combine&lt;/tt&gt; is true, then &lt;tt&gt;matrix&lt;/tt&gt; is combined with the current matrix; otherwise, &lt;tt&gt;matrix&lt;/tt&gt; &lt;i&gt;replaces&lt;/i&gt; the current matrix. &lt;tt&gt;combine&lt;/tt&gt; is false by default.&lt;/p&gt;
&lt;p&gt;To simplify interation with items using a transformed view, &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; provides mapTo... and mapFrom... functions that can translate between items' and the scene's coordinates. For example, you can call &lt;a href=&quot;QGraphicsSvgItem.html#mapToScene(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt; to map an item coordiate to a scene coordinate, or &lt;a href=&quot;QGraphicsSvgItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt; to map from scene coordinates to item coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#translate(double, double)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html#the-graphics-view-coordinate-system&quot;&gt;The Graphics View Coordinate System&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTransform(com.trolltech.qt.gui.QTransform matrix)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;matrix&lt;/tt&gt;, false). */"/>
    <method name="public final void setVisible(boolean visible)" doc="/**
&lt;p&gt;If &lt;tt&gt;visible&lt;/tt&gt; is true, the item is made visible. Otherwise, the item is made invisible. Invisible items are not painted, nor do they receive any events. In particular, mouse events pass right through invisible items, and are delivered to any item that may be behind. Invisible items are also unselectable, they cannot take input focus, and are not detected by &lt;a href=&quot;%2E%2E/gui/QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt;'s item location functions.&lt;/p&gt;
&lt;p&gt;If an item becomes invisible while grabbing the mouse, (i.e&amp;#x2e;, while it is receiving mouse events,) it will automatically lose the mouse grab, and the grab is not regained by making the item visible again; it must receive a new mouse press to regain the mouse grab.&lt;/p&gt;
&lt;p&gt;Similarly, an invisible item cannot have focus, so if the item has focus when it becomes invisible, it will lose focus, and the focus is not regained by simply making the item visible again.&lt;/p&gt;
&lt;p&gt;If you hide a parent item, all its children will also be hidden. If you show a parent item, all children will be shown, unless they have been explicitly hidden (i.e&amp;#x2e;, if you call &lt;a href=&quot;QGraphicsSvgItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;(false) on a child, it will not be reshown even if its parent is hidden, and then shown again).&lt;/p&gt;
&lt;p&gt;Items are visible by default; it is unnecessary to call &lt;a href=&quot;QGraphicsSvgItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt; on a new item.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#isVisible()&quot;&gt;&lt;tt&gt;isVisible&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#show()&quot;&gt;&lt;tt&gt;show&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setZValue(double z)" doc="/**
&lt;p&gt;Sets the Z-value, or the elevation, of the item, to &lt;tt&gt;z&lt;/tt&gt;. The elevation decides the stacking order of sibling (neighboring) items. An item of high Z-value will be drawn on top of an item with a lower Z-value if they share the same parent item. In addition, children of an item will always be drawn on top of the parent, regardless of the child's Z-value. Sibling items that share the same Z-value will be drawn in an undefined order, although the order will stay the same for as long as the items live.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/graphicsview-zorder.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;Children of different parents are stacked according to the Z-value of each item's ancestor item which is an immediate child of the two items' closest common ancestor. For example, a robot item might define a torso item as the parent of a head item, two arm items, and two upper-leg items. The upper-leg items would each be parents of one lower-leg item, and each lower-leg item would be parents of one foot item. The stacking order of the feet is the same as the stacking order of each foot's ancestor that is an immediate child of the two feet's common ancestor (i.e&amp;#x2e;, the torso item); so the feet are stacked in the same order as the upper-leg items, regardless of each foot's Z-value.&lt;/p&gt;
&lt;p&gt;The Z-value does not affect the item's size in any way.&lt;/p&gt;
&lt;p&gt;The default Z-value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#zValue()&quot;&gt;&lt;tt&gt;zValue&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void shear(double sh, double sv)" doc="/**
&lt;p&gt;Shears the current item transformation by (&lt;tt&gt;sh&lt;/tt&gt;, &lt;tt&gt;sv&lt;/tt&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#translate(double, double)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void show()" doc="/**
&lt;p&gt;Shows the item. (Items are visible by default.)&lt;/p&gt;
&lt;p&gt;This convenience function is equivalent to calling &lt;tt&gt;setVisible(true)&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String toolTip()" doc="/**
&lt;p&gt;Returns the item's tool tip, or an empty &lt;a href=&quot;%2E%2E/porting4.html#qstring&quot;&gt;&lt;tt&gt;QString&lt;/tt&gt;&lt;/a&gt; if no tool tip has been set.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setToolTip(java.lang.String)&quot;&gt;&lt;tt&gt;setToolTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/gui/QToolTip.html&quot;&gt;&lt;tt&gt;QToolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QGraphicsItemInterface topLevelItem()" doc="/**
&lt;p&gt;Returns this item's top-level item. The top-level item is the item's topmost ancestor item whose parent is 0. If an item has no parent, its own pointer is returned (i.e&amp;#x2e;, a top-level item is its own top-level item).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#parentItem()&quot;&gt;&lt;tt&gt;parentItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTransform transform()" doc="/**
&lt;p&gt;Returns this item's transformation matrix. If no matrix has been set, the identity matrix is returned.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneTransform()&quot;&gt;&lt;tt&gt;sceneTransform&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void translate(double dx, double dy)" doc="/**
&lt;p&gt;Translates the current item transformation by (&lt;tt&gt;dx&lt;/tt&gt;, &lt;tt&gt;dy&lt;/tt&gt;).&lt;/p&gt;
&lt;p&gt;If all you want is to move an item, you should call &lt;a href=&quot;QGraphicsSvgItem.html#moveBy(double, double)&quot;&gt;&lt;tt&gt;moveBy&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QGraphicsSvgItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt; instead; this function changes the item's translation, which is conceptually separate from its position.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void unsetCursor()" doc="/**
&lt;p&gt;Clears the cursor from this item.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#hasCursor()&quot;&gt;&lt;tt&gt;hasCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setCursor(com.trolltech.qt.gui.QCursor)&quot;&gt;&lt;tt&gt;setCursor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void update(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Schedules a redraw of the area covered by &lt;tt&gt;rect&lt;/tt&gt; in this item. You can call this function whenever your item needs to be redrawn, such as if it changes appearance or size.&lt;/p&gt;
&lt;p&gt;This function does not cause an immediate paint; instead it schedules a paint request that is processed by &lt;a href=&quot;%2E%2E/gui/QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; after control reaches the event loop. The item will only be redrawn if it is visible in any associated view.&lt;/p&gt;
&lt;p&gt;As a side effect of the item being repainted, other items that overlap the area &lt;tt&gt;rect&lt;/tt&gt; may also be repainted.&lt;/p&gt;
&lt;p&gt;If the item is invisible (i.e&amp;#x2e;, &lt;a href=&quot;QGraphicsSvgItem.html#isVisible()&quot;&gt;&lt;tt&gt;isVisible&lt;/tt&gt;&lt;/a&gt; returns false), this function does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;paint&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void update()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#update(double, double, double, double)&quot;&gt;update&lt;/tt&gt;&lt;/a&gt;(QRectF()). */"/>
    <method name="public final void update(double x, double y, double width, double height)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling update(&lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;, &lt;tt&gt;width&lt;/tt&gt;, &lt;tt&gt;height&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final double x()" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;.&lt;a href=&quot;QGraphicsSvgItem.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double y()" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsSvgItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;.&lt;a href=&quot;QGraphicsSvgItem.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double zValue()" doc="/**
&lt;p&gt;Returns the Z-value, or the elevation, of the item. The Z-value decides the stacking order of sibling (neighboring) items.&lt;/p&gt;
&lt;p&gt;The default Z-value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setZValue(double)&quot;&gt;&lt;tt&gt;setZValue&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void advance(int phase)" doc="/**
&lt;p&gt;This virtual function is called twice for all items by the QGraphicsScene::advance() slot. In the first phase, all items are called with &lt;tt&gt;phase&lt;/tt&gt; == 0, indicating that items on the scene are about to advance, and then all items are called with &lt;tt&gt;phase&lt;/tt&gt; == 1. Reimplement this function to update your item if you need simple scene-controlled animation.&lt;/p&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;
&lt;p&gt;For individual item animation, an alternative to this function is to either use &lt;a href=&quot;%2E%2E/gui/QGraphicsItemAnimation.html&quot;&gt;&lt;tt&gt;QGraphicsItemAnimation&lt;/tt&gt;&lt;/a&gt;, or to multiple-inherit from &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QObject&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt;, and animate your item using QObject::startTimer() and QObject::timerEvent().&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/gui/QGraphicsItemAnimation.html&quot;&gt;&lt;tt&gt;QGraphicsItemAnimation&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/QTimeLine.html&quot;&gt;&lt;tt&gt;QTimeLine&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.QRectF boundingRect()" doc="/**
&lt;p&gt;Returns the bounding rectangle of this item.&lt;/p&gt;
 */"/>
    <method name="public boolean collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface other, com.trolltech.qt.core.Qt.ItemSelectionMode mode)" doc="/**
&lt;p&gt;Returns true if this item collides with &lt;tt&gt;other&lt;/tt&gt;; otherwise returns false. The ways items collide is determined by &lt;tt&gt;mode&lt;/tt&gt;. The default value for &lt;tt&gt;mode&lt;/tt&gt; is Qt::IntersectsItemShape; &lt;tt&gt;other&lt;/tt&gt; collides with this item if it either intersect or are contained by this item's shape.&lt;/p&gt;
&lt;p&gt;The default implementation is based on shape intersection, and it calls &lt;a href=&quot;QGraphicsSvgItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; on both items. Because the complexity of arbitrary shape-shape intersection grows with an order of magnitude when the shapes are complex, this operation can be noticably time consuming. You have the option of reimplementing this function in a subclass of &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; to provide a custom algorithm. This allows you to make use of natural constraints in the shapes of your own items, in order to improve the performance of the collision detection. For instance, two untransformed perfectly circular items' collision can be determined very efficiently by comparing their positions and radii.&lt;/p&gt;
&lt;p&gt;Keep in mind that when reimplementing this function and calling &lt;a href=&quot;QGraphicsSvgItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; on &lt;tt&gt;other&lt;/tt&gt;, the returned coordinates must be mapped to this item's coordinate system before any intersection can take place.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface other)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)&quot;&gt;&lt;tt&gt;collidesWithItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;other&lt;/tt&gt;, Qt::IntersectsItemShape). */"/>
    <method name="public boolean collidesWithPath(com.trolltech.qt.gui.QPainterPath path, com.trolltech.qt.core.Qt.ItemSelectionMode mode)" doc="/**
&lt;p&gt;Returns true if this item collides with &lt;tt&gt;path&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The collision is determined by &lt;tt&gt;mode&lt;/tt&gt;. The default value for &lt;tt&gt;mode&lt;/tt&gt; is Qt::IntersectsItemShape; &lt;tt&gt;path&lt;/tt&gt; collides with this item if it either intersects or is contained by this item's shape.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)&quot;&gt;&lt;tt&gt;collidesWithItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean collidesWithPath(com.trolltech.qt.gui.QPainterPath path)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#collidesWithPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)&quot;&gt;&lt;tt&gt;collidesWithPath&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;path&lt;/tt&gt;, Qt::IntersectsItemShape). */"/>
    <method name="public boolean contains(com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;Returns true if this item contains &lt;tt&gt;point&lt;/tt&gt;, which is in local coordinates; otherwise, false is returned. It is most often called from &lt;a href=&quot;%2E%2E/gui/QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; to determine what item is under the cursor, and for that reason, the implementation of this function should be as light-weight as possible.&lt;/p&gt;
&lt;p&gt;By default, this function calls &lt;a href=&quot;QGraphicsSvgItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt;, but you can reimplement it in a subclass to provide a (perhaps more efficient) implementation.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#collidesWithPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)&quot;&gt;&lt;tt&gt;collidesWithPath&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent event)" doc="/**
&lt;p&gt;This event handler can be reimplemented in a subclass to process context menu events. The &lt;tt&gt;event&lt;/tt&gt; parameter contains details about the event to be handled.&lt;/p&gt;
&lt;p&gt;If you ignore the event, (i.e&amp;#x2e;, by calling QEvent::ignore(),) &lt;tt&gt;event&lt;/tt&gt; will propagate to any item beneath this item. If no items accept the event, it will be ignored by the scene, and propagate to the view.&lt;/p&gt;
&lt;p&gt;It's common to open a &lt;a href=&quot;%2E%2E/gui/QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt; in response to receiving a context menu event. Example:&lt;/p&gt;
&lt;pre&gt;    void CustomItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
    {
        QMenu menu;
        QAction *removeAction = menu.addAction(&amp;quot;Remove&amp;quot;);
        QAction *markAction = menu.addAction(&amp;quot;Mark&amp;quot;);
        QAction *selectedAction = menu.exec(event-&amp;gt;screenPos());
        &lt;span class=&quot;comment&quot;&gt;// ...&lt;/span&gt;
    }&lt;/pre&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Items only receive context menu events if the view they are displayed in is configured to ignore context menu events; i.e&amp;#x2e;, its contextMenuPolicy property is set to Qt::ContextMenuPolicy.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive drag enter events for this item. Drag enter events are generated as the cursor enters the item's area.&lt;/p&gt;
&lt;p&gt;By accepting the event, (i.e&amp;#x2e;, by calling QEvent::accept(),) the item will accept drop events, in addition to receiving drag move and drag leave. Otherwise, the event will be ignored and propagate to the item beneath. If the event is accepted, the item will receive a drag move event before control goes back to the event loop.&lt;/p&gt;
&lt;p&gt;A common implementation of &lt;a href=&quot;QGraphicsSvgItem.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragEnterEvent&lt;/tt&gt;&lt;/a&gt; accepts or ignores &lt;tt&gt;event&lt;/tt&gt; depending on the associated mime data in &lt;tt&gt;event&lt;/tt&gt;. Example:&lt;/p&gt;
&lt;pre&gt;    CustomItem::CustomItem()
    {
        setAcceptDrops(true);
        ...
    }

    void CustomItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
    {
        event-&amp;gt;setAccepted(event-&amp;gt;mimeData()-&amp;gt;hasFormat(&amp;quot;text/plain&amp;quot;));
    }&lt;/pre&gt;
&lt;p&gt;Items do not receive drag and drop events by default; to enable this feature, call &lt;tt&gt;setAcceptDrops(true)&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragLeaveEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive drag leave events for this item. Drag leave events are generated as the cursor leaves the item's area. Most often you will not need to reimplement this function, but it can be useful for resetting state in your item (e.g&amp;#x2e;, highlighting).&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;
&lt;p&gt;Items do not receive drag and drop events by default; to enable this feature, call &lt;tt&gt;setAcceptDrops(true)&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragMoveEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive drag move events for this item. Drag move events are generated as the cursor moves around inside the item's area. Most often you will not need to reimplement this function; it is used to indicate that only parts of the item can accept drops.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; toggles whether or not the item will accept drops at the position from the event. By default, &lt;tt&gt;event&lt;/tt&gt; is accepted, indicating that the item allows drops at the specified position.&lt;/p&gt;
&lt;p&gt;Items do not receive drag and drop events by default; to enable this feature, call &lt;tt&gt;setAcceptDrops(true)&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragLeaveEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive drop events for this item. Items can only receive drop events if the last drag move event was accepted.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;
&lt;p&gt;Items do not receive drag and drop events by default; to enable this feature, call &lt;tt&gt;setAcceptDrops(true)&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragLeaveEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public java.lang.Object extension(java.lang.Object variant)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension, java.lang.Object)&quot;&gt;&lt;tt&gt;setExtension&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void focusInEvent(com.trolltech.qt.gui.QFocusEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive focus in events for this item. The default implementation does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusOutEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void focusOutEvent(com.trolltech.qt.gui.QFocusEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive focus out events for this item. The default implementation does nothing.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusInEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive hover enter events for this item. The default implementation calls &lt;a href=&quot;QGraphicsSvgItem.html#update(double, double, double, double)&quot;&gt;&lt;tt&gt;update&lt;/tt&gt;&lt;/a&gt;; otherwise it does nothing.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptsHoverEvents(boolean)&quot;&gt;&lt;tt&gt;setAcceptsHoverEvents&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive hover leave events for this item. The default implementation calls &lt;a href=&quot;QGraphicsSvgItem.html#update(double, double, double, double)&quot;&gt;&lt;tt&gt;update&lt;/tt&gt;&lt;/a&gt;; otherwise it does nothing.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptsHoverEvents(boolean)&quot;&gt;&lt;tt&gt;setAcceptsHoverEvents&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive hover move events for this item. The default implementation does nothing.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptsHoverEvents(boolean)&quot;&gt;&lt;tt&gt;setAcceptsHoverEvents&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive input method events for this item. The default implementation ignores the event.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery)&quot;&gt;&lt;tt&gt;inputMethodQuery&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public java.lang.Object inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery query)" doc="/**
&lt;p&gt;This method is only relevant for input items. It is used by the input method to query a set of properties of the item to be able to support complex input method operations, such as support for surrounding text and reconversions. &lt;tt&gt;query&lt;/tt&gt; specifies which property is queried.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)&quot;&gt;&lt;tt&gt;inputMethodEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface item)" doc="/**
&lt;p&gt;Returns true if this item's bounding rect is completely obscured by the opaque shape of &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The base implementation maps &lt;tt&gt;item&lt;/tt&gt;'s &lt;a href=&quot;QGraphicsSvgItem.html#opaqueArea()&quot;&gt;&lt;tt&gt;opaqueArea&lt;/tt&gt;&lt;/a&gt; to this item's coordinate system, and then checks if this item's &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; is fully contained within the mapped shape.&lt;/p&gt;
&lt;p&gt;You can reimplement this function to provide a custom algorithm for determining whether this item is obscured by &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#opaqueArea()&quot;&gt;&lt;tt&gt;opaqueArea&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#isObscured(double, double, double, double)&quot;&gt;&lt;tt&gt;isObscured&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public java.lang.Object itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange change, java.lang.Object value)" doc="/**
&lt;p&gt;This virtual function is called by &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; to notify custom items that some part of the item's state changes. By reimplementing this function, your can react to a change, and in some cases, (depending on &lt;tt&gt;change&lt;/tt&gt;,) adjustments can be made.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;change&lt;/tt&gt; is the parameter of the item that is changing. &lt;tt&gt;value&lt;/tt&gt; is the new value; the type of the value depends on &lt;tt&gt;change&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QVariant Component::itemChange(GraphicsItemChange change, const QVariant &amp;amp;value)
    {
        if (change == ItemPositionChange &amp;amp;&amp;amp; scene()) {
            &lt;span class=&quot;comment&quot;&gt;// value is the new position.&lt;/span&gt;
            QPointF newPos = value.toPointF();
            QRectF rect = scene()-&amp;gt;sceneRect();
            if (!rect.contains(newPos)) {
                &lt;span class=&quot;comment&quot;&gt;// Keep the item inside the scene rect.&lt;/span&gt;
                newPos.setX(qMin(rect.right(), qMax(newPos.x(), rect.left())));
                newPos.setY(qMin(rect.bottom(), qMax(newPos.y(), rect.top())));
                return newPos;
            }
        }
        return QGraphicsItem::itemChange(change, value);
    }&lt;/pre&gt;
&lt;p&gt;The default implementation does nothing, and returns &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note: Certain &lt;a href=&quot;%2E%2E/gui/QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; functions cannot be called in a reimplementation of this function; see the GraphicsItemChange documentation for details.&lt;/p&gt;

@see &lt;tt&gt;GraphicsItemChange&lt;/tt&gt; */"/>
    <method name="public void keyPressEvent(com.trolltech.qt.gui.QKeyEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive key press events for this item. The default implementation ignores the event. If you reimplement this handler, the event will by default be accepted.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;
&lt;p&gt;Note that key events are only received for items that set the ItemIsFocusable flag, and that have keyboard input focus.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)&quot;&gt;&lt;tt&gt;setFocus&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsScene::setFocusItem&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive key release events for this item. The default implementation ignores the event. If you reimplement this handler, the event will by default be accepted.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;
&lt;p&gt;Note that key events are only received for items that set the ItemIsFocusable flag, and that have keyboard input focus.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyPressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)&quot;&gt;&lt;tt&gt;setFocus&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsScene::setFocusItem&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive mouse doubleclick events for this item.&lt;/p&gt;
&lt;p&gt;When doubleclicking an item, the item will first receive a mouse press event, followed by a release event (i.e&amp;#x2e;, a click), then a doubleclick event, and finally a release event.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;
&lt;p&gt;The default implementation calls &lt;a href=&quot;QGraphicsSvgItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;. If you want to keep the base implementation when reimplementing this function, call QGraphicsItem::mouseDoubleClickEvent() in your reimplementation.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive mouse move events for this item. If you do receive this event, you can be certain that this item also received a mouse press event, and that this item is the current mouse grabber.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;
&lt;p&gt;The default implementation handles basic item interaction, such as selection and moving. If you want to keep the base implementation when reimplementing this function, call QGraphicsItem::mouseMoveEvent() in your reimplementation.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive mouse press events for this item. Mouse press events are only delivered to items that accept the mouse button that is pressed. By default, an item accepts all mouse buttons, but you can change this by calling &lt;a href=&quot;QGraphicsSvgItem.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)&quot;&gt;&lt;tt&gt;setAcceptedMouseButtons&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The mouse press event decides which item should become the mouse grabber (see QGraphicsScene::mouseGrabberItem()). If you do not reimplement this function, the press event will propagate to any topmost item beneath this item, and no other mouse events will be delivered to this item.&lt;/p&gt;
&lt;p&gt;If you do reimplement this function, &lt;tt&gt;event&lt;/tt&gt; will by default be accepted (see QEvent::accept()), and this item is then the mouse grabber. This allows the item to receive future move, release and doubleclick events. If you call QEvent::ignore() on &lt;tt&gt;event&lt;/tt&gt;, this item will lose the mouse grab, and &lt;tt&gt;event&lt;/tt&gt; will propagate to any topmost item beneath. No further mouse events will be delivered to this item unless a new mouse press event is received.&lt;/p&gt;
&lt;p&gt;The default implementation handles basic item interaction, such as selection and moving. If you want to keep the base implementation when reimplementing this function, call QGraphicsItem::mousePressEvent() in your reimplementation.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive mouse release events for this item.&lt;/p&gt;
&lt;p&gt;Calling QEvent::ignore() or QEvent::accept() on &lt;tt&gt;event&lt;/tt&gt; has no effect.&lt;/p&gt;
&lt;p&gt;The default implementation handles basic item interaction, such as selection and moving. If you want to keep the base implementation when reimplementing this function, call QGraphicsItem::mouseReleaseEvent() in your reimplementation.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.gui.QPainterPath opaqueArea()" doc="/**
&lt;p&gt;This virtual function returns a shape representing the area where this item is opaque. An area is opaque if it is filled using an opaque brush or color (i.e&amp;#x2e;, not transparent).&lt;/p&gt;
&lt;p&gt;This function is used by &lt;a href=&quot;QGraphicsSvgItem.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;isObscuredBy&lt;/tt&gt;&lt;/a&gt;, which is called by underlying items to determine if they are obscured by this item.&lt;/p&gt;
&lt;p&gt;The default implementation returns an empty &lt;a href=&quot;%2E%2E/gui/QPainterPath.html&quot;&gt;&lt;tt&gt;QPainterPath&lt;/tt&gt;&lt;/a&gt;, indicating that this item is completely transparent and does not obscure any other items.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;isObscuredBy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#isObscured(double, double, double, double)&quot;&gt;&lt;tt&gt;isObscured&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void paint(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QStyleOptionGraphicsItem option, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public final void paint(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QStyleOptionGraphicsItem option)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSvgItem.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)&quot;&gt;paint&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;painter&lt;/tt&gt;, &lt;tt&gt;option&lt;/tt&gt;, 0). */"/>
    <method name="public boolean sceneEvent(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This virtual function receives events to this item. Reimplement this function to intercept events before they are dispatched to the specialized event handlers &lt;a href=&quot;QGraphicsSvgItem.html#contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)&quot;&gt;&lt;tt&gt;contextMenuEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusInEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusOutEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyPressEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyReleaseEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSvgItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsSvgItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Returns true if the event was recognized and handled; otherwise, (e.g&amp;#x2e;, if the event type was not recognized,) false is returned.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;event&lt;/tt&gt; is the intercepted event.&lt;/p&gt;
 */"/>
    <method name="public boolean sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface watched, com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;Filters events for the item &lt;tt&gt;watched&lt;/tt&gt;. &lt;tt&gt;event&lt;/tt&gt; is the filtered event.&lt;/p&gt;
&lt;p&gt;Reimplementing this function in a subclass makes it possible for the item to be used as an event filter for other items, intercepting all the events send to those items before they are able to respond.&lt;/p&gt;
&lt;p&gt;Reimplementations must return true to prevent further processing of a given event, ensuring that it will not be delivered to the watched item, or return false to indicate that the event should be propagated further by the event system.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;installSceneEventFilter&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension extension, java.lang.Object variant)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#extension(java.lang.Object)&quot;&gt;&lt;tt&gt;extension&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.gui.QPainterPath shape()" doc="/**
&lt;p&gt;Returns the shape of this item as a &lt;a href=&quot;%2E%2E/gui/QPainterPath.html&quot;&gt;&lt;tt&gt;QPainterPath&lt;/tt&gt;&lt;/a&gt; in local coordinates. The shape is used for many things, including collision detection, hit tests, and for the QGraphicsScene::items() functions.&lt;/p&gt;
&lt;p&gt;The default implementation calls &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; to return a simple rectangular shape, but subclasses can reimplement this function to return a more accurate shape for non-rectangular items. For example, a round item may choose to return an elliptic shape for better collision detection. For example:&lt;/p&gt;
&lt;pre&gt;    QPainterPath RoundItem::shape() const
    {
        QPainterPath path;
        path.addEllipse(boundingRect());
        return path;
    }&lt;/pre&gt;
&lt;p&gt;This function is called by the default implementations of &lt;a href=&quot;QGraphicsSvgItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGraphicsSvgItem.html#collidesWithPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)&quot;&gt;&lt;tt&gt;collidesWithPath&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSvgItem.html#prepareGeometryChange()&quot;&gt;&lt;tt&gt;prepareGeometryChange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean supportsExtension(com.trolltech.qt.gui.QGraphicsItem.Extension extension)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public int type()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void wheelEvent(com.trolltech.qt.gui.QGraphicsSceneWheelEvent event)" doc="/**
&lt;p&gt;This event handler, for event &lt;tt&gt;event&lt;/tt&gt;, can be reimplemented to receive wheel events for this item. If you reimplement this function, &lt;tt&gt;event&lt;/tt&gt; will be accepted by default.&lt;/p&gt;
&lt;p&gt;If you ignore the event, (i.e&amp;#x2e;, by calling QEvent::ignore(),) it will propagate to any item beneath this item. If no items accept the event, it will be ignored by the scene, and propagate to the view (e.g&amp;#x2e;, the view's vertical scroll bar).&lt;/p&gt;
&lt;p&gt;The default implementation ignores the event.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSvgItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
</class>