Sophie

Sophie

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

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

<class name="QGraphicsItem" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; class is the base class for all graphical items in a &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It provides a light-weight foundation for writing your own custom items. This includes defining the item's geometry, collision detection, its painting implementation and item interaction through its event handlers. &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; is part of &lt;a href=&quot;%2E%2E/graphicsview.html&quot;&gt;The Graphics View Framework&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/graphicsview-items.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;For convenience, Qt provides a set of standard graphics items for the most common shapes. These are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsEllipseItem.html&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt; provides an ellipse item&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsLineItem.html&quot;&gt;&lt;tt&gt;QGraphicsLineItem&lt;/tt&gt;&lt;/a&gt; provides a line item&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsPathItem.html&quot;&gt;&lt;tt&gt;QGraphicsPathItem&lt;/tt&gt;&lt;/a&gt; provides an arbitrary path item&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsPixmapItem.html&quot;&gt;&lt;tt&gt;QGraphicsPixmapItem&lt;/tt&gt;&lt;/a&gt; provides a pixmap item&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsPolygonItem.html&quot;&gt;&lt;tt&gt;QGraphicsPolygonItem&lt;/tt&gt;&lt;/a&gt; provides a polygon item&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsRectItem.html&quot;&gt;&lt;tt&gt;QGraphicsRectItem&lt;/tt&gt;&lt;/a&gt; provides a rectangular item&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsSimpleTextItem.html&quot;&gt;&lt;tt&gt;QGraphicsSimpleTextItem&lt;/tt&gt;&lt;/a&gt; provides a simple text label item&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsTextItem.html&quot;&gt;&lt;tt&gt;QGraphicsTextItem&lt;/tt&gt;&lt;/a&gt; provides an advanced text browser item&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All of an item's geometric information is based on its local coordinate system. The item's position, &lt;a href=&quot;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;, is the only function that does not operate in local coordinates, as it returns a position in parent coordinates. {The Graphics View Coordinate System} describes the coordinate system in detail.&lt;/p&gt;
&lt;p&gt;You can set whether an item should be visible (i.e&amp;#x2e;, drawn, and accepting events), by calling &lt;a href=&quot;QGraphicsItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt;. Hiding an item will also hide its children. Similarly, you can enable or disable an item by calling &lt;a href=&quot;QGraphicsItem.html#setEnabled(boolean)&quot;&gt;&lt;tt&gt;setEnabled&lt;/tt&gt;&lt;/a&gt;. If you disable an item, all its children will also be disabled. By default, items are both visible and enabled. To toggle whether an item is selected or not, first enable selection by setting the &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsSelectable&lt;/tt&gt;&lt;/a&gt; flag, and then call &lt;a href=&quot;QGraphicsItem.html#setSelected(boolean)&quot;&gt;&lt;tt&gt;setSelected&lt;/tt&gt;&lt;/a&gt;. Normally, selection is toggled by the scene, as a result of user interaction.&lt;/p&gt;
&lt;p&gt;To write your own graphics item, you first create a subclass of &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt;, and then start by implementing its two pure virtual public functions: &lt;a href=&quot;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;, which returns an estimate of the area painted by the item, and &lt;a href=&quot;QGraphicsItem.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;, which implements the actual painting. For example:&lt;/p&gt;
&lt;pre&gt;    class SimpleItem : public QGraphicsItem
    {
    public:
        QRectF boundingRect() const
        {
            qreal penWidth = 1;
            return QRectF(-10 - penWidth / 2, -10 - penWidth / 2,
                          20 + penWidth / 2, 20 + penWidth / 2);
        }

        void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
                   QWidget *widget)
        {
            painter-&amp;gt;drawRoundRect(-10, -10, 20, 20);
        }
    };&lt;/pre&gt;
