Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:00:35 CEST 2007 -->
<TITLE>
QGraphicsItemInterface
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QGraphicsItemInterface interface">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QGraphicsItemInterface";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.enum_1.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QGraphicsItemInterface.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QGraphicsItemInterface.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Interface QGraphicsItemInterface</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QAbstractGraphicsShapeItem.html" title="class in com.trolltech.qt.gui">QAbstractGraphicsShapeItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.html" title="class in com.trolltech.qt.gui">QGraphicsItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPathItem.html" title="class in com.trolltech.qt.gui">QGraphicsPathItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPixmapItem.html" title="class in com.trolltech.qt.gui">QGraphicsPixmapItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPolygonItem.html" title="class in com.trolltech.qt.gui">QGraphicsPolygonItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsSimpleTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsSimpleTextItem</A>, <A HREF="../../../../com/trolltech/qt/svg/QGraphicsSvgItem.html" title="class in com.trolltech.qt.svg">QGraphicsSvgItem</A>, <A HREF="../../../../com/trolltech/qt/gui/QGraphicsTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsTextItem</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>QGraphicsItemInterface</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DL>
</PRE>

<P>
<p>The <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> class is the base class for all graphical items in a <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a>.</p>
<p>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. <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> is part of <a href="%2E%2E/graphicsview.html">The Graphics View Framework</tt></a></p>
<p align="center"><img src="%2E%2E/images/graphicsview-items.png" /></p><p>For convenience, Qt provides a set of standard graphics items for the most common shapes. These are:</p>
<ul>
<li><a href="QGraphicsEllipseItem.html"><tt>QGraphicsEllipseItem</tt></a> provides an ellipse item</li>
<li><a href="QGraphicsLineItem.html"><tt>QGraphicsLineItem</tt></a> provides a line item</li>
<li><a href="QGraphicsPathItem.html"><tt>QGraphicsPathItem</tt></a> provides an arbitrary path item</li>
<li><a href="QGraphicsPixmapItem.html"><tt>QGraphicsPixmapItem</tt></a> provides a pixmap item</li>
<li><a href="QGraphicsPolygonItem.html"><tt>QGraphicsPolygonItem</tt></a> provides a polygon item</li>
<li><a href="QGraphicsRectItem.html"><tt>QGraphicsRectItem</tt></a> provides a rectangular item</li>
<li><a href="QGraphicsSimpleTextItem.html"><tt>QGraphicsSimpleTextItem</tt></a> provides a simple text label item</li>
<li><a href="QGraphicsTextItem.html"><tt>QGraphicsTextItem</tt></a> provides an advanced text browser item</li>
</ul>
<p>All of an item's geometric information is based on its local coordinate system. The item's position, <a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>, 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.</p>
<p>You can set whether an item should be visible (i.e&#x2e;, drawn, and accepting events), by calling <a href="QGraphicsItemInterface.html#setVisible(boolean)"><tt>setVisible</tt></a>. Hiding an item will also hide its children. Similarly, you can enable or disable an item by calling <a href="QGraphicsItemInterface.html#setEnabled(boolean)"><tt>setEnabled</tt></a>. 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 ItemIsSelectable flag, and then call <a href="QGraphicsItemInterface.html#setSelected(boolean)"><tt>setSelected</tt></a>. Normally, selection is toggled by the scene, as a result of user interaction.</p>
<p>To write your own graphics item, you first create a subclass of <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a>, and then start by implementing its two pure virtual public functions: <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>, which returns an estimate of the area painted by the item, and <a href="QGraphicsItemInterface.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)"><tt>paint</tt></a>, which implements the actual painting. For example:</p>
<pre>    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-&gt;drawRoundRect(-10, -10, 20, 20);
        }
    };</pre>