&lt;p&gt;The &lt;a href=&quot;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; function has many different purposes. &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; bases its item index on &lt;a href=&quot;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; uses it both for culling invisible items, and for determining the area that needs to be recomposed when drawing overlapping items. In addition, &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt;'s collision detection mechanisms use &lt;a href=&quot;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; to provide an efficient cut-off. The fine grained collision algorithm in &lt;a href=&quot;QGraphicsItem.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; is based on calling &lt;a href=&quot;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt;, which returns an accurate outline of the item's shape as a &lt;a href=&quot;QPainterPath.html&quot;&gt;&lt;tt&gt;QPainterPath&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; expects all items &lt;a href=&quot;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; to remain unchanged unless it is notified. If you want to change an item's geometry in any way, you must first call &lt;a href=&quot;QGraphicsItem.html#prepareGeometryChange()&quot;&gt;&lt;tt&gt;prepareGeometryChange&lt;/tt&gt;&lt;/a&gt; to allow &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; to update its bookkeeping.&lt;/p&gt;
&lt;p&gt;Collision detection can be done in two ways:&lt;/p&gt;
&lt;ol type=&quot;1&quot;&gt;
&lt;li&gt;Reimplement &lt;a href=&quot;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; to return an accurate shape for your item, and rely on the default implementation of &lt;a href=&quot;QGraphicsItem.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; to do shape-shape intersection. This can be rather expensive if the shapes are complex.&lt;/li&gt;
&lt;li&gt;Reimplement &lt;a href=&quot;QGraphicsItem.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; to provide your own custom item and shape collision algorithm.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The &lt;a href=&quot;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; function can be called to determine whether the item &lt;i&gt;contains&lt;/i&gt; a point or not. This function can also be reimplemented by the item. The default behavior of &lt;a href=&quot;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; is based on calling &lt;a href=&quot;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Items can contain other items, and also be contained by other items. All items can have a parent item and a list of children. Unless the item has no parent, its position is in &lt;i&gt;parent&lt;/i&gt; coordinates (i.e&amp;#x2e;, the parent's local coordinates). Parent items propagate both their position and their transformation to all children.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/graphicsview-parentchild.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; supports affine transformations in addition to its base position, &lt;a href=&quot;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;. To change the item's transformation, you can either pass a transformation matrix to &lt;a href=&quot;QGraphicsItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;, or call one of the convenience functions &lt;a href=&quot;QGraphicsItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#translate(double, double)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;QGraphicsItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt;. Item transformations accumulate from parent to child, so if both a parent and child item are rotated 90 degrees, the child's total transformation will be 180 degrees. Similarly, if the item's parent is scaled to 2x its original size, its children will also be twice as large. An item's transformation does not affect its own local geometry; all geometry functions (e.g&amp;#x2e;, &lt;a href=&quot;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#update(double, double, double, double)&quot;&gt;&lt;tt&gt;update&lt;/tt&gt;&lt;/a&gt;, and all the mapping functions) still operate in local coordinates. For convenience, &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; provides the functions &lt;a href=&quot;QGraphicsItem.html#sceneTransform()&quot;&gt;&lt;tt&gt;sceneTransform&lt;/tt&gt;&lt;/a&gt;, which returns the item's total transformation matrix (including its position and all parents' positions and transformations), and &lt;a href=&quot;QGraphicsItem.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;, which returns its position in scene coordinates. To reset an item's matrix, call &lt;a href=&quot;QGraphicsItem.html#resetTransform()&quot;&gt;&lt;tt&gt;resetTransform&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QGraphicsItem.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; function is called by &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; to paint the item's contents. The item has no background or default fill of its own; whatever is behind the item will shine through all areas that are not explicitly painted in this function. You can call &lt;a href=&quot;QGraphicsItem.html#update(double, double, double, double)&quot;&gt;&lt;tt&gt;update&lt;/tt&gt;&lt;/a&gt; to schedule a repaint, optionally passing the rectangle that needs a repaint. Depending on whether or not the item is visible in a view, the item may or may not be repainted; there is no equivalent to QWidget::repaint() in &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Items are painted by the view, starting with the parent items and then drawing children, in ascending stacking order. You can set an item's stacking order by calling &lt;a href=&quot;QGraphicsItem.html#setZValue(double)&quot;&gt;&lt;tt&gt;setZValue&lt;/tt&gt;&lt;/a&gt;, and test it by calling &lt;a href=&quot;QGraphicsItem.html#zValue()&quot;&gt;&lt;tt&gt;zValue&lt;/tt&gt;&lt;/a&gt;, where items with low z-values are painted before items with high z-values. Stacking order applies to sibling items; parents are always drawn before their children.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; receives events from &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; through the virtual function &lt;a href=&quot;QGraphicsItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt;. This function distributes the most common events to a set of convenience event handlers:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsItem.html#contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)&quot;&gt;&lt;tt&gt;contextMenuEvent&lt;/tt&gt;&lt;/a&gt; handles context menu events&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsItem.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusInEvent&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGraphicsItem.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusOutEvent&lt;/tt&gt;&lt;/a&gt; handle focus in and out events&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt; handles hover enter, move and leave events&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsItem.html#inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)&quot;&gt;&lt;tt&gt;inputMethodEvent&lt;/tt&gt;&lt;/a&gt; handles input events, for accessibility support&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsItem.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyPressEvent&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGraphicsItem.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyReleaseEvent&lt;/tt&gt;&lt;/a&gt; handle key press and release events&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QGraphicsItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt; handles mouse press, move, release, click and doubleclick events&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can filter events for any other item by installing event filters. This functionaly is separate from from Qt's regular event filters (see QObject::installEventFilter()), which only work on subclasses of &lt;a href=&quot;%2E%2E/core/QObject.html&quot;&gt;&lt;tt&gt;QObject&lt;/tt&gt;&lt;/a&gt;. After installing your item as an event filter for another item by calling &lt;a href=&quot;QGraphicsItem.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;installSceneEventFilter&lt;/tt&gt;&lt;/a&gt;, the filtered events will be received by the virtual function &lt;a href=&quot;QGraphicsItem.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEventFilter&lt;/tt&gt;&lt;/a&gt;. You can remove item event filters by calling &lt;a href=&quot;QGraphicsItem.html#removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;removeSceneEventFilter&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Sometimes it's useful to register custom data with an item, be it a custom item, or a standard item. You can call &lt;a href=&quot;QGraphicsItem.html#setData(int, java.lang.Object)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt; on any item to store data in it using a key-value pair (the key being an integer, and the value is a &lt;a href=&quot;%2E%2E/porting4.html#qvariant&quot;&gt;&lt;tt&gt;QVariant&lt;/tt&gt;&lt;/a&gt;). To get custom data from an item, call &lt;a href=&quot;QGraphicsItem.html#data(int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt;. This functionality is completely untouched by Qt itself; it is provided for the user's convenience.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html&quot;&gt;The Graphics View Framework&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface parent, com.trolltech.qt.gui.QGraphicsScene scene)"/>
    <method name="public QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface parent)"/>
    <method name="public QGraphicsItem()"/>
    <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;QGraphicsItem.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;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;QGraphicsItem.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;QGraphicsItem.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;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;QGraphicsItem.html#setAcceptsHoverEvents(boolean)&quot;&gt;&lt;tt&gt;setAcceptsHoverEvents&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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 this item's children. The items are returned in no particular order.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;setParentItem&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;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; to &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsFocusable&lt;/tt&gt;&lt;/a&gt; flag can accept keyboard focus.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#setCursor(com.trolltech.qt.gui.QCursor)&quot;&gt;&lt;tt&gt;setCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hasCursor()&quot;&gt;&lt;tt&gt;hasCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIgnoresTransformations&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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 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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;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;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&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;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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsFocusable&lt;/tt&gt;&lt;/a&gt;, 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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#setGroup(com.trolltech.qt.gui.QGraphicsItemGroup)&quot;&gt;&lt;tt&gt;setGroup&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;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;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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#show()&quot;&gt;&lt;tt&gt;show&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;removeSceneEventFilter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#parentItem()&quot;&gt;&lt;tt&gt;parentItem&lt;/tt&gt;&lt;/a&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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#isObscured(com.trolltech.qt.core.QRectF)&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 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;QGraphicsItem.html#isObscured(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;isObscured&lt;/tt&gt;&lt;/a&gt; function, this function does not call &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#opaqueArea()&quot;&gt;&lt;tt&gt;opaqueArea&lt;/tt&gt;&lt;/a&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;QGraphicsItem.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;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&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;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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, 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;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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 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;QGraphicsItem.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.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;QGraphicsItem.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.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;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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.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;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&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 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;QGraphicsItem.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;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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.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;QGraphicsItem.html#mapFromScene(double, double)&quot;&gt;&lt;tt&gt;mapFromScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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 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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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(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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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.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;QGraphicsItem.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapToScene(double, double, double, double)&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.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&quot;&gt;&lt;tt&gt;mapFromParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapToScene(double, double, double, double)&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;QGraphicsItem.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.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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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, 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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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.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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&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;QGraphicsItem.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(double x, double y)" doc="/**
&lt;p&gt;This convenience function is equivalent to calling &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&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(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;QGraphicsItem.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;QGraphicsItem.html#mapToScene(double, double, double, double)&quot;&gt;&lt;tt&gt;mapToScene&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)&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;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mapToScene(double, double, double, double)&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;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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(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;QGraphicsItem.html#mapToParent(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;mapToParent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#mapToScene(double, double, double, double)&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 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;QGraphicsItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;setParentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;children&lt;/tt&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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;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;QGraphicsItem.html#prepareGeometryChange()&quot;&gt;&lt;tt&gt;prepareGeometryChange&lt;/tt&gt;&lt;/a&gt; will call &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;installSceneEventFilter&lt;/tt&gt;&lt;/a&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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#sceneTransform()&quot;&gt;&lt;tt&gt;sceneTransform&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;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;QGraphicsItem.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;QGraphicsItem.html#acceptedMouseButtons()&quot;&gt;&lt;tt&gt;acceptedMouseButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#acceptsHoverEvents()&quot;&gt;&lt;tt&gt;acceptsHoverEvents&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&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;QGraphicsItem.html#cursor()&quot;&gt;&lt;tt&gt;cursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hasCursor()&quot;&gt;&lt;tt&gt;hasCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#data(int)&quot;&gt;&lt;tt&gt;data&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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#flags()&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsFocusable&lt;/tt&gt;&lt;/a&gt;, 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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsSelectable&lt;/tt&gt;&lt;/a&gt;, 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;QGraphicsItem.html#flags()&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsFocusable&lt;/tt&gt;&lt;/a&gt; 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;QGraphicsItem.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;QGraphicsItem.html#clearFocus()&quot;&gt;&lt;tt&gt;clearFocus&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#handlesChildEvents()&quot;&gt;&lt;tt&gt;handlesChildEvents&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;QGraphicsItem.html#parentItem()&quot;&gt;&lt;tt&gt;parentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;children&lt;/tt&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;QGraphicsItem.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;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsSelectable&lt;/tt&gt;&lt;/a&gt; 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;QGraphicsItem.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 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;QGraphicsItem.html#toolTip()&quot;&gt;&lt;tt&gt;toolTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;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;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&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;QGraphicsItem.html#mapToScene(double, double, double, double)&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;QGraphicsItem.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;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#shear(double, double)&quot;&gt;&lt;tt&gt;shear&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#isVisible()&quot;&gt;&lt;tt&gt;isVisible&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#show()&quot;&gt;&lt;tt&gt;show&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#setToolTip(java.lang.String)&quot;&gt;&lt;tt&gt;setToolTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#moveBy(double, double)&quot;&gt;&lt;tt&gt;moveBy&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#hasCursor()&quot;&gt;&lt;tt&gt;hasCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;.&lt;a href=&quot;QGraphicsItem.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;.&lt;a href=&quot;QGraphicsItem.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;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/QObject.html&quot;&gt;&lt;tt&gt;QObject&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&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;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 abstract com.trolltech.qt.core.QRectF boundingRect()" doc="/**
&lt;p&gt;This pure virtual function defines the outer bounds of the item as a rectangle; all painting must be restricted to inside an item's bounding rect. &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; uses this to determine whether the item requires redrawing.&lt;/p&gt;
&lt;p&gt;Although the item's shape can be arbitrary, the bounding rect is always rectangular, and it is unaffected by the items' transformation (&lt;a href=&quot;QGraphicsItem.html#scale(double, double)&quot;&gt;&lt;tt&gt;scale&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;, etc.)&amp;#x2e;&lt;/p&gt;
&lt;p&gt;If you want to change the item's bounding rectangle, you must first call &lt;a href=&quot;QGraphicsItem.html#prepareGeometryChange()&quot;&gt;&lt;tt&gt;prepareGeometryChange&lt;/tt&gt;&lt;/a&gt;. This notifies the scene of the imminent change, so that its can update its item geometry index; otherwise, the scene will be unaware of the item's new geometry, and the results are undefined (typically, rendering artifacts are left around in the view).&lt;/p&gt;
&lt;p&gt;Reimplement this function to let &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; determine what parts of the widget, if any, need to be redrawn.&lt;/p&gt;
&lt;p&gt;Note: For shapes that paint an outline / stroke, it is important to include half the pen width in the bounding rect. It is not necessary to compensate for antialiasing, though.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QRectF CircleItem::boundingRect() const
    {
        qreal penWidth = 1;
        return QRectF(-radius - penWidth / 2, -radius - penWidth / 2,
                      diameter + penWidth, diameter + penWidth);
    }&lt;/pre&gt;

@see &lt;a href=&quot;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&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;
@see &lt;a href=&quot;QGraphicsItem.html#prepareGeometryChange()&quot;&gt;&lt;tt&gt;prepareGeometryChange&lt;/tt&gt;&lt;/a&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;QGraphicsItem.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;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&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;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;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;QGraphicsItem.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;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)&quot;&gt;&lt;tt&gt;dragMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusOutEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusInEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#opaqueArea()&quot;&gt;&lt;tt&gt;opaqueArea&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#isObscured(com.trolltech.qt.core.QRectF)&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;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&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;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; functions cannot be called in a reimplementation of this function; see the &lt;a href=&quot;QGraphicsItem.html#GraphicsItemChange-enum&quot;&gt;&lt;tt&gt;GraphicsItemChange&lt;/tt&gt;&lt;/a&gt; documentation for details.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#GraphicsItemChange-enum&quot;&gt;&lt;tt&gt;GraphicsItemChange&lt;/tt&gt;&lt;/a&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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsFocusable&lt;/tt&gt;&lt;/a&gt; flag, and that have keyboard input focus.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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 &lt;a href=&quot;QGraphicsItem.html#GraphicsItemFlag-enum&quot;&gt;&lt;tt&gt;ItemIsFocusable&lt;/tt&gt;&lt;/a&gt; flag, and that have keyboard input focus.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsItem.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyPressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseDoubleClickEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;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;QGraphicsItem.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;isObscuredBy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#isObscured(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;isObscured&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public abstract 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, which is usually called by &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;, paints the contents of an item in local coordinates.&lt;/p&gt;
&lt;p&gt;Reimplement this function in a &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; subclass to provide the item's painting implementation, using &lt;tt&gt;painter&lt;/tt&gt;. The &lt;tt&gt;option&lt;/tt&gt; parameter provides style options for the item, such as its state, exposed area and its level-of-detail hints. The &lt;tt&gt;widget&lt;/tt&gt; argument is optional. If provided, it points to the widget that is being painted on; otherwise, it is 0.&lt;/p&gt;
&lt;pre&gt;    void RoundRectItem::paint(QPainter *painter,
                              const QStyleOptionGraphicsItem *option,
                              QWidget *widget)
    {
        painter-&amp;gt;drawRoundRect(-10, -10, 20, 20);
    }&lt;/pre&gt;
&lt;p&gt;The painter's pen is 0-width by default, and its pen is initialized to the QPalette::Text brush from the paint device's palette. The brush is initialized to QPalette::Window.&lt;/p&gt;
&lt;p&gt;All painting is done in local coordinates.&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;QGraphicsItem.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;QGraphicsItem.html#contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)&quot;&gt;&lt;tt&gt;contextMenuEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusInEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusOutEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverEnterEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverMoveEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)&quot;&gt;&lt;tt&gt;hoverLeaveEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyPressEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)&quot;&gt;&lt;tt&gt;keyReleaseEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mousePressEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseReleaseEvent&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)&quot;&gt;&lt;tt&gt;mouseMoveEvent&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.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;QGraphicsItem.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;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;QGraphicsItem.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;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGraphicsItem.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;QGraphicsItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsItem.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;Returns the type of an item as an int. All standard graphicsitem classes are associated with a unique value; see QGraphicsItem::Type. This type information is used by qgraphicsitem_cast() to distinguish between types.&lt;/p&gt;
&lt;p&gt;Reimplementing this function and declaring a Type enum value equal to your custom item's type will enable use of qgraphicsitem_cast() with the item. Custom items must return a value larger than or equal to UserType (65536).&lt;/p&gt;
&lt;p&gt;The default implementation (in &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt;) returns UserType.&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;QGraphicsItem.html#sceneEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;sceneEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="GraphicsItemFlag" doc="/**
&lt;p&gt;This enum describes different flags that you can set on an item to toggle different features in the item's behavior.&lt;/p&gt;
&lt;p&gt;All flags are disabled by default.&lt;/p&gt;
 */">
        <enum-value name="ItemIsMovable" doc="/**
&lt;p&gt;The item supports interactive movement using the mouse. By clicking on the item and then dragging, the item will move together with the mouse cursor. If the item has children, all children are also moved. If the item is part of a selection, all selected items are also moved. This feature is provided as a convenience through the base implementation of &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt;'s mouse event handlers.&lt;/p&gt;
 */"/>
        <enum-value name="ItemIsSelectable" doc="/**
&lt;p&gt;The item supports selection. Enabling this feature will enable &lt;a href=&quot;QGraphicsItem.html#setSelected(boolean)&quot;&gt;&lt;tt&gt;setSelected&lt;/tt&gt;&lt;/a&gt; to toggle selection for the item. It will also let the item be selected automatically as a result of calling QGraphicsScene::setSelectionArea(), by clicking on an item, or by using rubber band selection in &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="ItemIsFocusable" doc="/**
&lt;p&gt;The item supports keyboard input focus (i.e&amp;#x2e;, it is an input item). Enabling this flag will allow the item to accept focus, which again allows the delivery of key events to QGraphicsItem::keyPressEvent() and QGraphicsItem::keyReleaseEvent().&lt;/p&gt;
 */"/>
        <enum-value name="ItemClipsToShape" doc="/**
&lt;p&gt;The item clips (i.e&amp;#x2e;, restricts) its own painting to inside its shape. Its paintEvent() function cannot draw outside its shape. For complex shapes, this function can be expensive. It is disabled by default. This behavior is enforced by QGraphicsView::drawItems() or QGraphicsScene::drawItems(). This flag was introduced in Qt 4.3&amp;#x2e;&lt;/p&gt;
 */"/>
        <enum-value name="ItemClipsChildrenToShape" doc="/**
&lt;p&gt;The item clips the painting of all its descendents to its own shape. Items that are either direct or indirect children of this item cannot draw outside this item's shape. By default, this flag is disabled; children can draw anywhere. This behavior is enforced by QGraphicsView::drawItems() or QGraphicsScene::drawItems(). This flag was introduced in Qt 4.3&amp;#x2e;&lt;/p&gt;
 */"/>
        <enum-value name="ItemIgnoresTransformations" doc="/**
&lt;p&gt;The item ignores inherited transformations (i.e&amp;#x2e;, its position is still relative to its parent, but the parent or view rotation, zoom or shear transformations are ignored). This flag is particularly useful for text label items, which can become unreadable when the view zooms away from the scene. By default, this flag is disabled. This flag was introduced in Qt 4.3&amp;#x2e;&lt;/p&gt;
 */"/>
</enum>
    <enum name="GraphicsItemChange" doc="/**
&lt;p&gt;This enum describes the state changes that are notified by QGraphicsItem::itemChange(). The notifications are sent as the state changes, and in some cases, adjustments can be made (see the documentation for each change for details).&lt;/p&gt;
&lt;p&gt;Note: Be careful with calling functions on the &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; itself inside &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;, as certain function calls can lead to unwanted recursion. For example, you cannot call &lt;a href=&quot;QGraphicsItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt; in &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt; on an &lt;a href=&quot;QGraphicsItem.html#GraphicsItemChange-enum&quot;&gt;&lt;tt&gt;ItemPositionChange&lt;/tt&gt;&lt;/a&gt; notification, as the &lt;a href=&quot;QGraphicsItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt; function will again call &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;QGraphicsItem.html#GraphicsItemChange-enum&quot;&gt;&lt;tt&gt;ItemPositionChange&lt;/tt&gt;&lt;/a&gt;). Instead, you can return the new, adjusted position from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
        <enum-value name="ItemPositionChange" doc="/**
&lt;p&gt;The item's position changes. This notification is only sent when the item's local position changes, relative to its parent, has changed (i.e&amp;#x2e;, as a result of calling &lt;a href=&quot;QGraphicsItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QGraphicsItem.html#moveBy(double, double)&quot;&gt;&lt;tt&gt;moveBy&lt;/tt&gt;&lt;/a&gt;). The value argument is the new position (i.e&amp;#x2e;, a &lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;). You can call &lt;a href=&quot;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt; to get the original position. Do not call &lt;a href=&quot;QGraphicsItem.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QGraphicsItem.html#moveBy(double, double)&quot;&gt;&lt;tt&gt;moveBy&lt;/tt&gt;&lt;/a&gt; in &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt; as this notification is delivered; instead, you can return the new, adjusted position from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;. After this notification, &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; immediately sends the &lt;a href=&quot;QGraphicsItem.html#GraphicsItemChange-enum&quot;&gt;&lt;tt&gt;ItemPositionHasChanged&lt;/tt&gt;&lt;/a&gt; notification if the position changed.&lt;/p&gt;
 */"/>
        <enum-value name="ItemMatrixChange" doc="/**
&lt;p&gt;The item's affine transformation matrix is changing. This value is obsolete; you can use &lt;a href=&quot;QGraphicsItem.html#GraphicsItemChange-enum&quot;&gt;&lt;tt&gt;ItemTransformChange&lt;/tt&gt;&lt;/a&gt; instead.&lt;/p&gt;
 */"/>
        <enum-value name="ItemVisibleChange" doc="/**
&lt;p&gt;The item's visible state changes. If the item is presently visible, it will become invisible, and vice verca. The value argument is the new visible state (i.e&amp;#x2e;, true or false). Do not call &lt;a href=&quot;QGraphicsItem.html#setVisible(boolean)&quot;&gt;&lt;tt&gt;setVisible&lt;/tt&gt;&lt;/a&gt; in &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt; as this notification is delivered; instead, you can return the new visible state from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="ItemEnabledChange" doc="/**
&lt;p&gt;The item's enabled state changes. If the item is presently enabled, it will become disabled, and vice verca. The value argument is the new enabled state (i.e&amp;#x2e;, true or false). Do not call &lt;a href=&quot;QGraphicsItem.html#setEnabled(boolean)&quot;&gt;&lt;tt&gt;setEnabled&lt;/tt&gt;&lt;/a&gt; in &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt; as this notification is delivered. Instead, you can return the new state from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="ItemSelectedChange" doc="/**
&lt;p&gt;The item's selected state changes. If the item is presently selected, it will become unselected, and vice verca. The value argument is the new selected state (i.e&amp;#x2e;, true or false). Do not call &lt;a href=&quot;QGraphicsItem.html#setSelected(boolean)&quot;&gt;&lt;tt&gt;setSelected&lt;/tt&gt;&lt;/a&gt; in &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt; as this notification is delivered(); instead, you can return the new selected state from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="ItemParentChange" doc="/**
&lt;p&gt;The item's parent changes. The value argument is the new parent item (i.e&amp;#x2e;, a &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; pointer). Do not call &lt;a href=&quot;QGraphicsItem.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;setParentItem&lt;/tt&gt;&lt;/a&gt; in &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt; as this notification is delivered; instead, you can return the new parent from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="ItemChildAddedChange" doc="/**
&lt;p&gt;A child is added to this item. The value argument is the new child item (i.e&amp;#x2e;, a &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; pointer). Do not pass this item to any item's &lt;a href=&quot;QGraphicsItem.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)&quot;&gt;&lt;tt&gt;setParentItem&lt;/tt&gt;&lt;/a&gt; function as this notification is delivered. The return value is unused; you cannot adjust anything in this notification. Note that the new child might not be fully constructed when this notification is sent; calling pure virtual functions on the child can lead to a crash.&lt;/p&gt;
 */"/>
        <enum-value name="ItemChildRemovedChange" doc="/**
&lt;p&gt;A child is removed from this item. The value argument is the child item that is about to be removed (i.e&amp;#x2e;, a &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; pointer). The return value is unused; you cannot adjust anything in this notification.&lt;/p&gt;
 */"/>
        <enum-value name="ItemTransformChange" doc="/**
&lt;p&gt;The item's transformation matrix changes. This notification is only sent when the item's local transformation matrix changes (i.e&amp;#x2e;, as a result of calling &lt;a href=&quot;QGraphicsItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt;, or one of the convenience transformation functions, such as &lt;a href=&quot;QGraphicsItem.html#rotate(double)&quot;&gt;&lt;tt&gt;rotate&lt;/tt&gt;&lt;/a&gt;). The value argument is the new matrix (i.e&amp;#x2e;, a &lt;a href=&quot;QTransform.html&quot;&gt;&lt;tt&gt;QTransform&lt;/tt&gt;&lt;/a&gt;); to get the old matrix, call &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;. Do not call &lt;a href=&quot;QGraphicsItem.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)&quot;&gt;&lt;tt&gt;setTransform&lt;/tt&gt;&lt;/a&gt; or any of the transformation convenience functions in &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt; as this notification is delivered; instead, you can return the new matrix from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="ItemPositionHasChanged" doc="/**
&lt;p&gt;The item's position has changed. This notification is only sent after the item's local position, relative to its parent, has changed. The value argument is the new position (the same as &lt;a href=&quot;QGraphicsItem.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;), and &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; ignores the return value for this notification (i.e&amp;#x2e;, a read-only notification).&lt;/p&gt;
 */"/>
        <enum-value name="ItemTransformHasChanged" doc="/**
&lt;p&gt;The item's transformation matrix has changed. This notification is only sent after the item's local trasformation matrix has changed. The value argument is the new matrix (same as &lt;a href=&quot;QGraphicsItem.html#transform()&quot;&gt;&lt;tt&gt;transform&lt;/tt&gt;&lt;/a&gt;), and &lt;a href=&quot;QGraphicsItem.html#QGraphicsItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; ignores the return value for this notification (i.e&amp;#x2e;, a read-only notification).&lt;/p&gt;
 */"/>
        <enum-value name="ItemSceneChange" doc="/**
&lt;p&gt;The item is moved to a new scene. This notification is also sent when the item is added to its initial scene, and when it is removed. The value argument is the new scene (i.e&amp;#x2e;, a &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; pointer), or a null pointer if the item is removed from a scene. Do not override this change by passing this item to QGraphicsScene::addItem() as this notification is delivered; instead, you can return the new scene from &lt;a href=&quot;QGraphicsItem.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)&quot;&gt;&lt;tt&gt;itemChange&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</enum>
    <enum name="Extension" doc="/**
&lt;p&gt;Note: This is provided as a hook to avoid future problems related to adding virtual functions. See also &lt;a href=&quot;QGraphicsItem.html#extension(java.lang.Object)&quot;&gt;&lt;tt&gt;extension&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsItem.html#supportsExtension(com.trolltech.qt.gui.QGraphicsItem.Extension)&quot;&gt;&lt;tt&gt;supportsExtension&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGraphicsItem.html#setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension, java.lang.Object)&quot;&gt;&lt;tt&gt;setExtension&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
        <enum-value name="UserExtension" doc="/**
Internal. */"/>
</enum>
</class>