<p>The <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a> function has many different purposes. <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a> bases its item index on <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>, and <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> uses it both for culling invisible items, and for determining the area that needs to be recomposed when drawing overlapping items. In addition, <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a>'s collision detection mechanisms use <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a> to provide an efficient cut-off. The fine grained collision algorithm in <a href="QGraphicsItemInterface.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidesWithItem</tt></a> is based on calling <a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a>, which returns an accurate outline of the item's shape as a <a href="QPainterPath.html"><tt>QPainterPath</tt></a>.</p>
<p><a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a> expects all items <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a> and <a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a> to remain unchanged unless it is notified. If you want to change an item's geometry in any way, you must first call <a href="QGraphicsItemInterface.html#prepareGeometryChange()"><tt>prepareGeometryChange</tt></a> to allow <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a> to update its bookkeeping.</p>
<p>Collision detection can be done in two ways:</p>
<ol type="1">
<li>Reimplement <a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a> to return an accurate shape for your item, and rely on the default implementation of <a href="QGraphicsItemInterface.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidesWithItem</tt></a> to do shape-shape intersection. This can be rather expensive if the shapes are complex.</li>
<li>Reimplement <a href="QGraphicsItemInterface.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidesWithItem</tt></a> to provide your own custom item and shape collision algorithm.</li>
</ol>
<p>The <a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a> function can be called to determine whether the item <i>contains</i> a point or not. This function can also be reimplemented by the item. The default behavior of <a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a> is based on calling <a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a>.</p>
<p>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 <i>parent</i> coordinates (i.e&#x2e;, the parent's local coordinates). Parent items propagate both their position and their transformation to all children.</p>
<p align="center"><img src="%2E%2E/images/graphicsview-parentchild.png" /></p><p><a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> supports affine transformations in addition to its base position, <a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>. To change the item's transformation, you can either pass a transformation matrix to <a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, or call one of the convenience functions <a href="QGraphicsItemInterface.html#rotate(double)"><tt>rotate</tt></a>, <a href="QGraphicsItemInterface.html#scale(double, double)"><tt>scale</tt></a>, <a href="QGraphicsItemInterface.html#translate(double, double)"><tt>translate</tt></a>, or <a href="QGraphicsItemInterface.html#shear(double, double)"><tt>shear</tt></a>. 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&#x2e;, <a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a>, <a href="QGraphicsItemInterface.html#update(double, double, double, double)"><tt>update</tt></a>, and all the mapping functions) still operate in local coordinates. For convenience, <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> provides the functions <a href="QGraphicsItemInterface.html#sceneTransform()"><tt>sceneTransform</tt></a>, which returns the item's total transformation matrix (including its position and all parents' positions and transformations), and <a href="QGraphicsItemInterface.html#scenePos()"><tt>scenePos</tt></a>, which returns its position in scene coordinates. To reset an item's matrix, call <a href="QGraphicsItemInterface.html#resetTransform()"><tt>resetTransform</tt></a>.</p>
<p>The <a href="QGraphicsItemInterface.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)"><tt>paint</tt></a> function is called by <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> 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 <a href="QGraphicsItemInterface.html#update(double, double, double, double)"><tt>update</tt></a> 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 <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a>.</p>
<p>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 <a href="QGraphicsItemInterface.html#setZValue(double)"><tt>setZValue</tt></a>, and test it by calling <a href="QGraphicsItemInterface.html#zValue()"><tt>zValue</tt></a>, 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.</p>
<p><a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> receives events from <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a> through the virtual function <a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a>. This function distributes the most common events to a set of convenience event handlers:</p>
<ul>
<li><a href="QGraphicsItemInterface.html#contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)"><tt>contextMenuEvent</tt></a> handles context menu events</li>
<li><a href="QGraphicsItemInterface.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a> and <a href="QGraphicsItemInterface.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a> handle focus in and out events</li>
<li><a href="QGraphicsItemInterface.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverEnterEvent</tt></a>, <a href="QGraphicsItemInterface.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverMoveEvent</tt></a>, and <a href="QGraphicsItemInterface.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverLeaveEvent</tt></a> handles hover enter, move and leave events</li>
<li><a href="QGraphicsItemInterface.html#inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)"><tt>inputMethodEvent</tt></a> handles input events, for accessibility support</li>
<li><a href="QGraphicsItemInterface.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a> and <a href="QGraphicsItemInterface.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a> handle key press and release events</li>
<li><a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>, <a href="QGraphicsItemInterface.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseMoveEvent</tt></a>, <a href="QGraphicsItemInterface.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseReleaseEvent</tt></a>, and <a href="QGraphicsItemInterface.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseDoubleClickEvent</tt></a> handles mouse press, move, release, click and doubleclick events</li>
</ul>
<p>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 <a href="%2E%2E/core/QObject.html"><tt>QObject</tt></a>. After installing your item as an event filter for another item by calling <a href="QGraphicsItemInterface.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>installSceneEventFilter</tt></a>, the filtered events will be received by the virtual function <a href="QGraphicsItemInterface.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)"><tt>sceneEventFilter</tt></a>. You can remove item event filters by calling <a href="QGraphicsItemInterface.html#removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>removeSceneEventFilter</tt></a>.</p>
<p>Sometimes it's useful to register custom data with an item, be it a custom item, or a standard item. You can call <a href="QGraphicsItemInterface.html#setData(int, java.lang.Object)"><tt>setData</tt></a> on any item to store data in it using a key-value pair (the key being an integer, and the value is a <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a>). To get custom data from an item, call <a href="QGraphicsItemInterface.html#data(int)"><tt>data</tt></a>. This functionality is completely untouched by Qt itself; it is provided for the user's convenience.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a>, 
<a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>, 
<a href="%2E%2E/graphicsview.html">The Graphics View Framework</tt></a></DL>
<HR>

<P>

<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#acceptDrops()">acceptDrops</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item can accept drag and drop events; otherwise, returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#acceptedMouseButtons()">acceptedMouseButtons</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the mouse buttons that this item accepts mouse events for.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#acceptsHoverEvents()">acceptsHoverEvents</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if an item accepts hover events (<a href="QGraphicsSceneHoverEvent.html"><tt>QGraphicsSceneHoverEvent</tt></a>); otherwise, returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#addToIndex()">addToIndex</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#advance(int)">advance</A></B>(int&nbsp;phase)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This virtual function is called twice for all items by the QGraphicsScene::advance() slot.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#boundingRect()">boundingRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#childItems()">childItems</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of this item's children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#childrenBoundingRect()">childrenBoundingRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rect of this item's descendents (i.e&#x2e;, its children, their children, etc.) in local coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#clearFocus()">clearFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Takes keyboard input focus from the item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)">collidesWithItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;other,
                 <A HREF="../../../../com/trolltech/qt/core/Qt.ItemSelectionMode.html" title="enum in com.trolltech.qt.core">Qt.ItemSelectionMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item collides with <tt>other</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#collidesWithPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)">collidesWithPath</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
                 <A HREF="../../../../com/trolltech/qt/core/Qt.ItemSelectionMode.html" title="enum in com.trolltech.qt.core">Qt.ItemSelectionMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item collides with <tt>path</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#collidingItems(com.trolltech.qt.core.Qt.ItemSelectionMode)">collidingItems</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ItemSelectionMode.html" title="enum in com.trolltech.qt.core">Qt.ItemSelectionMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all items that collide with this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)">contains</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item contains <tt>point</tt>, which is in local coordinates; otherwise, false is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)">contextMenuEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneContextMenuEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneContextMenuEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler can be reimplemented in a subclass to process context menu events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#cursor()">cursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current cursor shape for the item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#data(int)">data</A></B>(int&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this item's custom data for the key <tt>key</tt> as a <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#deviceTransform(com.trolltech.qt.gui.QTransform)">deviceTransform</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;viewportTransform)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this item's device transformation matrix, using <tt>viewportTransform</tt> to map from scene to device coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)">dragEnterEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive drag enter events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)">dragLeaveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive drag leave events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)">dragMoveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive drag move events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)">dropEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive drop events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#ensureVisible(double, double, double, double, int, int)">ensureVisible</A></B>(double&nbsp;x,
              double&nbsp;y,
              double&nbsp;w,
              double&nbsp;h,
              int&nbsp;xmargin,
              int&nbsp;ymargin)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)"><tt>ensureVisible</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), <tt>xmargin</tt>, <tt>ymargin</tt>):</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)">ensureVisible</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
              int&nbsp;xmargin,
              int&nbsp;ymargin)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this item is part of a scene that is viewed by a <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>, this convenience function will attempt to scroll the view to ensure that <tt>rect</tt> is visible inside the view's viewport.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#extension(java.lang.Object)">extension</A></B>(java.lang.Object&nbsp;variant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemFlags.html" title="class in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemFlags</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#flags()">flags</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this item's flags.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)">focusInEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive focus in events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)">focusOutEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive focus out events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#group()">group</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a pointer to this item's item group, or 0 if this item is not member of a group.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#handlesChildEvents()">handlesChildEvents</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item handles child events (i.e&#x2e;, all events intended for any of its children are instead sent to this item); otherwise, false is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#hasCursor()">hasCursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item has a cursor set; otherwise, false is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#hasFocus()">hasFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item has focus (i.e&#x2e;, can accept key events); otherwise, returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#hide()">hide</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hides the item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)">hoverEnterEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHoverEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHoverEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive hover enter events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)">hoverLeaveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHoverEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHoverEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive hover leave events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)">hoverMoveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHoverEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHoverEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive hover move events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)">inputMethodEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QInputMethodEvent.html" title="class in com.trolltech.qt.gui">QInputMethodEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive input method events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery)">inputMethodQuery</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.InputMethodQuery.html" title="enum in com.trolltech.qt.core">Qt.InputMethodQuery</A>&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is only relevant for input items.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)">installSceneEventFilter</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;filterItem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Installs an event filter for this item on <tt>filterItem</tt>, causing all events for this item to first pass through <tt>filterItem</tt>'s <a href="QGraphicsItemInterface.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)"><tt>sceneEventFilter</tt></a> function.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isAncestorOf(com.trolltech.qt.gui.QGraphicsItemInterface)">isAncestorOf</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item is an ancestor of <tt>child</tt> (i.e&#x2e;, if this item is <tt>child</tt>'s parent, or one of <tt>child</tt>'s parent's ancestors).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isEnabled()">isEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the item is enabled; otherwise, false is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isObscured()">isObscured</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item's bounding rect is completely obscured by the opaque shape of any of colliding items above it (i.e&#x2e;, with a higher Z value than this item).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isObscured(double, double, double, double)">isObscured</A></B>(double&nbsp;x,
           double&nbsp;y,
           double&nbsp;w,
           double&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#isObscured(com.trolltech.qt.core.QRectF)"><tt>isObscured</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isObscured(com.trolltech.qt.core.QRectF)">isObscured</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <tt>rect</tt> is completely obscured by the opaque shape of any of colliding items above it (i.e&#x2e;, with a higher Z value than this item).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)">isObscuredBy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item's bounding rect is completely obscured by the opaque shape of <tt>item</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isSelected()">isSelected</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this item is selected; otherwise, false is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#isVisible()">isVisible</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the item is visible; otherwise, false is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)">itemChange</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemChange.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemChange</A>&nbsp;change,
           java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This virtual function is called by <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> to notify custom items that some part of the item's state changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)">keyPressEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive key press events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)">keyReleaseEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive key release events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)">mapFromItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
            double&nbsp;x,
            double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>(<tt>item</tt>, <a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double, double, double)">mapFromItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
            double&nbsp;x,
            double&nbsp;y,
            double&nbsp;w,
            double&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>(item, <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPainterPath)">mapFromItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
            <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the path <tt>path</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QPointF)">mapFromItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
            <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the point <tt>point</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped coordinate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)">mapFromItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
            <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the polygon <tt>polygon</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)">mapFromItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
            <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the rectangle <tt>rect</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromParent(double, double)">mapFromParent</A></B>(double&nbsp;x,
              double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromParent(double, double, double, double)">mapFromParent</A></B>(double&nbsp;x,
              double&nbsp;y,
              double&nbsp;w,
              double&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.gui.QPainterPath)">mapFromParent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the path <tt>path</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)">mapFromParent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the point <tt>point</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped coordinate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.gui.QPolygonF)">mapFromParent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the polygon <tt>polygon</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QRectF)">mapFromParent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the rectangle <tt>rect</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromScene(double, double)">mapFromScene</A></B>(double&nbsp;x,
             double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromScene(double, double, double, double)">mapFromScene</A></B>(double&nbsp;x,
             double&nbsp;y,
             double&nbsp;w,
             double&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)">mapFromScene</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the path <tt>path</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.core.QPointF)">mapFromScene</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the point <tt>point</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped coordinate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPolygonF)">mapFromScene</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the polygon <tt>polygon</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.core.QRectF)">mapFromScene</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the rectangle <tt>rect</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)">mapToItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
          double&nbsp;x,
          double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>(<tt>item</tt>, <a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double, double, double)">mapToItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
          double&nbsp;x,
          double&nbsp;y,
          double&nbsp;w,
          double&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>(item, <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPainterPath)">mapToItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
          <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the path <tt>path</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QPointF)">mapToItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
          <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the point <tt>point</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped coordinate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)">mapToItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
          <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the polygon <tt>polygon</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)">mapToItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
          <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the rectangle <tt>rect</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped rectangle as a polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToParent(double, double)">mapToParent</A></B>(double&nbsp;x,
            double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToParent(double, double, double, double)">mapToParent</A></B>(double&nbsp;x,
            double&nbsp;y,
            double&nbsp;w,
            double&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToParent(com.trolltech.qt.gui.QPainterPath)">mapToParent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the path <tt>path</tt>, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToParent(com.trolltech.qt.core.QPointF)">mapToParent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the point <tt>point</tt>, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped coordinate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToParent(com.trolltech.qt.gui.QPolygonF)">mapToParent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the polygon <tt>polygon</tt>, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToParent(com.trolltech.qt.core.QRectF)">mapToParent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the rectangle <tt>rect</tt>, which is in this item's coordinate system, to its parent's coordinate system, and returns the mapped rectangle as a polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToScene(double, double)">mapToScene</A></B>(double&nbsp;x,
           double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToScene(double, double, double, double)">mapToScene</A></B>(double&nbsp;x,
           double&nbsp;y,
           double&nbsp;w,
           double&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToScene(com.trolltech.qt.gui.QPainterPath)">mapToScene</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the path <tt>path</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToScene(com.trolltech.qt.core.QPointF)">mapToScene</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the point <tt>point</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped coordinate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToScene(com.trolltech.qt.gui.QPolygonF)">mapToScene</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the polygon <tt>polygon</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mapToScene(com.trolltech.qt.core.QRectF)">mapToScene</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maps the rectangle <tt>rect</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped rectangle as a polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)">mouseDoubleClickEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive mouse doubleclick events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)">mouseMoveEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive mouse move events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)">mousePressEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive mouse press events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)">mouseReleaseEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive mouse release events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#moveBy(double, double)">moveBy</A></B>(double&nbsp;dx,
       double&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the item by <tt>dx</tt> points horizontally, and <tt>dy</tt> point vertically.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#opaqueArea()">opaqueArea</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This virtual function returns a shape representing the area where this item is opaque.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)">paint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
      <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionGraphicsItem.html" title="class in com.trolltech.qt.gui">QStyleOptionGraphicsItem</A>&nbsp;option,
      <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function, which is usually called by <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>, paints the contents of an item in local coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#parentItem()">parentItem</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a pointer to this item's parent item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#pos()">pos</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the item in parent coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#prepareGeometryChange()">prepareGeometryChange</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepares the item for a geometry change.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#removeFromIndex()">removeFromIndex</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)">removeSceneEventFilter</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;filterItem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an event filter on this item from <tt>filterItem</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#resetTransform()">resetTransform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets this item's transformation matrix to the identity matrix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#rotate(double)">rotate</A></B>(double&nbsp;angle)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rotates the current item transformation <tt>angle</tt> degrees clockwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#scale(double, double)">scale</A></B>(double&nbsp;sx,
      double&nbsp;sy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scales the current item transformation by (<tt>sx</tt>, <tt>sy</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html" title="class in com.trolltech.qt.gui">QGraphicsScene</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#scene()">scene</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current scene for the item, or 0 if the item is not stored in a scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#sceneBoundingRect()">sceneBoundingRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rect of this item in scene coordinates, by combining <a href="QGraphicsItemInterface.html#sceneTransform()"><tt>sceneTransform</tt></a> with <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)">sceneEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This virtual function receives events to this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)">sceneEventFilter</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;watched,
                 <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filters events for the item <tt>watched</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#scenePos()">scenePos</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the item's position in scene coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#sceneTransform()">sceneTransform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this item's scene transformation matrix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setAcceptDrops(boolean)">setAcceptDrops</A></B>(boolean&nbsp;on)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>on</tt> is true, this item will accept drag and drop events; otherwise, it is transparent for drag and drop events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)">setAcceptedMouseButtons</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A>&nbsp;buttons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the mouse <tt>buttons</tt> that this item accepts mouse events for.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setAcceptsHoverEvents(boolean)">setAcceptsHoverEvents</A></B>(boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>enabled</tt> is true, this item will accept hover events; otherwise, it will ignore them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setCursor(com.trolltech.qt.gui.QCursor)">setCursor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;cursor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current cursor shape for the item to <tt>cursor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setData(int, java.lang.Object)">setData</A></B>(int&nbsp;key,
        java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this item's custom data for the key <tt>key</tt> to <tt>value</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>enabled</tt> is true, the item is enabled; otherwise, it is disabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension, java.lang.Object)">setExtension</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.Extension.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.Extension</A>&nbsp;extension,
             java.lang.Object&nbsp;variant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag, boolean)">setFlag</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemFlag.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemFlag</A>&nbsp;flag,
        boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>enabled</tt> is true, the item flag <tt>flag</tt> is enabled; otherwise, it is disabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setFlags(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags)">setFlags</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemFlags.html" title="class in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemFlags</A>&nbsp;flags)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the item flags to <tt>flags</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)">setFocus</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.FocusReason.html" title="enum in com.trolltech.qt.core">Qt.FocusReason</A>&nbsp;focusReason)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives keyboard input focus to this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setGroup(com.trolltech.qt.gui.QGraphicsItemGroup)">setGroup</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A>&nbsp;group)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds this item to the item group <tt>group</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setHandlesChildEvents(boolean)">setHandlesChildEvents</A></B>(boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>enabled</tt> is true, this item is set to handle all events for all its children (i.e&#x2e;, all events intented for any of its children are instead sent to this item); otherwise, if <tt>enabled</tt> is false, this item will only handle its own events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)">setParentItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this item's parent item to <tt>parent</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setPos(double, double)">setPos</A></B>(double&nbsp;x,
       double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#setPos(double, double)"><tt>setPos</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setPos(com.trolltech.qt.core.QPointF)">setPos</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the position of the item to <tt>pos</tt>, which is in parent coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setSelected(boolean)">setSelected</A></B>(boolean&nbsp;selected)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>selected</tt> is true and this item is selectable, this item is selected; otherwise, it is unselected.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setToolTip(java.lang.String)">setToolTip</A></B>(java.lang.String&nbsp;toolTip)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the item's tool tip to <tt>toolTip</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)">setTransform</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;matrix,
             boolean&nbsp;combine)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the item's current transformation matrix to <tt>matrix</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setVisible(boolean)">setVisible</A></B>(boolean&nbsp;visible)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>visible</tt> is true, the item is made visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#setZValue(double)">setZValue</A></B>(double&nbsp;z)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Z-value, or the elevation, of the item, to <tt>z</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#shape()">shape</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the shape of this item as a <a href="QPainterPath.html"><tt>QPainterPath</tt></a> in local coordinates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#shear(double, double)">shear</A></B>(double&nbsp;sh,
      double&nbsp;sv)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shears the current item transformation by (<tt>sh</tt>, <tt>sv</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#show()">show</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows the item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#supportsExtension(com.trolltech.qt.gui.QGraphicsItem.Extension)">supportsExtension</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.Extension.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.Extension</A>&nbsp;extension)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#toolTip()">toolTip</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the item's tool tip, or an empty <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> if no tool tip has been set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#topLevelItem()">topLevelItem</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this item's top-level item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#transform()">transform</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this item's transformation matrix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#translate(double, double)">translate</A></B>(double&nbsp;dx,
          double&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates the current item transformation by (<tt>dx</tt>, <tt>dy</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#type()">type</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of an item as an int.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#unsetCursor()">unsetCursor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the cursor from this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#update(double, double, double, double)">update</A></B>(double&nbsp;x,
       double&nbsp;y,
       double&nbsp;width,
       double&nbsp;height)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling update(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>width</tt>, <tt>height</tt>)).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#update(com.trolltech.qt.core.QRectF)">update</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Schedules a redraw of the area covered by <tt>rect</tt> in this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#wheelEvent(com.trolltech.qt.gui.QGraphicsSceneWheelEvent)">wheelEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneWheelEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneWheelEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This event handler, for event <tt>event</tt>, can be reimplemented to receive wheel events for this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#x()">x</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>.<a href="QGraphicsItemInterface.html#x()"><tt>x</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#y()">y</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>.<a href="QGraphicsItemInterface.html#y()"><tt>y</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html#zValue()">zValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Z-value, or the elevation, of the item.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="acceptDrops()"><!-- --></A><H3>
acceptDrops</H3>
<PRE>
boolean <B>acceptDrops</B>()</PRE>
<DL>
<DD><p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setAcceptDrops(boolean)"><tt>setAcceptDrops</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="acceptedMouseButtons()"><!-- --></A><H3>
acceptedMouseButtons</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A> <B>acceptedMouseButtons</B>()</PRE>
<DL>
<DD><p>Returns the mouse buttons that this item accepts mouse events for. By default, all mouse buttons are accepted.</p>
<p>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, <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a> will forward the mouse events to the first item beneath it that does.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)"><tt>setAcceptedMouseButtons</tt></a>, 
<a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="acceptsHoverEvents()"><!-- --></A><H3>
acceptsHoverEvents</H3>
<PRE>
boolean <B>acceptsHoverEvents</B>()</PRE>
<DL>
<DD><p>Returns true if an item accepts hover events (<a href="QGraphicsSceneHoverEvent.html"><tt>QGraphicsSceneHoverEvent</tt></a>); otherwise, returns false. By default, items do not accept hover events.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setAcceptsHoverEvents(boolean)"><tt>setAcceptsHoverEvents</tt></a>, 
<a href="QGraphicsItemInterface.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)"><tt>setAcceptedMouseButtons</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addToIndex()"><!-- --></A><H3>
addToIndex</H3>
<PRE>
void <B>addToIndex</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="childItems()"><!-- --></A><H3>
childItems</H3>
<PRE>
java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>childItems</B>()</PRE>
<DL>
<DD><p>Returns a list of this item's children. The items are returned in no particular order.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>setParentItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="childrenBoundingRect()"><!-- --></A><H3>
childrenBoundingRect</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>childrenBoundingRect</B>()</PRE>
<DL>
<DD><p>Returns the bounding rect of this item's descendents (i.e&#x2e;, its children, their children, etc.) in local coordinates. If the item has no children, this function returns an empty <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>.</p>
<p>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 <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a> to <a href="QGraphicsItemInterface.html#childrenBoundingRect()"><tt>childrenBoundingRect</tt></a> using QRectF::operator|().</p>
<p>This function is linear in complexity; it determines the size of the returned bounding rect by iterating through all descendents.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneBoundingRect()"><tt>sceneBoundingRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clearFocus()"><!-- --></A><H3>
clearFocus</H3>
<PRE>
void <B>clearFocus</B>()</PRE>
<DL>
<DD><p>Takes keyboard input focus from the item.</p>
<p>If it has focus, a focus out event is sent to this item to tell it that it is about to lose the focus.</p>
<p>Only items that set the ItemIsFocusable flag can accept keyboard focus.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="collidingItems(com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
collidingItems</H3>
<PRE>
java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>collidingItems</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ItemSelectionMode.html" title="enum in com.trolltech.qt.core">Qt.ItemSelectionMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Returns a list of all items that collide with this item.</p>
<p>The way collisions are detected is determined by <tt>mode</tt>. The default value for <tt>mode</tt> is Qt::IntersectsItemShape; All items whose shape intersects or is contained by this item's shape are returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsScene::collidingItems</tt>, 
<a href="QGraphicsItemInterface.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidesWithItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="cursor()"><!-- --></A><H3>
cursor</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A> <B>cursor</B>()</PRE>
<DL>
<DD><p>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</tt> for a range of useful shapes.</p>
<p>An editor item might want to use an I-beam cursor:</p>
<pre>    item-&gt;setCursor(Qt::IBeamCursor);</pre>
<p>If no cursor has been set, the parent's cursor is used.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setCursor(com.trolltech.qt.gui.QCursor)"><tt>setCursor</tt></a>, 
<a href="QGraphicsItemInterface.html#hasCursor()"><tt>hasCursor</tt></a>, 
<a href="QGraphicsItemInterface.html#unsetCursor()"><tt>unsetCursor</tt></a>, 
<tt>QWidget::cursor</tt>, 
<tt>QApplication::overrideCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="data(int)"><!-- --></A><H3>
data</H3>
<PRE>
java.lang.Object <B>data</B>(int&nbsp;key)</PRE>
<DL>
<DD><p>Returns this item's custom data for the key <tt>key</tt> as a <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a>.</p>
<p>Custom item data is useful for storing arbitrary properties in any item. Example:</p>
<pre>    static const int ObjectName = 0;

    QGraphicsItem *item = scene.itemAt(100, 50);
    if (item-&gt;data(ObjectName).toString().isEmpty()) {
        if (qgraphicsitem_cast&lt;ButtonItem *&gt;(item))
            item-&gt;setData(ObjectName, &quot;Button&quot;);
    }</pre>
<p>Qt does not use this feature for storing data; it is provided solely for the convenience of the user.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setData(int, java.lang.Object)"><tt>setData</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="deviceTransform(com.trolltech.qt.gui.QTransform)"><!-- --></A><H3>
deviceTransform</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>deviceTransform</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;viewportTransform)</PRE>
<DL>
<DD><p>Returns this item's device transformation matrix, using <tt>viewportTransform</tt> 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.</p>
<p>Example:</p>
<pre>    QGraphicsRectItem rect;
    rect.setPos(100, 100);

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

    rect.deviceTransform(view-&gt;viewportTransform()).inverted().map(QPointF(100, 100));
<span class="comment">    // returns view's viewport's (100, 100) coordinate in item coordinates</span></pre>
<p>This function is the same as combining this item's scene transform with the view's viewport transform, but is also understands ItemIgnoresTransformations.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#scenePos()"><tt>scenePos</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="ensureVisible(double, double, double, double, int, int)"><!-- --></A><H3>
ensureVisible</H3>
<PRE>
void <B>ensureVisible</B>(double&nbsp;x,
                   double&nbsp;y,
                   double&nbsp;w,
                   double&nbsp;h,
                   int&nbsp;xmargin,
                   int&nbsp;ymargin)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#ensureVisible(com.trolltech.qt.core.QRectF, int, int)"><tt>ensureVisible</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), <tt>xmargin</tt>, <tt>ymargin</tt>):</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="ensureVisible(com.trolltech.qt.core.QRectF, int, int)"><!-- --></A><H3>
ensureVisible</H3>
<PRE>
void <B>ensureVisible</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                   int&nbsp;xmargin,
                   int&nbsp;ymargin)</PRE>
<DL>
<DD><p>If this item is part of a scene that is viewed by a <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>, this convenience function will attempt to scroll the view to ensure that <tt>rect</tt> is visible inside the view's viewport. If <tt>rect</tt> is a null rect (the default), <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> will default to the item's bounding rect. <tt>xmargin</tt> and <tt>ymargin</tt> are the number of pixels the view should use for margins.</p>
<p>If the specified rect cannot be reached, the contents are scrolled to the nearest valid position.</p>
<p>If this item is not viewed by a <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>, this function does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsView::ensureVisible</tt></DL>
</DD>
</DL>
<HR>

<A NAME="flags()"><!-- --></A><H3>
flags</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemFlags.html" title="class in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemFlags</A> <B>flags</B>()</PRE>
<DL>
<DD><p>Returns this item's flags. The flags describe what configurable features of the item are enabled and not. For example, if the flags include ItemIsFocusable, the item can accept input focus.</p>
<p>By default, no flags are enabled.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setFlags(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags)"><tt>setFlags</tt></a>, 
<a href="QGraphicsItemInterface.html#setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag, boolean)"><tt>setFlag</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="group()"><!-- --></A><H3>
group</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A> <B>group</B>()</PRE>
<DL>
<DD><p>Returns a pointer to this item's item group, or 0 if this item is not member of a group.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setGroup(com.trolltech.qt.gui.QGraphicsItemGroup)"><tt>setGroup</tt></a>, 
<a href="QGraphicsItemGroup.html"><tt>QGraphicsItemGroup</tt></a>, 
<tt>QGraphicsScene::createItemGroup</tt></DL>
</DD>
</DL>
<HR>

<A NAME="handlesChildEvents()"><!-- --></A><H3>
handlesChildEvents</H3>
<PRE>
boolean <B>handlesChildEvents</B>()</PRE>
<DL>
<DD><p>Returns true if this item handles child events (i.e&#x2e;, all events intended for any of its children are instead sent to this item); otherwise, false is returned.</p>
<p>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.</p>
<p>The default is to return false; children handle their own events. The exception for this is if the item is a <a href="QGraphicsItemGroup.html"><tt>QGraphicsItemGroup</tt></a>, then it defaults to return true.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setHandlesChildEvents(boolean)"><tt>setHandlesChildEvents</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasCursor()"><!-- --></A><H3>
hasCursor</H3>
<PRE>
boolean <B>hasCursor</B>()</PRE>
<DL>
<DD><p>Returns true if this item has a cursor set; otherwise, false is returned.</p>
<p>By default, items don't have any cursor set. <a href="QGraphicsItemInterface.html#cursor()"><tt>cursor</tt></a> will return a standard pointing arrow cursor.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#unsetCursor()"><tt>unsetCursor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasFocus()"><!-- --></A><H3>
hasFocus</H3>
<PRE>
boolean <B>hasFocus</B>()</PRE>
<DL>
<DD><p>Returns true if this item has focus (i.e&#x2e;, can accept key events); otherwise, returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a>, 
<tt>QGraphicsScene::setFocusItem</tt></DL>
</DD>
</DL>
<HR>

<A NAME="hide()"><!-- --></A><H3>
hide</H3>
<PRE>
void <B>hide</B>()</PRE>
<DL>
<DD><p>Hides the item. (Items are visible by default.)</p>
<p>This convenience function is equivalent to calling <tt>setVisible(false)</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#show()"><tt>show</tt></a>, 
<a href="QGraphicsItemInterface.html#setVisible(boolean)"><tt>setVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
installSceneEventFilter</H3>
<PRE>
void <B>installSceneEventFilter</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;filterItem)</PRE>
<DL>
<DD><p>Installs an event filter for this item on <tt>filterItem</tt>, causing all events for this item to first pass through <tt>filterItem</tt>'s <a href="QGraphicsItemInterface.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)"><tt>sceneEventFilter</tt></a> function.</p>
<p>To filter another item's events, install this item as an event filter for the other item. Example:</p>
<pre>    QGraphicsScene scene;
    QGraphicsEllipseItem *ellipse = scene.addEllipse(QRectF(-10, -10, 20, 20));
    QGraphicsLineItem *line = scene.addLine(QLineF(-10, -10, 20, 20));

    line-&gt;installSceneEventFilter(ellipse);
<span class="comment">    // line's events are filtered by ellipse's sceneEventFilter() function.</span>

    ellipse-&gt;installSceneEventFilter(line);
<span class="comment">    // ellipse's events are filtered by line's sceneEventFilter() function.</span></pre>
<p>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 <a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a> directly.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>removeSceneEventFilter</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)"><tt>sceneEventFilter</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isAncestorOf(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
isAncestorOf</H3>
<PRE>
boolean <B>isAncestorOf</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;child)</PRE>
<DL>
<DD><p>Returns true if this item is an ancestor of <tt>child</tt> (i.e&#x2e;, if this item is <tt>child</tt>'s parent, or one of <tt>child</tt>'s parent's ancestors).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#parentItem()"><tt>parentItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isEnabled()"><!-- --></A><H3>
isEnabled</H3>
<PRE>
boolean <B>isEnabled</B>()</PRE>
<DL>
<DD><p>Returns true if the item is enabled; otherwise, false is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setEnabled(boolean)"><tt>setEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isObscured()"><!-- --></A><H3>
isObscured</H3>
<PRE>
boolean <B>isObscured</B>()</PRE>
<DL>
<DD><p>Returns true if this item's bounding rect is completely obscured by the opaque shape of any of colliding items above it (i.e&#x2e;, with a higher Z value than this item).</p>
<p>Its implementation is based on calling <a href="QGraphicsItemInterface.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>isObscuredBy</tt></a>, which you can reimplement to provide a custom obscurity algorithm.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#opaqueArea()"><tt>opaqueArea</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isObscured(double, double, double, double)"><!-- --></A><H3>
isObscured</H3>
<PRE>
boolean <B>isObscured</B>(double&nbsp;x,
                   double&nbsp;y,
                   double&nbsp;w,
                   double&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#isObscured(com.trolltech.qt.core.QRectF)"><tt>isObscured</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isObscured(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
isObscured</H3>
<PRE>
boolean <B>isObscured</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Returns true if <tt>rect</tt> is completely obscured by the opaque shape of any of colliding items above it (i.e&#x2e;, with a higher Z value than this item).</p>
<p>Unlike the default <a href="QGraphicsItemInterface.html#isObscured(com.trolltech.qt.core.QRectF)"><tt>isObscured</tt></a> function, this function does not call <a href="QGraphicsItemInterface.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>isObscuredBy</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#opaqueArea()"><tt>opaqueArea</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isSelected()"><!-- --></A><H3>
isSelected</H3>
<PRE>
boolean <B>isSelected</B>()</PRE>
<DL>
<DD><p>Returns true if this item is selected; otherwise, false is returned.</p>
<p>Items that are in a group inherit the group's selected state.</p>
<p>Items are not selected by default.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setSelected(boolean)"><tt>setSelected</tt></a>, 
<tt>QGraphicsScene::setSelectionArea</tt></DL>
</DD>
</DL>
<HR>

<A NAME="isVisible()"><!-- --></A><H3>
isVisible</H3>
<PRE>
boolean <B>isVisible</B>()</PRE>
<DL>
<DD><p>Returns true if the item is visible; otherwise, false is returned.</p>
<p>Note that the item's general visibility is unrelated to whether or not it is actually being visualized by a <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setVisible(boolean)"><tt>setVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
mapFromItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                      <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Maps the polygon <tt>polygon</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped polygon.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
mapFromItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                      <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Maps the rectangle <tt>rect</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
mapFromItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapFromItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                    <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</PRE>
<DL>
<DD><p>Maps the point <tt>point</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped coordinate.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double, double, double)"><!-- --></A><H3>
mapFromItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                      double&nbsp;x,
                      double&nbsp;y,
                      double&nbsp;w,
                      double&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>(item, <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
mapFromItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>mapFromItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                         <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Maps the path <tt>path</tt>, which is in <tt>item</tt>'s coordinate system, to this item's coordinate system, and returns the mapped path.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><!-- --></A><H3>
mapFromItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapFromItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                    double&nbsp;x,
                    double&nbsp;y)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>(<tt>item</tt>, <a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapFromParent(double, double, double, double)"><!-- --></A><H3>
mapFromParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromParent</B>(double&nbsp;x,
                        double&nbsp;y,
                        double&nbsp;w,
                        double&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapFromParent(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
mapFromParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromParent</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Maps the rectangle <tt>rect</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromParent(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
mapFromParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>mapFromParent</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Maps the path <tt>path</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped path.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromParent(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
mapFromParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromParent</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Maps the polygon <tt>polygon</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped polygon.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromParent(double, double)"><!-- --></A><H3>
mapFromParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapFromParent</B>(double&nbsp;x,
                      double&nbsp;y)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapFromParent(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
mapFromParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapFromParent</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</PRE>
<DL>
<DD><p>Maps the point <tt>point</tt>, which is in this item's parent's coordinate system, to this item's coordinate system, and returns the mapped coordinate.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromScene(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
mapFromScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromScene</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Maps the polygon <tt>polygon</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped polygon.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromScene(double, double, double, double)"><!-- --></A><H3>
mapFromScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromScene</B>(double&nbsp;x,
                       double&nbsp;y,
                       double&nbsp;w,
                       double&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapFromScene(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
mapFromScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapFromScene</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Maps the rectangle <tt>rect</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped rectangle as a polygon.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromScene(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
mapFromScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapFromScene</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</PRE>
<DL>
<DD><p>Maps the point <tt>point</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped coordinate.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapFromScene(double, double)"><!-- --></A><H3>
mapFromScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapFromScene</B>(double&nbsp;x,
                     double&nbsp;y)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapFromScene(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
mapFromScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>mapFromScene</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Maps the path <tt>path</tt>, which is in this item's scene's coordinate system, to this item's coordinate system, and returns the mapped path.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
mapToItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapToItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                  <A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</PRE>
<DL>
<DD><p>Maps the point <tt>point</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped coordinate.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
mapToItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>mapToItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                       <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Maps the path <tt>path</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped path.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><!-- --></A><H3>
mapToItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapToItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                  double&nbsp;x,
                  double&nbsp;y)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>(<tt>item</tt>, <a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double, double, double)"><!-- --></A><H3>
mapToItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                    double&nbsp;x,
                    double&nbsp;y,
                    double&nbsp;w,
                    double&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>(item, <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
mapToItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                    <A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Maps the polygon <tt>polygon</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped polygon.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
mapToItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                    <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Maps the rectangle <tt>rect</tt>, which is in this item's coordinate system, to <tt>item</tt>'s coordinate system, and returns the mapped rectangle as a polygon.</p>
<p>If <tt>item</tt> is 0, this function returns the same as <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromItem(com.trolltech.qt.gui.QGraphicsItemInterface, double, double)"><tt>mapFromItem</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToParent(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
mapToParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToParent</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Maps the rectangle <tt>rect</tt>, 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, <tt>rect</tt> will be mapped to the scene's coordinate system.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToParent(double, double)"><!-- --></A><H3>
mapToParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapToParent</B>(double&nbsp;x,
                    double&nbsp;y)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapToParent(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
mapToParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToParent</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Maps the polygon <tt>polygon</tt>, 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, <tt>polygon</tt> will be mapped to the scene's coordinate system.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToParent(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
mapToParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>mapToParent</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Maps the path <tt>path</tt>, 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, <tt>path</tt> will be mapped to the scene's coordinate system.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToParent(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
mapToParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapToParent</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</PRE>
<DL>
<DD><p>Maps the point <tt>point</tt>, 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, <tt>point</tt> will be mapped to the scene's coordinate system.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromParent(com.trolltech.qt.core.QPointF)"><tt>mapFromParent</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToParent(double, double, double, double)"><!-- --></A><H3>
mapToParent</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToParent</B>(double&nbsp;x,
                      double&nbsp;y,
                      double&nbsp;w,
                      double&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapToScene(double, double)"><!-- --></A><H3>
mapToScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapToScene</B>(double&nbsp;x,
                   double&nbsp;y)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mapToScene(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
mapToScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>mapToScene</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Maps the path <tt>path</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped path.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToScene(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
mapToScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToScene</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Maps the polygon <tt>polygon</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped polygon.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToScene(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
mapToScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToScene</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Maps the rectangle <tt>rect</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped rectangle as a polygon.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToScene(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
mapToScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>mapToScene</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</PRE>
<DL>
<DD><p>Maps the point <tt>point</tt>, which is in this item's coordinate system, to the scene's coordinate system, and returns the mapped coordinate.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mapToItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QRectF)"><tt>mapToItem</tt></a>, 
<a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mapToScene(double, double, double, double)"><!-- --></A><H3>
mapToScene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A> <B>mapToScene</B>(double&nbsp;x,
                     double&nbsp;y,
                     double&nbsp;w,
                     double&nbsp;h)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a>(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="moveBy(double, double)"><!-- --></A><H3>
moveBy</H3>
<PRE>
void <B>moveBy</B>(double&nbsp;dx,
            double&nbsp;dy)</PRE>
<DL>
<DD><p>Moves the item by <tt>dx</tt> points horizontally, and <tt>dy</tt> point vertically. This function is equivalent to calling <a href="QGraphicsItemInterface.html#setPos(double, double)"><tt>setPos</tt></a>(<a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a> + <a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>dx</tt>, <tt>dy</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="parentItem()"><!-- --></A><H3>
parentItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A> <B>parentItem</B>()</PRE>
<DL>
<DD><p>Returns a pointer to this item's parent item. If this item does not have a parent, 0 is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>setParentItem</tt></a>, 
<tt>children</tt></DL>
</DD>
</DL>
<HR>

<A NAME="pos()"><!-- --></A><H3>
pos</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>pos</B>()</PRE>
<DL>
<DD><p>Returns the position of the item in parent coordinates. If the item has no parent, its position is given in scene coordinates.</p>
<p>The position of the item describes its origin (local coordinate (0, 0)) in parent coordinates; this function returns the same as <a href="QGraphicsItemInterface.html#mapToParent(double, double, double, double)"><tt>mapToParent</tt></a>(0, 0).</p>
<p>For convenience, you can also call <a href="QGraphicsItemInterface.html#scenePos()"><tt>scenePos</tt></a> to determine the item's position in scene coordinates, regardless of its parent.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#x()"><tt>x</tt></a>, 
<a href="QGraphicsItemInterface.html#y()"><tt>y</tt></a>, 
<a href="QGraphicsItemInterface.html#setPos(double, double)"><tt>setPos</tt></a>, 
<tt>matrix</tt>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="prepareGeometryChange()"><!-- --></A><H3>
prepareGeometryChange</H3>
<PRE>
void <B>prepareGeometryChange</B>()</PRE>
<DL>
<DD><p>Prepares the item for a geometry change. Call this function before changing the bounding rect of an item to keep <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a>'s index up to date.</p>
<p><a href="QGraphicsItemInterface.html#prepareGeometryChange()"><tt>prepareGeometryChange</tt></a> will call <a href="QGraphicsItemInterface.html#update(double, double, double, double)"><tt>update</tt></a> if this is necessary.</p>
<p>Example:</p>
<pre>    void CircleItem::setRadius(qreal newRadius)
    {
        if (radius != newRadius) {
            prepareGeometryChange();
            radius = newRadius;
        }
    }</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeFromIndex()"><!-- --></A><H3>
removeFromIndex</H3>
<PRE>
void <B>removeFromIndex</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="removeSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
removeSceneEventFilter</H3>
<PRE>
void <B>removeSceneEventFilter</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;filterItem)</PRE>
<DL>
<DD><p>Removes an event filter on this item from <tt>filterItem</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>installSceneEventFilter</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="resetTransform()"><!-- --></A><H3>
resetTransform</H3>
<PRE>
void <B>resetTransform</B>()</PRE>
<DL>
<DD><p>Resets this item's transformation matrix to the identity matrix. This is equivalent to calling <tt>setTransform(QTransform())</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rotate(double)"><!-- --></A><H3>
rotate</H3>
<PRE>
void <B>rotate</B>(double&nbsp;angle)</PRE>
<DL>
<DD><p>Rotates the current item transformation <tt>angle</tt> degrees clockwise.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#scale(double, double)"><tt>scale</tt></a>, 
<a href="QGraphicsItemInterface.html#shear(double, double)"><tt>shear</tt></a>, 
<a href="QGraphicsItemInterface.html#translate(double, double)"><tt>translate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="scale(double, double)"><!-- --></A><H3>
scale</H3>
<PRE>
void <B>scale</B>(double&nbsp;sx,
           double&nbsp;sy)</PRE>
<DL>
<DD><p>Scales the current item transformation by (<tt>sx</tt>, <tt>sy</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#rotate(double)"><tt>rotate</tt></a>, 
<a href="QGraphicsItemInterface.html#shear(double, double)"><tt>shear</tt></a>, 
<a href="QGraphicsItemInterface.html#translate(double, double)"><tt>translate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="scene()"><!-- --></A><H3>
scene</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html" title="class in com.trolltech.qt.gui">QGraphicsScene</A> <B>scene</B>()</PRE>
<DL>
<DD><p>Returns the current scene for the item, or 0 if the item is not stored in a scene.</p>
<p>To add or move an item to a scene, call QGraphicsScene::addItem().</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="sceneBoundingRect()"><!-- --></A><H3>
sceneBoundingRect</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>sceneBoundingRect</B>()</PRE>
<DL>
<DD><p>Returns the bounding rect of this item in scene coordinates, by combining <a href="QGraphicsItemInterface.html#sceneTransform()"><tt>sceneTransform</tt></a> with <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="scenePos()"><!-- --></A><H3>
scenePos</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A> <B>scenePos</B>()</PRE>
<DL>
<DD><p>Returns the item's position in scene coordinates. This is equivalent to calling <tt>mapToScene(0, 0)</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneTransform()"><tt>sceneTransform</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sceneTransform()"><!-- --></A><H3>
sceneTransform</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>sceneTransform</B>()</PRE>
<DL>
<DD><p>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.</p>
<p>Example:</p>
<pre>    QGraphicsRectItem rect;
    rect.setPos(100, 100);

    rect.sceneTransform().map(QPointF(0, 0));
<span class="comment">    // returns QPointF(100, 100);</span>

    rect.sceneTransform().inverted().map(QPointF(100, 100));
<span class="comment">    // returns QPointF(0, 0);</span></pre>
<p>Unlike <a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, which returns only an item's local transformation, this function includes the item's (and any parents') position.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#scenePos()"><tt>scenePos</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAcceptDrops(boolean)"><!-- --></A><H3>
setAcceptDrops</H3>
<PRE>
void <B>setAcceptDrops</B>(boolean&nbsp;on)</PRE>
<DL>
<DD><p>If <tt>on</tt> 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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#acceptDrops()"><tt>acceptDrops</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)"><!-- --></A><H3>
setAcceptedMouseButtons</H3>
<PRE>
void <B>setAcceptedMouseButtons</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A>&nbsp;buttons)</PRE>
<DL>
<DD><p>Sets the mouse <tt>buttons</tt> that this item accepts mouse events for.</p>
<p>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, <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a> will forward the mouse events to the first item beneath it that does.</p>
<p>To disable mouse events for an item (i.e&#x2e;, make it transparent for mouse events), call <a href="QGraphicsItemInterface.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)"><tt>setAcceptedMouseButtons</tt></a>(0).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#acceptedMouseButtons()"><tt>acceptedMouseButtons</tt></a>, 
<a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAcceptsHoverEvents(boolean)"><!-- --></A><H3>
setAcceptsHoverEvents</H3>
<PRE>
void <B>setAcceptsHoverEvents</B>(boolean&nbsp;enabled)</PRE>
<DL>
<DD><p>If <tt>enabled</tt> is true, this item will accept hover events; otherwise, it will ignore them. By default, items do not accept hover events.</p>
<p>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).</p>
<p>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 &quot;hovered&quot; until the cursor leaves its area, including its children's areas.</p>
<p>If a parent item handles child events (<a href="QGraphicsItemInterface.html#setHandlesChildEvents(boolean)"><tt>setHandlesChildEvents</tt></a>), 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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#acceptsHoverEvents()"><tt>acceptsHoverEvents</tt></a>, 
<a href="QGraphicsItemInterface.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverEnterEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverLeaveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCursor(com.trolltech.qt.gui.QCursor)"><!-- --></A><H3>
setCursor</H3>
<PRE>
void <B>setCursor</B>(<A HREF="../../../../com/trolltech/qt/gui/QCursor.html" title="class in com.trolltech.qt.gui">QCursor</A>&nbsp;cursor)</PRE>
<DL>
<DD><p>Sets the current cursor shape for the item to <tt>cursor</tt>. The mouse cursor will assume this shape when it's over this item. See the list of predefined cursor objects</tt> for a range of useful shapes.</p>
<p>An editor item might want to use an I-beam cursor:</p>
<pre>    item-&gt;setCursor(Qt::IBeamCursor);</pre>
<p>If no cursor has been set, the cursor of the item beneath is used.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#cursor()"><tt>cursor</tt></a>, 
<a href="QGraphicsItemInterface.html#hasCursor()"><tt>hasCursor</tt></a>, 
<a href="QGraphicsItemInterface.html#unsetCursor()"><tt>unsetCursor</tt></a>, 
<tt>QWidget::cursor</tt>, 
<tt>QApplication::overrideCursor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setData(int, java.lang.Object)"><!-- --></A><H3>
setData</H3>
<PRE>
void <B>setData</B>(int&nbsp;key,
             java.lang.Object&nbsp;value)</PRE>
<DL>
<DD><p>Sets this item's custom data for the key <tt>key</tt> to <tt>value</tt>.</p>
<p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#data(int)"><tt>data</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEnabled(boolean)"><!-- --></A><H3>
setEnabled</H3>
<PRE>
void <B>setEnabled</B>(boolean&nbsp;enabled)</PRE>
<DL>
<DD><p>If <tt>enabled</tt> is true, the item is enabled; otherwise, it is disabled.</p>
<p>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 <a href="QGraphicsItemInterface.html#acceptedMouseButtons()"><tt>acceptedMouseButtons</tt></a>). 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.</p>
<p>Disabled items are traditionally drawn using grayed-out colors (see <tt>QPalette::Disabled</tt>).</p>
<p>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&#x2e;, if you call <a href="QGraphicsItemInterface.html#setEnabled(boolean)"><tt>setEnabled</tt></a>(false) on a child, it will not be reenabled if its parent is disabled, and then enabled again).</p>
<p>Items are enabled by default.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#isEnabled()"><tt>isEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag, boolean)"><!-- --></A><H3>
setFlag</H3>
<PRE>
void <B>setFlag</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemFlag.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemFlag</A>&nbsp;flag,
             boolean&nbsp;enabled)</PRE>
<DL>
<DD><p>If <tt>enabled</tt> is true, the item flag <tt>flag</tt> is enabled; otherwise, it is disabled.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#flags()"><tt>flags</tt></a>, 
<a href="QGraphicsItemInterface.html#setFlags(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags)"><tt>setFlags</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFlags(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlags)"><!-- --></A><H3>
setFlags</H3>
<PRE>
void <B>setFlags</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemFlags.html" title="class in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemFlags</A>&nbsp;flags)</PRE>
<DL>
<DD><p>Sets the item flags to <tt>flags</tt>. All flags in <tt>flags</tt> are enabled; all flags not in <tt>flags</tt> are disabled.</p>
<p>If the item had focus and <tt>flags</tt> does not enable ItemIsFocusable, the item loses focus as a result of calling this function. Similarly, if the item was selected, and <tt>flags</tt> does not enabled ItemIsSelectable, the item is automatically unselected.</p>
<p>By default, no flags are enabled.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#flags()"><tt>flags</tt></a>, 
<a href="QGraphicsItemInterface.html#setFlag(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemFlag, boolean)"><tt>setFlag</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFocus(com.trolltech.qt.core.Qt.FocusReason)"><!-- --></A><H3>
setFocus</H3>
<PRE>
void <B>setFocus</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.FocusReason.html" title="enum in com.trolltech.qt.core">Qt.FocusReason</A>&nbsp;focusReason)</PRE>
<DL>
<DD><p>Gives keyboard input focus to this item. The <tt>focusReason</tt> 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.</p>
<p>Only items that set the ItemIsFocusable flag can accept keyboard focus.</p>
<p>If this item is not visible (i.e&#x2e;, <a href="QGraphicsItemInterface.html#isVisible()"><tt>isVisible</tt></a> returns false), not enabled, not associated with a scene, or if it already has input focus, this function will do nothing.</p>
<p>As a result of calling this function, this item will receive a focus in event with <tt>focusReason</tt>. If another item already has focus, that item will first receive a focus out event indicating that it has lost input focus.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#clearFocus()"><tt>clearFocus</tt></a>, 
<a href="QGraphicsItemInterface.html#hasFocus()"><tt>hasFocus</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setGroup(com.trolltech.qt.gui.QGraphicsItemGroup)"><!-- --></A><H3>
setGroup</H3>
<PRE>
void <B>setGroup</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A>&nbsp;group)</PRE>
<DL>
<DD><p>Adds this item to the item group <tt>group</tt>. If <tt>group</tt> is 0, this item is removed from any current group and added as a child of the previous group's parent.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#group()"><tt>group</tt></a>, 
<tt>QGraphicsScene::createItemGroup</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setHandlesChildEvents(boolean)"><!-- --></A><H3>
setHandlesChildEvents</H3>
<PRE>
void <B>setHandlesChildEvents</B>(boolean&nbsp;enabled)</PRE>
<DL>
<DD><p>If <tt>enabled</tt> is true, this item is set to handle all events for all its children (i.e&#x2e;, all events intented for any of its children are instead sent to this item); otherwise, if <tt>enabled</tt> is false, this item will only handle its own events. The default value is false.</p>
<p>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.</p>
<p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#handlesChildEvents()"><tt>handlesChildEvents</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setParentItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
setParentItem</H3>
<PRE>
void <B>setParentItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Sets this item's parent item to <tt>parent</tt>. If this item already has a parent, it is first removed from the previous parent. If <tt>parent</tt> is 0, this item will become a top-level item.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#parentItem()"><tt>parentItem</tt></a>, 
<tt>children</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setPos(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
setPos</H3>
<PRE>
void <B>setPos</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;pos)</PRE>
<DL>
<DD><p>Sets the position of the item to <tt>pos</tt>, which is in parent coordinates. For items with no parent, <tt>pos</tt> is in scene coordinates.</p>
<p>The position of the item describes its origin (local coordinate (0, 0)) in parent coordinates.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>, 
<a href="QGraphicsItemInterface.html#scenePos()"><tt>scenePos</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPos(double, double)"><!-- --></A><H3>
setPos</H3>
<PRE>
void <B>setPos</B>(double&nbsp;x,
            double&nbsp;y)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#setPos(double, double)"><tt>setPos</tt></a>(<a href="%2E%2E/core/QPointF.html"><tt>QPointF</tt></a>(<tt>x</tt>, <tt>y</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSelected(boolean)"><!-- --></A><H3>
setSelected</H3>
<PRE>
void <B>setSelected</B>(boolean&nbsp;selected)</PRE>
<DL>
<DD><p>If <tt>selected</tt> is true and this item is selectable, this item is selected; otherwise, it is unselected.</p>
<p>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.</p>
<p>Only visible, enabled, selectable items can be selected. If <tt>selected</tt> is true and this item is either invisible or disabled or unselectable, this function does nothing.</p>
<p>By default, items cannot be selected. To enable selection, set the ItemIsSelectable flag.</p>
<p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#isSelected()"><tt>isSelected</tt></a>, 
<tt>QGraphicsScene::selectedItems</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setToolTip(java.lang.String)"><!-- --></A><H3>
setToolTip</H3>
<PRE>
void <B>setToolTip</B>(java.lang.String&nbsp;toolTip)</PRE>
<DL>
<DD><p>Sets the item's tool tip to <tt>toolTip</tt>. If <tt>toolTip</tt> is empty, the item's tool tip is cleared.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#toolTip()"><tt>toolTip</tt></a>, 
<a href="QToolTip.html"><tt>QToolTip</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setTransform(com.trolltech.qt.gui.QTransform, boolean)"><!-- --></A><H3>
setTransform</H3>
<PRE>
void <B>setTransform</B>(<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A>&nbsp;matrix,
                  boolean&nbsp;combine)</PRE>
<DL>
<DD><p>Sets the item's current transformation matrix to <tt>matrix</tt>.</p>
<p>If <tt>combine</tt> is true, then <tt>matrix</tt> is combined with the current matrix; otherwise, <tt>matrix</tt> <i>replaces</i> the current matrix. <tt>combine</tt> is false by default.</p>
<p>To simplify interation with items using a transformed view, <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> provides mapTo... and mapFrom... functions that can translate between items' and the scene's coordinates. For example, you can call <a href="QGraphicsItemInterface.html#mapToScene(double, double, double, double)"><tt>mapToScene</tt></a> to map an item coordiate to a scene coordinate, or <a href="QGraphicsItemInterface.html#mapFromScene(com.trolltech.qt.gui.QPainterPath)"><tt>mapFromScene</tt></a> to map from scene coordinates to item coordinates.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#rotate(double)"><tt>rotate</tt></a>, 
<a href="QGraphicsItemInterface.html#scale(double, double)"><tt>scale</tt></a>, 
<a href="QGraphicsItemInterface.html#shear(double, double)"><tt>shear</tt></a>, 
<a href="QGraphicsItemInterface.html#translate(double, double)"><tt>translate</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setVisible(boolean)"><!-- --></A><H3>
setVisible</H3>
<PRE>
void <B>setVisible</B>(boolean&nbsp;visible)</PRE>
<DL>
<DD><p>If <tt>visible</tt> 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 <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a>'s item location functions.</p>
<p>If an item becomes invisible while grabbing the mouse, (i.e&#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.</p>
<p>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.</p>
<p>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&#x2e;, if you call <a href="QGraphicsItemInterface.html#setVisible(boolean)"><tt>setVisible</tt></a>(false) on a child, it will not be reshown even if its parent is hidden, and then shown again).</p>
<p>Items are visible by default; it is unnecessary to call <a href="QGraphicsItemInterface.html#setVisible(boolean)"><tt>setVisible</tt></a> on a new item.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#isVisible()"><tt>isVisible</tt></a>, 
<a href="QGraphicsItemInterface.html#show()"><tt>show</tt></a>, 
<a href="QGraphicsItemInterface.html#hide()"><tt>hide</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setZValue(double)"><!-- --></A><H3>
setZValue</H3>
<PRE>
void <B>setZValue</B>(double&nbsp;z)</PRE>
<DL>
<DD><p>Sets the Z-value, or the elevation, of the item, to <tt>z</tt>. 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.</p>
<p align="center"><img src="%2E%2E/images/graphicsview-zorder.png" /></p><p>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&#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.</p>
<p>The Z-value does not affect the item's size in any way.</p>
<p>The default Z-value is 0.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#zValue()"><tt>zValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="shear(double, double)"><!-- --></A><H3>
shear</H3>
<PRE>
void <B>shear</B>(double&nbsp;sh,
           double&nbsp;sv)</PRE>
<DL>
<DD><p>Shears the current item transformation by (<tt>sh</tt>, <tt>sv</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#rotate(double)"><tt>rotate</tt></a>, 
<a href="QGraphicsItemInterface.html#scale(double, double)"><tt>scale</tt></a>, 
<a href="QGraphicsItemInterface.html#translate(double, double)"><tt>translate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="show()"><!-- --></A><H3>
show</H3>
<PRE>
void <B>show</B>()</PRE>
<DL>
<DD><p>Shows the item. (Items are visible by default.)</p>
<p>This convenience function is equivalent to calling <tt>setVisible(true)</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#hide()"><tt>hide</tt></a>, 
<a href="QGraphicsItemInterface.html#setVisible(boolean)"><tt>setVisible</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toolTip()"><!-- --></A><H3>
toolTip</H3>
<PRE>
java.lang.String <B>toolTip</B>()</PRE>
<DL>
<DD><p>Returns the item's tool tip, or an empty <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> if no tool tip has been set.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, 
<a href="QToolTip.html"><tt>QToolTip</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="topLevelItem()"><!-- --></A><H3>
topLevelItem</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A> <B>topLevelItem</B>()</PRE>
<DL>
<DD><p>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&#x2e;, a top-level item is its own top-level item).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#parentItem()"><tt>parentItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="transform()"><!-- --></A><H3>
transform</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QTransform.html" title="class in com.trolltech.qt.gui">QTransform</A> <B>transform</B>()</PRE>
<DL>
<DD><p>Returns this item's transformation matrix. If no matrix has been set, the identity matrix is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneTransform()"><tt>sceneTransform</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="translate(double, double)"><!-- --></A><H3>
translate</H3>
<PRE>
void <B>translate</B>(double&nbsp;dx,
               double&nbsp;dy)</PRE>
<DL>
<DD><p>Translates the current item transformation by (<tt>dx</tt>, <tt>dy</tt>).</p>
<p>If all you want is to move an item, you should call <a href="QGraphicsItemInterface.html#moveBy(double, double)"><tt>moveBy</tt></a> or <a href="QGraphicsItemInterface.html#setPos(double, double)"><tt>setPos</tt></a> instead; this function changes the item's translation, which is conceptually separate from its position.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setTransform(com.trolltech.qt.gui.QTransform, boolean)"><tt>setTransform</tt></a>, 
<a href="QGraphicsItemInterface.html#transform()"><tt>transform</tt></a>, 
<a href="QGraphicsItemInterface.html#rotate(double)"><tt>rotate</tt></a>, 
<a href="QGraphicsItemInterface.html#scale(double, double)"><tt>scale</tt></a>, 
<a href="QGraphicsItemInterface.html#shear(double, double)"><tt>shear</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="unsetCursor()"><!-- --></A><H3>
unsetCursor</H3>
<PRE>
void <B>unsetCursor</B>()</PRE>
<DL>
<DD><p>Clears the cursor from this item.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#hasCursor()"><tt>hasCursor</tt></a>, 
<a href="QGraphicsItemInterface.html#setCursor(com.trolltech.qt.gui.QCursor)"><tt>setCursor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="update(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
update</H3>
<PRE>
void <B>update</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Schedules a redraw of the area covered by <tt>rect</tt> in this item. You can call this function whenever your item needs to be redrawn, such as if it changes appearance or size.</p>
<p>This function does not cause an immediate paint; instead it schedules a paint request that is processed by <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> after control reaches the event loop. The item will only be redrawn if it is visible in any associated view.</p>
<p>As a side effect of the item being repainted, other items that overlap the area <tt>rect</tt> may also be repainted.</p>
<p>If the item is invisible (i.e&#x2e;, <a href="QGraphicsItemInterface.html#isVisible()"><tt>isVisible</tt></a> returns false), this function does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)"><tt>paint</tt></a>, 
<a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="update(double, double, double, double)"><!-- --></A><H3>
update</H3>
<PRE>
void <B>update</B>(double&nbsp;x,
            double&nbsp;y,
            double&nbsp;width,
            double&nbsp;height)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling update(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>width</tt>, <tt>height</tt>)).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="x()"><!-- --></A><H3>
x</H3>
<PRE>
double <B>x</B>()</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>.<a href="QGraphicsItemInterface.html#x()"><tt>x</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#y()"><tt>y</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="y()"><!-- --></A><H3>
y</H3>
<PRE>
double <B>y</B>()</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsItemInterface.html#pos()"><tt>pos</tt></a>.<a href="QGraphicsItemInterface.html#y()"><tt>y</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#x()"><tt>x</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="zValue()"><!-- --></A><H3>
zValue</H3>
<PRE>
double <B>zValue</B>()</PRE>
<DL>
<DD><p>Returns the Z-value, or the elevation, of the item. The Z-value decides the stacking order of sibling (neighboring) items.</p>
<p>The default Z-value is 0.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setZValue(double)"><tt>setZValue</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="advance(int)"><!-- --></A><H3>
advance</H3>
<PRE>
void <B>advance</B>(int&nbsp;phase)</PRE>
<DL>
<DD><p>This virtual function is called twice for all items by the QGraphicsScene::advance() slot. In the first phase, all items are called with <tt>phase</tt> == 0, indicating that items on the scene are about to advance, and then all items are called with <tt>phase</tt> == 1. Reimplement this function to update your item if you need simple scene-controlled animation.</p>
<p>The default implementation does nothing.</p>
<p>For individual item animation, an alternative to this function is to either use <a href="QGraphicsItemAnimation.html"><tt>QGraphicsItemAnimation</tt></a>, or to multiple-inherit from <a href="%2E%2E/core/QObject.html"><tt>QObject</tt></a> and <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a>, and animate your item using QObject::startTimer() and QObject::timerEvent().</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemAnimation.html"><tt>QGraphicsItemAnimation</tt></a>, 
<a href="%2E%2E/core/QTimeLine.html"><tt>QTimeLine</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="boundingRect()"><!-- --></A><H3>
boundingRect</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>boundingRect</B>()</PRE>
<DL>
<DD><p>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. <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> uses this to determine whether the item requires redrawing.</p>
<p>Although the item's shape can be arbitrary, the bounding rect is always rectangular, and it is unaffected by the items' transformation (<a href="QGraphicsItemInterface.html#scale(double, double)"><tt>scale</tt></a>, <a href="QGraphicsItemInterface.html#rotate(double)"><tt>rotate</tt></a>, etc.)&#x2e;</p>
<p>If you want to change the item's bounding rectangle, you must first call <a href="QGraphicsItemInterface.html#prepareGeometryChange()"><tt>prepareGeometryChange</tt></a>. 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).</p>
<p>Reimplement this function to let <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> determine what parts of the widget, if any, need to be redrawn.</p>
<p>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.</p>
<p>Example:</p>
<pre>    QRectF CircleItem::boundingRect() const
    {
        qreal penWidth = 1;
        return QRectF(-radius - penWidth / 2, -radius - penWidth / 2,
                      diameter + penWidth, diameter + penWidth);
    }</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a>, 
<a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a>, 
<a href="%2E%2E/graphicsview.html#the-graphics-view-coordinate-system">The Graphics View Coordinate System</tt></a>, 
<a href="QGraphicsItemInterface.html#prepareGeometryChange()"><tt>prepareGeometryChange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
collidesWithItem</H3>
<PRE>
boolean <B>collidesWithItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;other,
                         <A HREF="../../../../com/trolltech/qt/core/Qt.ItemSelectionMode.html" title="enum in com.trolltech.qt.core">Qt.ItemSelectionMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Returns true if this item collides with <tt>other</tt>; otherwise returns false. The ways items collide is determined by <tt>mode</tt>. The default value for <tt>mode</tt> is Qt::IntersectsItemShape; <tt>other</tt> collides with this item if it either intersect or are contained by this item's shape.</p>
<p>The default implementation is based on shape intersection, and it calls <a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a> 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 <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> 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.</p>
<p>Keep in mind that when reimplementing this function and calling <a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a> or <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a> on <tt>other</tt>, the returned coordinates must be mapped to this item's coordinate system before any intersection can take place.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a>, 
<a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="collidesWithPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
collidesWithPath</H3>
<PRE>
boolean <B>collidesWithPath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path,
                         <A HREF="../../../../com/trolltech/qt/core/Qt.ItemSelectionMode.html" title="enum in com.trolltech.qt.core">Qt.ItemSelectionMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Returns true if this item collides with <tt>path</tt>.</p>
<p>The collision is determined by <tt>mode</tt>. The default value for <tt>mode</tt> is Qt::IntersectsItemShape; <tt>path</tt> collides with this item if it either intersects or is contained by this item's shape.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#collidesWithItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidesWithItem</tt></a>, 
<a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a>, 
<a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
contains</H3>
<PRE>
boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;point)</PRE>
<DL>
<DD><p>Returns true if this item contains <tt>point</tt>, which is in local coordinates; otherwise, false is returned. It is most often called from <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> to determine what item is under the cursor, and for that reason, the implementation of this function should be as light-weight as possible.</p>
<p>By default, this function calls <a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a>, but you can reimplement it in a subclass to provide a (perhaps more efficient) implementation.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a>, 
<a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>, 
<a href="QGraphicsItemInterface.html#collidesWithPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidesWithPath</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)"><!-- --></A><H3>
contextMenuEvent</H3>
<PRE>
void <B>contextMenuEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneContextMenuEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneContextMenuEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler can be reimplemented in a subclass to process context menu events. The <tt>event</tt> parameter contains details about the event to be handled.</p>
<p>If you ignore the event, (i.e&#x2e;, by calling QEvent::ignore(),) <tt>event</tt> 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.</p>
<p>It's common to open a <a href="QMenu.html"><tt>QMenu</tt></a> in response to receiving a context menu event. Example:</p>
<pre>    void CustomItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
    {
        QMenu menu;
        QAction *removeAction = menu.addAction(&quot;Remove&quot;);
        QAction *markAction = menu.addAction(&quot;Mark&quot;);
        QAction *selectedAction = menu.exec(event-&gt;screenPos());
        <span class="comment">// ...</span>
    }</pre>
<p>The default implementation does nothing.</p>
<p><b>Note:</b> Items only receive context menu events if the view they are displayed in is configured to ignore context menu events; i.e&#x2e;, its contextMenuPolicy property is set to Qt::ContextMenuPolicy.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dragEnterEvent</H3>
<PRE>
void <B>dragEnterEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive drag enter events for this item. Drag enter events are generated as the cursor enters the item's area.</p>
<p>By accepting the event, (i.e&#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.</p>
<p>A common implementation of <a href="QGraphicsItemInterface.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragEnterEvent</tt></a> accepts or ignores <tt>event</tt> depending on the associated mime data in <tt>event</tt>. Example:</p>
<pre>    CustomItem::CustomItem()
    {
        setAcceptDrops(true);
        ...
    }

    void CustomItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
    {
        event-&gt;setAccepted(event-&gt;mimeData()-&gt;hasFormat(&quot;text/plain&quot;));
    }</pre>
<p>Items do not receive drag and drop events by default; to enable this feature, call <tt>setAcceptDrops(true)</tt>.</p>
<p>The default implementation does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dropEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragLeaveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dragLeaveEvent</H3>
<PRE>
void <B>dragLeaveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, 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&#x2e;, highlighting).</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<p>Items do not receive drag and drop events by default; to enable this feature, call <tt>setAcceptDrops(true)</tt>.</p>
<p>The default implementation does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragEnterEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dropEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragMoveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dragMoveEvent</H3>
<PRE>
void <B>dragMoveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, 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.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> toggles whether or not the item will accept drops at the position from the event. By default, <tt>event</tt> is accepted, indicating that the item allows drops at the specified position.</p>
<p>Items do not receive drag and drop events by default; to enable this feature, call <tt>setAcceptDrops(true)</tt>.</p>
<p>The default implementation does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dropEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragEnterEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragLeaveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dropEvent</H3>
<PRE>
void <B>dropEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneDragDropEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneDragDropEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive drop events for this item. Items can only receive drop events if the last drag move event was accepted.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<p>Items do not receive drag and drop events by default; to enable this feature, call <tt>setAcceptDrops(true)</tt>.</p>
<p>The default implementation does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragEnterEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragLeaveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="extension(java.lang.Object)"><!-- --></A><H3>
extension</H3>
<PRE>
java.lang.Object <B>extension</B>(java.lang.Object&nbsp;variant)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension, java.lang.Object)"><tt>setExtension</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><!-- --></A><H3>
focusInEvent</H3>
<PRE>
void <B>focusInEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive focus in events for this item. The default implementation does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><!-- --></A><H3>
focusOutEvent</H3>
<PRE>
void <B>focusOutEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QFocusEvent.html" title="class in com.trolltech.qt.gui">QFocusEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive focus out events for this item. The default implementation does nothing.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><!-- --></A><H3>
hoverEnterEvent</H3>
<PRE>
void <B>hoverEnterEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHoverEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHoverEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive hover enter events for this item. The default implementation calls <a href="QGraphicsItemInterface.html#update(double, double, double, double)"><tt>update</tt></a>; otherwise it does nothing.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverLeaveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#setAcceptsHoverEvents(boolean)"><tt>setAcceptsHoverEvents</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><!-- --></A><H3>
hoverLeaveEvent</H3>
<PRE>
void <B>hoverLeaveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHoverEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHoverEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive hover leave events for this item. The default implementation calls <a href="QGraphicsItemInterface.html#update(double, double, double, double)"><tt>update</tt></a>; otherwise it does nothing.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverEnterEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#setAcceptsHoverEvents(boolean)"><tt>setAcceptsHoverEvents</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><!-- --></A><H3>
hoverMoveEvent</H3>
<PRE>
void <B>hoverMoveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHoverEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHoverEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive hover move events for this item. The default implementation does nothing.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverEnterEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverLeaveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#setAcceptsHoverEvents(boolean)"><tt>setAcceptsHoverEvents</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)"><!-- --></A><H3>
inputMethodEvent</H3>
<PRE>
void <B>inputMethodEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QInputMethodEvent.html" title="class in com.trolltech.qt.gui">QInputMethodEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive input method events for this item. The default implementation ignores the event.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery)"><tt>inputMethodQuery</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery)"><!-- --></A><H3>
inputMethodQuery</H3>
<PRE>
java.lang.Object <B>inputMethodQuery</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.InputMethodQuery.html" title="enum in com.trolltech.qt.core">Qt.InputMethodQuery</A>&nbsp;query)</PRE>
<DL>
<DD><p>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. <tt>query</tt> specifies which property is queried.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)"><tt>inputMethodEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
isObscuredBy</H3>
<PRE>
boolean <B>isObscuredBy</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item)</PRE>
<DL>
<DD><p>Returns true if this item's bounding rect is completely obscured by the opaque shape of <tt>item</tt>.</p>
<p>The base implementation maps <tt>item</tt>'s <a href="QGraphicsItemInterface.html#opaqueArea()"><tt>opaqueArea</tt></a> to this item's coordinate system, and then checks if this item's <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a> is fully contained within the mapped shape.</p>
<p>You can reimplement this function to provide a custom algorithm for determining whether this item is obscured by <tt>item</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#opaqueArea()"><tt>opaqueArea</tt></a>, 
<a href="QGraphicsItemInterface.html#isObscured(com.trolltech.qt.core.QRectF)"><tt>isObscured</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="itemChange(com.trolltech.qt.gui.QGraphicsItem.GraphicsItemChange, java.lang.Object)"><!-- --></A><H3>
itemChange</H3>
<PRE>
java.lang.Object <B>itemChange</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemChange.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemChange</A>&nbsp;change,
                            java.lang.Object&nbsp;value)</PRE>
<DL>
<DD><p>This virtual function is called by <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> 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 <tt>change</tt>,) adjustments can be made.</p>
<p><tt>change</tt> is the parameter of the item that is changing. <tt>value</tt> is the new value; the type of the value depends on <tt>change</tt>.</p>
<p>Example:</p>
<pre>    QVariant Component::itemChange(GraphicsItemChange change, const QVariant &amp;value)
    {
        if (change == ItemPositionChange &amp;&amp; scene()) {
            <span class="comment">// value is the new position.</span>
            QPointF newPos = value.toPointF();
            QRectF rect = scene()-&gt;sceneRect();
            if (!rect.contains(newPos)) {
                <span class="comment">// Keep the item inside the scene rect.</span>
                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);
    }</pre>
<p>The default implementation does nothing, and returns <tt>value</tt>.</p>
<p>Note: Certain <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> functions cannot be called in a reimplementation of this function; see the GraphicsItemChange documentation for details.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>GraphicsItemChange</tt></DL>
</DD>
</DL>
<HR>

<A NAME="keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><!-- --></A><H3>
keyPressEvent</H3>
<PRE>
void <B>keyPressEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, 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.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<p>Note that key events are only received for items that set the ItemIsFocusable flag, and that have keyboard input focus.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a>, 
<tt>QGraphicsScene::setFocusItem</tt>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><!-- --></A><H3>
keyReleaseEvent</H3>
<PRE>
void <B>keyReleaseEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QKeyEvent.html" title="class in com.trolltech.qt.gui">QKeyEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, 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.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<p>Note that key events are only received for items that set the ItemIsFocusable flag, and that have keyboard input focus.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a>, 
<tt>QGraphicsScene::setFocusItem</tt>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mouseDoubleClickEvent</H3>
<PRE>
void <B>mouseDoubleClickEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive mouse doubleclick events for this item.</p>
<p>When doubleclicking an item, the item will first receive a mouse press event, followed by a release event (i.e&#x2e;, a click), then a doubleclick event, and finally a release event.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<p>The default implementation calls <a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>. If you want to keep the base implementation when reimplementing this function, call QGraphicsItem::mouseDoubleClickEvent() in your reimplementation.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mouseMoveEvent</H3>
<PRE>
void <B>mouseMoveEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, 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.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mousePressEvent</H3>
<PRE>
void <B>mousePressEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, 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 <a href="QGraphicsItemInterface.html#setAcceptedMouseButtons(com.trolltech.qt.core.Qt.MouseButtons)"><tt>setAcceptedMouseButtons</tt></a>.</p>
<p>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.</p>
<p>If you do reimplement this function, <tt>event</tt> 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 <tt>event</tt>, this item will lose the mouse grab, and <tt>event</tt> 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.</p>
<p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mouseReleaseEvent</H3>
<PRE>
void <B>mouseReleaseEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneMouseEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneMouseEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive mouse release events for this item.</p>
<p>Calling QEvent::ignore() or QEvent::accept() on <tt>event</tt> has no effect.</p>
<p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="opaqueArea()"><!-- --></A><H3>
opaqueArea</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>opaqueArea</B>()</PRE>
<DL>
<DD><p>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&#x2e;, not transparent).</p>
<p>This function is used by <a href="QGraphicsItemInterface.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>isObscuredBy</tt></a>, which is called by underlying items to determine if they are obscured by this item.</p>
<p>The default implementation returns an empty <a href="QPainterPath.html"><tt>QPainterPath</tt></a>, indicating that this item is completely transparent and does not obscure any other items.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>isObscuredBy</tt></a>, 
<a href="QGraphicsItemInterface.html#isObscured(com.trolltech.qt.core.QRectF)"><tt>isObscured</tt></a>, 
<a href="QGraphicsItemInterface.html#shape()"><tt>shape</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
paint</H3>
<PRE>
void <B>paint</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
           <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionGraphicsItem.html" title="class in com.trolltech.qt.gui">QStyleOptionGraphicsItem</A>&nbsp;option,
           <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>This function, which is usually called by <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>, paints the contents of an item in local coordinates.</p>
<p>Reimplement this function in a <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> subclass to provide the item's painting implementation, using <tt>painter</tt>. The <tt>option</tt> parameter provides style options for the item, such as its state, exposed area and its level-of-detail hints. The <tt>widget</tt> argument is optional. If provided, it points to the widget that is being painted on; otherwise, it is 0.</p>
<pre>    void RoundRectItem::paint(QPainter *painter,
                              const QStyleOptionGraphicsItem *option,
                              QWidget *widget)
    {
        painter-&gt;drawRoundRect(-10, -10, 20, 20);
    }</pre>
<p>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.</p>
<p>All painting is done in local coordinates.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="sceneEvent(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
sceneEvent</H3>
<PRE>
boolean <B>sceneEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This virtual function receives events to this item. Reimplement this function to intercept events before they are dispatched to the specialized event handlers <a href="QGraphicsItemInterface.html#contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)"><tt>contextMenuEvent</tt></a>, <a href="QGraphicsItemInterface.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, <a href="QGraphicsItemInterface.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a>, <a href="QGraphicsItemInterface.html#hoverEnterEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverEnterEvent</tt></a>, <a href="QGraphicsItemInterface.html#hoverMoveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverMoveEvent</tt></a>, <a href="QGraphicsItemInterface.html#hoverLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneHoverEvent)"><tt>hoverLeaveEvent</tt></a>, <a href="QGraphicsItemInterface.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, <a href="QGraphicsItemInterface.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, <a href="QGraphicsItemInterface.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>, <a href="QGraphicsItemInterface.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseReleaseEvent</tt></a>, <a href="QGraphicsItemInterface.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseMoveEvent</tt></a>, and <a href="QGraphicsItemInterface.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>.</p>
<p>Returns true if the event was recognized and handled; otherwise, (e.g&#x2e;, if the event type was not recognized,) false is returned.</p>
<p><tt>event</tt> is the intercepted event.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="sceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
sceneEventFilter</H3>
<PRE>
boolean <B>sceneEventFilter</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;watched,
                         <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>Filters events for the item <tt>watched</tt>. <tt>event</tt> is the filtered event.</p>
<p>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.</p>
<p>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.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#installSceneEventFilter(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>installSceneEventFilter</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension, java.lang.Object)"><!-- --></A><H3>
setExtension</H3>
<PRE>
void <B>setExtension</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.Extension.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.Extension</A>&nbsp;extension,
                  java.lang.Object&nbsp;variant)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#extension(java.lang.Object)"><tt>extension</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="shape()"><!-- --></A><H3>
shape</H3>
<PRE>
<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>shape</B>()</PRE>
<DL>
<DD><p>Returns the shape of this item as a <a href="QPainterPath.html"><tt>QPainterPath</tt></a> in local coordinates. The shape is used for many things, including collision detection, hit tests, and for the QGraphicsScene::items() functions.</p>
<p>The default implementation calls <a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a> 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:</p>
<pre>    QPainterPath RoundItem::shape() const
    {
        QPainterPath path;
        path.addEllipse(boundingRect());
        return path;
    }</pre>
<p>This function is called by the default implementations of <a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a> and <a href="QGraphicsItemInterface.html#collidesWithPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidesWithPath</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#boundingRect()"><tt>boundingRect</tt></a>, 
<a href="QGraphicsItemInterface.html#contains(com.trolltech.qt.core.QPointF)"><tt>contains</tt></a>, 
<a href="QGraphicsItemInterface.html#prepareGeometryChange()"><tt>prepareGeometryChange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="supportsExtension(com.trolltech.qt.gui.QGraphicsItem.Extension)"><!-- --></A><H3>
supportsExtension</H3>
<PRE>
boolean <B>supportsExtension</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItem.Extension.html" title="enum in com.trolltech.qt.gui">QGraphicsItem.Extension</A>&nbsp;extension)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="type()"><!-- --></A><H3>
type</H3>
<PRE>
int <B>type</B>()</PRE>
<DL>
<DD><p>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.</p>
<p>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).</p>
<p>The default implementation (in <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a>) returns UserType.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="wheelEvent(com.trolltech.qt.gui.QGraphicsSceneWheelEvent)"><!-- --></A><H3>
wheelEvent</H3>
<PRE>
void <B>wheelEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneWheelEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneWheelEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented to receive wheel events for this item. If you reimplement this function, <tt>event</tt> will be accepted by default.</p>
<p>If you ignore the event, (i.e&#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&#x2e;, the view's vertical scroll bar).</p>
<p>The default implementation ignores the event.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItemInterface.html#sceneEvent(com.trolltech.qt.core.QEvent)"><tt>sceneEvent</tt></a></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.enum_1.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QGraphicsItemInterface.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QGraphicsItemInterface.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>