Sophie

Sophie

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

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:45 CEST 2007 -->
<TITLE>
QGraphicsScene
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QGraphicsScene class">

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QGraphicsScene";
}
</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/QGraphicsRectItem.enum_1.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.ItemIndexMethod.html" title="enum 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/QGraphicsScene.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QGraphicsScene.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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>
Class QGraphicsScene</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QGraphicsScene</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QGraphicsScene</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></DL>
</PRE>

<P>
<p>The <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> class provides a surface for managing a large number of 2D graphical items.</p>
<p>The class serves as a container for QGraphicsItems. It is used together with <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> for visualizing graphical items, such as lines, rectangles, text, or even custom items, on a 2D surface. <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> is part of <a href="%2E%2E/graphicsview.html">The Graphics View Framework</tt></a>.</p>
<p><a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> also provides functionality that lets you efficiently determine both the location of items, and for determining what items are visible within an arbitrary area on the scene. With the <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> widget, you can either visualize the whole scene, or zoom in and view only parts of the scene.</p>
<p>Example:</p>
<pre>    QGraphicsScene scene;
    scene.addText(&quot;Hello, world!&quot;);

    QGraphicsView view(&amp;scene);
    view.show();</pre>
<p>Note that <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> has no visual appearance of its own; it only manages the items. You need to create a <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> widget to visualize the scene.</p>
<p>To add items to a scene, you start off by constructing a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> object. Then, you have two options: either add your existing <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> objects by calling <a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a>, or you can call one of the convenience functions <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, <a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, <a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>, <a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, <a href="QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPolygon</tt></a>, <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, or <a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>, which all return a pointer to the newly added item. You can then visualize the scene using <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>. When the scene changes, (e.g&#x2e;, when an item moves or is transformed) <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> emits the <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> signal. To remove an item, call <a href="QGraphicsScene.html#removeItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>removeItem</tt></a>.</p>
<p><a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> uses an indexing algorithm to manage the location of items efficiently. By default, a BSP (Binary Space Partitioning) tree is used; an algorithm suitable for large scenes where most items remain static (i.e&#x2e;, do not move around). You can choose to disable this index by calling <a href="QGraphicsScene.html#setItemIndexMethod(com.trolltech.qt.gui.QGraphicsScene.ItemIndexMethod)"><tt>setItemIndexMethod</tt></a>. For more information about the available indexing algorithms, see the <a href="QGraphicsScene.html#itemIndexMethod()"><tt>itemIndexMethod</tt></a> property.</p>
<p>The scene's bounding rect is set by calling <a href="QGraphicsScene.html#setSceneRect(com.trolltech.qt.core.QRectF)"><tt>setSceneRect</tt></a>. Items can be placed at any position on the scene, and the size of the scene is by default unlimited. The scene rect is used only for internal bookkeeping, maintaining the scene's item index. If the scene rect is unset, <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will use the bounding area of all items, as returned by <a href="QGraphicsScene.html#itemsBoundingRect()"><tt>itemsBoundingRect</tt></a>, as the scene rect. However, <a href="QGraphicsScene.html#itemsBoundingRect()"><tt>itemsBoundingRect</tt></a> is a relatively time consuming function, as it operates by collecting positional information for every item on the scene. Because of this, you should always set the scene rect when operating on large scenes.</p>
<p>One of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s greatest strengths is its ability to efficiently determine the location of items. Even with millions of items on the scene, the <a href="QGraphicsScene.html#items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>items</tt></a> functions can determine the location of an item within few milliseconds. There are several overloads to <a href="QGraphicsScene.html#items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>items</tt></a>: one that finds items at a certain position, one that finds items inside or intersecting with a polygon or a rectangle, and more. The list of returned items is sorted by stacking order, with the topmost item being the first item in the list. For convenience, there is also an <a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a> function that returns the topmost item at a given position.</p>
<p><a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> maintains selection information for the scene. To select items, call <a href="QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><tt>setSelectionArea</tt></a>, and to clear the current selection, call <a href="QGraphicsScene.html#clearSelection()"><tt>clearSelection</tt></a>. Call <a href="QGraphicsScene.html#selectedItems()"><tt>selectedItems</tt></a> to get the list of all selected items.</p>
<a name="event-handling-and-propagation"></a>
<h3>Event Handling and Propagation</h3>
<p>Another responsibility that <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> has, is to propagate events from <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a>. To send an event to a scene, you construct an event that inherits <a href="%2E%2E/core/QEvent.html"><tt>QEvent</tt></a>, and then send it using, for example, QApplication::sendEvent(). <a href="QGraphicsScene.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a> is responsible for dispatching the event to the individual items. Some common events are handled by convenience event handlers. For example, key press events are handled by <a href="QGraphicsScene.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, and mouse press events are handled by <a href="QGraphicsScene.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>.</p>
<p>Key events are delivered to the <i>focus item</i>. To set the focus item, you can either call <a href="QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocusItem</tt></a>, passing an item that accepts focus, or the item itself can call QGraphicsItem::setFocus(). Call <a href="QGraphicsScene.html#focusItem()"><tt>focusItem</tt></a> to get the current focus item. For compatibility with widgets, the scene also maintains its own focus information. By default, the scene does not have focus, and all key events are discarded. If <a href="QGraphicsScene.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a> is called, or if an item on the scene gains focus, the scene automatically gains focus. If the scene has focus, <a href="QGraphicsScene.html#hasFocus()"><tt>hasFocus</tt></a> will return true, and key events will be forwarded to the focus item, if any. If the scene loses focus, (i.e&#x2e;, someone calls <a href="QGraphicsScene.html#clearFocus()"><tt>clearFocus</tt></a>,) while an item has focus, the scene will maintain its item focus information, and once the scene regains focus, it will make sure the last focus item regains focus.</p>
<p>For mouse-over effects, <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> dispatches <i>hover events</i>. If an item accepts hover events (see QGraphicsItem::acceptsHoverEvents()), it will receive a GraphicsSceneHoverEnter event when the mouse enters its area. As the mouse continues moving inside the item's area, <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will send it GraphicsSceneHoverMove events. When the mouse leaves the item's area, the item will receive a GraphicsSceneHoverLeave event.</p>
<p>All mouse events are delivered to the current <i>mouse grabber</i> item. An item becomes the scene's mouse grabber if it accepts mouse events (see QGraphicsItem::acceptedMouseButtons()) and it receives a mouse press. It stays the mouse grabber until it receives a mouse release when no other mouse buttons are pressed. You can call <a href="QGraphicsScene.html#mouseGrabberItem()"><tt>mouseGrabberItem</tt></a> to determine what item is currently grabbing the mouse.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a>, 
<a href="QGraphicsView.html"><tt>QGraphicsView</tt></a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.ItemIndexMethod.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.ItemIndexMethod</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the indexing algorithms <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> provides for managing positional information about items on the scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayer.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.SceneLayer</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the rendering layers in a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayers.html" title="class in com.trolltech.qt.gui">QGraphicsScene.SceneLayers</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This QFlag class provides flags for the int enum.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_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>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#changed">changed</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#sceneRectChanged">sceneRectChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted by <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> whenever the scene rect changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#selectionChanged">selectionChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted by <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> whenever the selection changes.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#QGraphicsScene()">QGraphicsScene</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>(0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#QGraphicsScene(double, double, double, double)">QGraphicsScene</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;Equivalent to <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>width</tt>, <tt>height</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#QGraphicsScene(double, double, double, double, com.trolltech.qt.core.QObject)">QGraphicsScene</A></B>(double&nbsp;x,
               double&nbsp;y,
               double&nbsp;width,
               double&nbsp;height,
               <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> object, using the rectangle specified by (<tt>x</tt>, <tt>y</tt>), and the given <tt>width</tt> and <tt>height</tt> for its scene rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QObject)">QGraphicsScene</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF)">QGraphicsScene</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sceneRect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>(<tt>sceneRect</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)">QGraphicsScene</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sceneRect,
               <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> object, using <tt>sceneRect</tt> for its scene rectangle.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addEllipse(double, double, double, double)">addEllipse</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;Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, QPen(), QBrush()).</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/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen)">addEllipse</A></B>(double&nbsp;x,
           double&nbsp;y,
           double&nbsp;w,
           double&nbsp;h,
           <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>pen</tt>, QBrush()).</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/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)">addEllipse</A></B>(double&nbsp;x,
           double&nbsp;y,
           double&nbsp;w,
           double&nbsp;h,
           <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
           <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</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>pen</tt>, <tt>brush</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/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addEllipse(com.trolltech.qt.core.QRectF)">addEllipse</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;Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>rect</tt>, QPen(), QBrush()).</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/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addEllipse(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen)">addEllipse</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
           <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>rect</tt>, <tt>pen</tt>, QBrush()).</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/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addEllipse(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)">addEllipse</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
           <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
           <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds an ellipse item to the scene, and returns the item pointer.</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/QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)">addItem</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;Adds or moves the item <tt>item</tt> and all its childen to the 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/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addLine(double, double, double, double)">addLine</A></B>(double&nbsp;x1,
        double&nbsp;y1,
        double&nbsp;x2,
        double&nbsp;y2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>(<tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt>, <tt>y2</tt>, QPen()).</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/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)">addLine</A></B>(double&nbsp;x1,
        double&nbsp;y1,
        double&nbsp;x2,
        double&nbsp;y2,
        <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>(<a href="QLineF.html"><tt>QLineF</tt></a>(<tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt>, <tt>y2</tt>), <tt>pen</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/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addLine(com.trolltech.qt.gui.QLineF)">addLine</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&nbsp;line)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>(<tt>line</tt>, QPen()).</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/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addLine(com.trolltech.qt.gui.QLineF, com.trolltech.qt.gui.QPen)">addLine</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&nbsp;line,
        <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds a line item to the scene, and returns the item pointer.</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/QGraphicsPathItem.html" title="class in com.trolltech.qt.gui">QGraphicsPathItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath)">addPath</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;Equivalent to <a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>(<tt>path</tt>, QPen(), QBrush()).</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/QGraphicsPathItem.html" title="class in com.trolltech.qt.gui">QGraphicsPathItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen)">addPath</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/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>(<tt>path</tt>, <tt>pen</tt>, QBrush()).</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/QGraphicsPathItem.html" title="class in com.trolltech.qt.gui">QGraphicsPathItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)">addPath</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/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
        <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds a path item to the scene, and returns the item pointer.</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/QGraphicsPixmapItem.html" title="class in com.trolltech.qt.gui">QGraphicsPixmapItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)">addPixmap</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds a pixmap item to the scene, and returns the item pointer.</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/QGraphicsPolygonItem.html" title="class in com.trolltech.qt.gui">QGraphicsPolygonItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF)">addPolygon</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;Equivalent to <a href="QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPolygon</tt></a>(<tt>polygon</tt>, QPen(), QBrush()).</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/QGraphicsPolygonItem.html" title="class in com.trolltech.qt.gui">QGraphicsPolygonItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen)">addPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
           <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPolygon</tt></a>(<tt>polygon</tt>, <tt>pen</tt>, QBrush()).</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/QGraphicsPolygonItem.html" title="class in com.trolltech.qt.gui">QGraphicsPolygonItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)">addPolygon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
           <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
           <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds a polygon item to the scene, and returns the item pointer.</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/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addRect(double, double, double, double)">addRect</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;Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, QPen(), QBrush()).</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/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen)">addRect</A></B>(double&nbsp;x,
        double&nbsp;y,
        double&nbsp;w,
        double&nbsp;h,
        <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>pen</tt>, QBrush()).</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/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)">addRect</A></B>(double&nbsp;x,
        double&nbsp;y,
        double&nbsp;w,
        double&nbsp;h,
        <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
        <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</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>pen</tt>, <tt>brush</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/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addRect(com.trolltech.qt.core.QRectF)">addRect</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;Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>rect</tt>, QPen(), QBrush()).</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/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen)">addRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
        <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>rect</tt>, <tt>pen</tt>, QBrush()).</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/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)">addRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
        <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
        <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds a rectangle item to the scene, and returns the item pointer.</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/QGraphicsSimpleTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsSimpleTextItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addSimpleText(java.lang.String)">addSimpleText</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addSimpleText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addSimpleText</tt></a>(<tt>text</tt>, QFont()).</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/QGraphicsSimpleTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsSimpleTextItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addSimpleText(java.lang.String, com.trolltech.qt.gui.QFont)">addSimpleText</A></B>(java.lang.String&nbsp;text,
              <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds a <a href="QGraphicsSimpleTextItem.html"><tt>QGraphicsSimpleTextItem</tt></a> to the scene, and returns the item pointer.</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/QGraphicsTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsTextItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addText(java.lang.String)">addText</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>(<tt>text</tt>, QFont()).</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/QGraphicsTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsTextItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)">addText</A></B>(java.lang.String&nbsp;text,
        <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and adds a text item to the scene, and returns the item pointer.</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/QGraphicsScene.html#advance()">advance</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This slot <i>advances</i> the scene by one step, by calling QGraphicsItem::advance() for all items on the 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/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#backgroundBrush()">backgroundBrush</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the background brush of the scene..</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/QGraphicsScene.html#bspTreeDepth()">bspTreeDepth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the depth of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s BSP index tree.</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/QGraphicsScene.html#clearFocus()">clearFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears focus from the scene.</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/QGraphicsScene.html#clearSelection()">clearSelection</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the current selection.</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/QGraphicsScene.html#collidingItems(com.trolltech.qt.gui.QGraphicsItemInterface)">collidingItems</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 a list of all items that collide with <tt>item</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/QGraphicsScene.html#collidingItems(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)">collidingItems</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/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 <tt>item</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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, for event <tt>event</tt>, can be reimplemented in a subclass to receive 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/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#createItemGroup(java.util.List)">createItemGroup</A></B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt;&nbsp;items)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups all items in <tt>items</tt> into a new <a href="QGraphicsItemGroup.html"><tt>QGraphicsItemGroup</tt></a>, and returns a pointer to the group.</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/QGraphicsScene.html#destroyItemGroup(com.trolltech.qt.gui.QGraphicsItemGroup)">destroyItemGroup</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;Reparents all items in <tt>group</tt> to <tt>group</tt>'s parent item, then removes <tt>group</tt> from the scene, and finally deletes it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive drag enter events for the scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive drag leave events for the scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive drag move events for the scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)">drawBackground</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/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;Draws the background of the scene using <tt>painter</tt>, before any items and the foreground are drawn.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#drawForeground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)">drawForeground</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/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;Draws the foreground of the scene using <tt>painter</tt>, after the background and all items have been drawn.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[])">drawItems</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/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>[]&nbsp;items,
          <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionGraphicsItem.html" title="class in com.trolltech.qt.gui">QStyleOptionGraphicsItem</A>[]&nbsp;options)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)"><tt>drawItems</tt></a>(<tt>painter</tt>, <tt>items</tt>, <tt>options</tt>, , 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)">drawItems</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/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>[]&nbsp;items,
          <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionGraphicsItem.html" title="class in com.trolltech.qt.gui">QStyleOptionGraphicsItem</A>[]&nbsp;options,
          <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;Equivalent to <a href="QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)"><tt>drawItems</tt></a>(<tt>painter</tt>, <tt>items</tt>, <tt>options</tt>, <tt>widget</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive drop events for the scene.</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/QGraphicsScene.html#event(com.trolltech.qt.core.QEvent)">event</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;Processes the event <tt>event</tt>, and dispatches it to the respective event handlers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive focus in 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/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#focusItem()">focusItem</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the scene's current focus item, or 0 if no item currently has focus.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive focus out 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/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#foregroundBrush()">foregroundBrush</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the foreground brush of the scene..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&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/QGraphicsScene.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QGraphicsScene instance pointed to by nativePointer</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/QGraphicsScene.html#hasFocus()">hasFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the scene has focus; otherwise returns false.</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/QGraphicsScene.html#height()">height</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <tt>sceneRect().height()</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#helpEvent(com.trolltech.qt.gui.QGraphicsSceneHelpEvent)">helpEvent</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHelpEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHelpEvent</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 in a subclass to receive help events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive input method events for the scene.</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/QGraphicsScene.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 used by input methods to query a set of properties of the scene to be able to support complex input method operations as support for surrounding text and reconversions.</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/QGraphicsScene.html#invalidate()">invalidate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</tt></a>(QRectF(), AllLayers).</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/QGraphicsScene.html#invalidate(double, double, double, double)">invalidate</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;Equivalent to <a href="QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, AllLayers).</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/QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayer...)">invalidate</A></B>(double&nbsp;x,
           double&nbsp;y,
           double&nbsp;w,
           double&nbsp;h,
           <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayer.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.SceneLayer</A>...&nbsp;layers)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling invalidate(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), <tt>layers</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/QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</A></B>(double&nbsp;x,
           double&nbsp;y,
           double&nbsp;w,
           double&nbsp;h,
           <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayers.html" title="class in com.trolltech.qt.gui">QGraphicsScene.SceneLayers</A>&nbsp;layers)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling invalidate(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), <tt>layers</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/QGraphicsScene.html#invalidate(com.trolltech.qt.core.QRectF)">invalidate</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;Equivalent to <a href="QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</tt></a>(<tt>rect</tt>, AllLayers).</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/QGraphicsScene.html#invalidate(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QGraphicsScene.SceneLayer...)">invalidate</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
           <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayer.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.SceneLayer</A>...&nbsp;layers)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invalidates and schedules a redraw of the <tt>layers</tt> in <tt>rect</tt> on the scene.</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/QGraphicsScene.html#invalidate(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
           <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayers.html" title="class in com.trolltech.qt.gui">QGraphicsScene.SceneLayers</A>&nbsp;layers)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invalidates and schedules a redraw of the <tt>layers</tt> in <tt>rect</tt> on the 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/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#itemAt(double, double)">itemAt</A></B>(double&nbsp;x,
       double&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the topmost item at the position specified by (<tt>x</tt>, <tt>y</tt>), or 0 if there are no items at this position.</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/QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)">itemAt</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;Returns the topmost visible item at the specified <tt>pos</tt>, or 0 if there are no items at this position.</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.ItemIndexMethod.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.ItemIndexMethod</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#itemIndexMethod()">itemIndexMethod</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the item indexing method..</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/QGraphicsScene.html#items()">items</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all items on the scene, in no particular order.</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/QGraphicsScene.html#items(double, double, double, double)">items</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 items(QRectF(<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;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/QGraphicsScene.html#items(double, double, double, double, com.trolltech.qt.core.Qt.ItemSelectionMode)">items</A></B>(double&nbsp;x,
      double&nbsp;y,
      double&nbsp;w,
      double&nbsp;h,
      <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;This convenience function is equivalent to calling items(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), <tt>mode</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/QGraphicsScene.html#items(com.trolltech.qt.gui.QPainterPath)">items</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;Returns all visible items that are either inside or
intersect with the path <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/QGraphicsScene.html#items(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)">items</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 all visible items that, depending on <tt>path</tt>, are either inside or intersect with the path <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/QGraphicsScene.html#items(com.trolltech.qt.core.QPointF)">items</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;Returns all visible items at position <tt>pos</tt> in the scene.</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/QGraphicsScene.html#items(com.trolltech.qt.gui.QPolygonF)">items</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;Returns all visible items that are either inside or
intersect with the polygon <tt>polygon</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/QGraphicsScene.html#items(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.core.Qt.ItemSelectionMode)">items</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
      <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 all visible items that, depending on <tt>mode</tt>, are either inside or intersect with the polygon <tt>polygon</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/QGraphicsScene.html#items(com.trolltech.qt.core.QRectF)">items</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 all visible items that are either inside or intersect with the
specified <tt>rectangle</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/QGraphicsScene.html#items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)">items</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
      <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 all visible items that, depending on <tt>mode</tt>, are either inside or intersect with the specified <tt>rect</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/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#itemsBoundingRect()">itemsBoundingRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates and returns the bounding rect of all items on the scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive keypress events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive key release events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive mouse doubleclick events for the 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/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#mouseGrabberItem()">mouseGrabberItem</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current mouse grabber item, or 0 if no item is currently grabbing the mouse.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive mouse move events for the scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive mouse press events for the scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive mouse release events for the scene.</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/QGraphicsScene.html#removeItem(com.trolltech.qt.gui.QGraphicsItemInterface)">removeItem</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;Removes the item <tt>item</tt> and all its children from the scene.</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/QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter)">render</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)">render</tt></a>(<tt>painter</tt>, QRectF(), QRectF(), Qt::KeepAspectRatio).</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/QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)">render</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;target)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)">render</tt></a>(<tt>painter</tt>, <tt>target</tt>, QRectF(), Qt::KeepAspectRatio).</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/QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF)">render</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;target,
       <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;source)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)">render</tt></a>(<tt>painter</tt>, <tt>target</tt>, <tt>source</tt>, Qt::KeepAspectRatio).</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/QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)">render</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;target,
       <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;source,
       <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectRatioMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the <tt>source</tt> rect from scene into <tt>target</tt>, using <tt>painter</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/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#sceneRect()">sceneRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the scene rectangle; the bounding rectangle of the scene.</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/QGraphicsScene.html#selectedItems()">selectedItems</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all currently selected items.</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/QGraphicsScene.html#selectionArea()">selectionArea</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the selection area that was previously set with <a href="QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><tt>setSelectionArea</tt></a>, or an empty <a href="QPainterPath.html"><tt>QPainterPath</tt></a> if no selection area has been set.</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/QGraphicsScene.html#setBackgroundBrush(com.trolltech.qt.gui.QBrush)">setBackgroundBrush</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background brush of the scene.</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/QGraphicsScene.html#setBspTreeDepth(int)">setBspTreeDepth</A></B>(int&nbsp;depth)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the depth of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s BSP index tree to <tt>depth</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/QGraphicsScene.html#setFocus()">setFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a>(Qt::OtherFocusReason).</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/QGraphicsScene.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;Sets focus on the scene by sending a <a href="QFocusEvent.html"><tt>QFocusEvent</tt></a> to the scene, passing <tt>focusReason</tt> as the reason.</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/QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface)">setFocusItem</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;Equivalent to <a href="QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocusItem</tt></a>(<tt>item</tt>, Qt::OtherFocusReason).</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/QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)">setFocusItem</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/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;Sets the scene's focus item to <tt>item</tt>, with the focus reason <tt>focusReason</tt>, after removing focus from any previous item that may have had focus.</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/QGraphicsScene.html#setForegroundBrush(com.trolltech.qt.gui.QBrush)">setForegroundBrush</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the foreground brush of the scene.</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/QGraphicsScene.html#setItemIndexMethod(com.trolltech.qt.gui.QGraphicsScene.ItemIndexMethod)">setItemIndexMethod</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.ItemIndexMethod.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.ItemIndexMethod</A>&nbsp;method)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the item indexing method.</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/QGraphicsScene.html#setSceneRect(double, double, double, double)">setSceneRect</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;Sets the scene rectangle; the bounding rectangle of the scene.</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/QGraphicsScene.html#setSceneRect(com.trolltech.qt.core.QRectF)">setSceneRect</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;Sets the scene rectangle; the bounding rectangle of the scene to <tt>rect</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/QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)">setSelectionArea</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;Sets the selection area to <tt>path</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/QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)">setSelectionArea</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;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the selection area to <tt>path</tt> using <tt>arg__2</tt> to determine if items are included in the selection area.</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/QGraphicsScene.html#update()">update</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGraphicsScene.html#update(double, double, double, double)">update</tt></a>(QRectF()).</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/QGraphicsScene.html#update(double, double, double, double)">update</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 update(<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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 <tt>rect</tt> on the scene.</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/QGraphicsView.html" title="class in com.trolltech.qt.gui">QGraphicsView</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html#views()">views</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all the views that display this scene.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.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 in a subclass to receive mouse wheel events for the scene.</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/QGraphicsScene.html#width()">width</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This convenience function is equivalent to calling <a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a>.<a href="QGraphicsScene.html#width()"><tt>width</tt></a>.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></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>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="changed"><!-- --></A><H3>
changed</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&gt;&gt; <B>changed</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="sceneRectChanged"><!-- --></A><H3>
sceneRectChanged</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&gt; <B>sceneRectChanged</B></PRE>
<DL>
<DD><p>This signal is emitted by <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> whenever the scene rect changes. The <tt>rect</tt> parameter is the new scene rectangle.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.core.QRectF rect)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QGraphicsView::updateSceneRect</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="selectionChanged"><!-- --></A><H3>
selectionChanged</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A> <B>selectionChanged</B></PRE>
<DL>
<DD><p>This signal is emitted by <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> whenever the selection changes. You can call <a href="QGraphicsScene.html#selectedItems()"><tt>selectedItems</tt></a> to get the new list of selected items.</p>
<p>The selection changes whenever an item is selected or unselected, a selection area is set, cleared or otherwise changed, if a preselected item is added to the scene, or if a selected item is removed from the scene.</p>
<p><a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> emits this signal only once for group selection operations. For example, if you set a selection area, select or unselect a <a href="QGraphicsItemGroup.html"><tt>QGraphicsItemGroup</tt></a>, or if you add or remove from the scene a parent item that contains several selected items, <a href="QGraphicsScene.html#selectionChanged()"><tt>selectionChanged</tt></a> is emitted only once after the operation has completed (instead of once for each item).</p>
<dl>
<dt><b>Compatible Slot Signature:</b></dt>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><a href="QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><tt>setSelectionArea</tt></a>, <a href="QGraphicsScene.html#selectedItems()"><tt>selectedItems</tt></a>, <tt>QGraphicsItem::setSelected</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QGraphicsScene(double, double, double, double)"><!-- --></A><H3>
QGraphicsScene</H3>
<PRE>
public <B>QGraphicsScene</B>(double&nbsp;x,
                      double&nbsp;y,
                      double&nbsp;width,
                      double&nbsp;height)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>width</tt>, <tt>height</tt>, 0).
<P>
</DL>
<HR>

<A NAME="QGraphicsScene(double, double, double, double, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QGraphicsScene</H3>
<PRE>
public <B>QGraphicsScene</B>(double&nbsp;x,
                      double&nbsp;y,
                      double&nbsp;width,
                      double&nbsp;height,
                      <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> object, using the rectangle specified by (<tt>x</tt>, <tt>y</tt>), and the given <tt>width</tt> and <tt>height</tt> for its scene rectangle. The <tt>parent</tt> parameter is passed to <a href="%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a></DL>
</DL>
<HR>

<A NAME="QGraphicsScene()"><!-- --></A><H3>
QGraphicsScene</H3>
<PRE>
public <B>QGraphicsScene</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>(0).
<P>
</DL>
<HR>

<A NAME="QGraphicsScene(com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QGraphicsScene</H3>
<PRE>
public <B>QGraphicsScene</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> object. The <tt>parent</tt> parameter is passed to <a href="%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor.</p>
<P>
</DL>
<HR>

<A NAME="QGraphicsScene(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
QGraphicsScene</H3>
<PRE>
public <B>QGraphicsScene</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sceneRect)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>(<tt>sceneRect</tt>, 0).
<P>
</DL>
<HR>

<A NAME="QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QGraphicsScene</H3>
<PRE>
public <B>QGraphicsScene</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;sceneRect,
                      <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> object, using <tt>sceneRect</tt> for its scene rectangle. The <tt>parent</tt> parameter is passed to <a href="%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a></DL>
</DL>

<!-- ============ 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="addEllipse(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addEllipse</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A> <B>addEllipse</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                             <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>rect</tt>, <tt>pen</tt>, QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addEllipse(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
addEllipse</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A> <B>addEllipse</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>rect</tt>, QPen(), QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addEllipse(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
addEllipse</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A> <B>addEllipse</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                             <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
                                             <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Creates and adds an ellipse item to the scene, and returns the item pointer. The geometry of the ellipse is defined by <tt>rect</tt>, and it's pen and brush are initialized to <tt>pen</tt> and <tt>brush</tt>.</p>
<p>Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addEllipse</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A> <B>addEllipse</B>(double&nbsp;x,
                                             double&nbsp;y,
                                             double&nbsp;w,
                                             double&nbsp;h,
                                             <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>pen</tt>, QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addEllipse(double, double, double, double)"><!-- --></A><H3>
addEllipse</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A> <B>addEllipse</B>(double&nbsp;x,
                                             double&nbsp;y,
                                             double&nbsp;w,
                                             double&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, QPen(), QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
addEllipse</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsEllipseItem.html" title="class in com.trolltech.qt.gui">QGraphicsEllipseItem</A> <B>addEllipse</B>(double&nbsp;x,
                                             double&nbsp;y,
                                             double&nbsp;w,
                                             double&nbsp;h,
                                             <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
                                             <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</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>pen</tt>, <tt>brush</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
addItem</H3>
<PRE>
public final void <B>addItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item)</PRE>
<DL>
<DD><p>Adds or moves the item <tt>item</tt> and all its childen to the scene.</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<p>If the item is already in a different scene, it will first be removed from its old scene, and then added to this scene as a top-level.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#removeItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>removeItem</tt></a>, 
<a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addLine(com.trolltech.qt.gui.QLineF)"><!-- --></A><H3>
addLine</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A> <B>addLine</B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&nbsp;line)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>(<tt>line</tt>, QPen()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addLine(com.trolltech.qt.gui.QLineF, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addLine</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A> <B>addLine</B>(<A HREF="../../../../com/trolltech/qt/gui/QLineF.html" title="class in com.trolltech.qt.gui">QLineF</A>&nbsp;line,
                                       <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Creates and adds a line item to the scene, and returns the item pointer. The geometry of the line is defined by <tt>line</tt>, and it's pen is initialized to <tt>pen</tt>.</p>
<p>Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addLine(double, double, double, double)"><!-- --></A><H3>
addLine</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A> <B>addLine</B>(double&nbsp;x1,
                                       double&nbsp;y1,
                                       double&nbsp;x2,
                                       double&nbsp;y2)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>(<tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt>, <tt>y2</tt>, QPen()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addLine</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsLineItem.html" title="class in com.trolltech.qt.gui">QGraphicsLineItem</A> <B>addLine</B>(double&nbsp;x1,
                                       double&nbsp;y1,
                                       double&nbsp;x2,
                                       double&nbsp;y2,
                                       <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>(<a href="QLineF.html"><tt>QLineF</tt></a>(<tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt>, <tt>y2</tt>), <tt>pen</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addPath</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPathItem.html" title="class in com.trolltech.qt.gui">QGraphicsPathItem</A> <B>addPath</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/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>(<tt>path</tt>, <tt>pen</tt>, QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addPath(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
addPath</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPathItem.html" title="class in com.trolltech.qt.gui">QGraphicsPathItem</A> <B>addPath</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>(<tt>path</tt>, QPen(), QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
addPath</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPathItem.html" title="class in com.trolltech.qt.gui">QGraphicsPathItem</A> <B>addPath</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/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
                                       <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Creates and adds a path item to the scene, and returns the item pointer. The geometry of the path is defined by <tt>path</tt>, and it's pen and brush are initialized to <tt>pen</tt> and <tt>brush</tt>.</p>
<p>Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addPixmap(com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
addPixmap</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPixmapItem.html" title="class in com.trolltech.qt.gui">QGraphicsPixmapItem</A> <B>addPixmap</B>(<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</PRE>
<DL>
<DD><p>Creates and adds a pixmap item to the scene, and returns the item pointer. The pixmap is defined by <tt>pixmap</tt>.</p>
<p>Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addPolygon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPolygonItem.html" title="class in com.trolltech.qt.gui">QGraphicsPolygonItem</A> <B>addPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
                                             <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPolygon</tt></a>(<tt>polygon</tt>, <tt>pen</tt>, QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addPolygon(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
addPolygon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPolygonItem.html" title="class in com.trolltech.qt.gui">QGraphicsPolygonItem</A> <B>addPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPolygon</tt></a>(<tt>polygon</tt>, QPen(), QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addPolygon(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
addPolygon</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsPolygonItem.html" title="class in com.trolltech.qt.gui">QGraphicsPolygonItem</A> <B>addPolygon</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
                                             <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
                                             <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Creates and adds a polygon item to the scene, and returns the item pointer. The polygon is defined by <tt>polygon</tt>, and it's pen and brush are initialized to <tt>pen</tt> and <tt>brush</tt>.</p>
<p>Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPath(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addPath</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A> <B>addRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                       <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>rect</tt>, <tt>pen</tt>, QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addRect(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
addRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A> <B>addRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>rect</tt>, QPen(), QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addRect(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
addRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A> <B>addRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                       <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
                                       <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Creates and adds a rectangle item to the scene, and returns the item pointer. The geometry of the rectangle is defined by <tt>rect</tt>, and it's pen and brush are initialized to <tt>pen</tt> and <tt>brush</tt>.</p>
<p>Note that the item's geometry is provided in item coordinates, and its position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addRect(double, double, double, double, com.trolltech.qt.gui.QPen)"><!-- --></A><H3>
addRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A> <B>addRect</B>(double&nbsp;x,
                                       double&nbsp;y,
                                       double&nbsp;w,
                                       double&nbsp;h,
                                       <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, <tt>pen</tt>, QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addRect(double, double, double, double)"><!-- --></A><H3>
addRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A> <B>addRect</B>(double&nbsp;x,
                                       double&nbsp;y,
                                       double&nbsp;w,
                                       double&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, QPen(), QBrush()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
addRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsRectItem.html" title="class in com.trolltech.qt.gui">QGraphicsRectItem</A> <B>addRect</B>(double&nbsp;x,
                                       double&nbsp;y,
                                       double&nbsp;w,
                                       double&nbsp;h,
                                       <A HREF="../../../../com/trolltech/qt/gui/QPen.html" title="class in com.trolltech.qt.gui">QPen</A>&nbsp;pen,
                                       <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</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>pen</tt>, <tt>brush</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addSimpleText(java.lang.String)"><!-- --></A><H3>
addSimpleText</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsSimpleTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsSimpleTextItem</A> <B>addSimpleText</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addSimpleText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addSimpleText</tt></a>(<tt>text</tt>, QFont()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addSimpleText(java.lang.String, com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
addSimpleText</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsSimpleTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsSimpleTextItem</A> <B>addSimpleText</B>(java.lang.String&nbsp;text,
                                                   <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</PRE>
<DL>
<DD><p>Creates and adds a <a href="QGraphicsSimpleTextItem.html"><tt>QGraphicsSimpleTextItem</tt></a> to the scene, and returns the item pointer. The text string is initialized to <tt>text</tt>, and it's font is initialized to <tt>font</tt>.</p>
<p>The item's position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addText(java.lang.String)"><!-- --></A><H3>
addText</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsTextItem</A> <B>addText</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#addText(java.lang.String, com.trolltech.qt.gui.QFont)"><tt>addText</tt></a>(<tt>text</tt>, QFont()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addText(java.lang.String, com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
addText</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsTextItem.html" title="class in com.trolltech.qt.gui">QGraphicsTextItem</A> <B>addText</B>(java.lang.String&nbsp;text,
                                       <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</PRE>
<DL>
<DD><p>Creates and adds a text item to the scene, and returns the item pointer. The text string is initialized to <tt>text</tt>, and it's font is initialized to <tt>font</tt>.</p>
<p>The item's position is initialized to (0, 0).</p>
<p>If the item is visible (i.e&#x2e;, QGraphicsItem::isVisible() returns true), <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will emit <a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a> once control goes back to the event loop.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addEllipse(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addEllipse</tt></a>, 
<a href="QGraphicsScene.html#addLine(double, double, double, double, com.trolltech.qt.gui.QPen)"><tt>addLine</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addPixmap(com.trolltech.qt.gui.QPixmap)"><tt>addPixmap</tt></a>, 
<a href="QGraphicsScene.html#addRect(double, double, double, double, com.trolltech.qt.gui.QPen, com.trolltech.qt.gui.QBrush)"><tt>addRect</tt></a>, 
<a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="advance()"><!-- --></A><H3>
advance</H3>
<PRE>
public final void <B>advance</B>()</PRE>
<DL>
<DD><p>This slot <i>advances</i> the scene by one step, by calling QGraphicsItem::advance() for all items on the scene. This is done in two phases: in the first phase, all items are notified that the scene is about to change, and in the second phase all items are notified that they can move. In the first phase, QGraphicsItem::advance() is called passing a value of 0 as an argument, and 1 is passed in the second phase.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::advance</tt>, 
<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="backgroundBrush()"><!-- --></A><H3>
backgroundBrush</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> <B>backgroundBrush</B>()</PRE>
<DL>
<DD><p>Returns the background brush of the scene..</p>
<p>Set this property to changes the scene's background to a different color, gradient or texture. The default background brush is Qt::NoBrush. The background is drawn before (behind) the items.</p>
<p>Example:</p>
<pre>    QGraphicsScene scene;
    QGraphicsView view(&amp;scene);
    view.show();

<span class="comment">    // a blue background</span>
    scene.setBackgroundBrush(Qt::blue);

<span class="comment">    // a gradient background</span>
    QRadialGradient gradient(0, 0, 10);
    gradient.setSpread(QGradient::RepeatSpread);
    scene.setBackgroundBrush(gradient);</pre>
<p>QGraphicsScene::render() calls <a href="QGraphicsScene.html#drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawBackground</tt></a> to draw the scene background. For more detailed control over how the background is drawn, you can reimplement <a href="QGraphicsScene.html#drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawBackground</tt></a> in a subclass of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setBackgroundBrush(com.trolltech.qt.gui.QBrush)"><tt>setBackgroundBrush</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="bspTreeDepth()"><!-- --></A><H3>
bspTreeDepth</H3>
<PRE>
public final int <B>bspTreeDepth</B>()</PRE>
<DL>
<DD><p>Returns the depth of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s BSP index tree.</p>
<p>This property has no effect when <a href="QGraphicsScene.html#ItemIndexMethod-enum"><tt>NoIndex</tt></a> is used.</p>
<p>This value determines the depth of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s BSP tree. The depth directly affects <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s performance and memory usage; the latter growing exponentially with the depth of the tree. With an optimal tree depth, <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> can instantly determine the locality of items, even for scenes with thousands or millions of items. This also greatly improves rendering performance.</p>
<p>By default, the value is 0, in which case Qt will guess a reasonable default depth based on the size, location and number of items in the scene. If these parameters change frequently, however, you may experience slowdowns as <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> retunes the depth internally. You can avoid potential slowdowns by fixating the tree depth through setting this property.</p>
<p>The depth of the tree and the size of the scene rectangle decide the granularity of the scene's partitioning. The size of each scene segment is determined by the following algorithm:</p>
<pre>    QSizeF segmentSize = sceneRect().size() / pow(2, depth - 1);</pre>
<p>The BSP tree has an optimal size when each segment contains between 0 and 10 items.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setBspTreeDepth(int)"><tt>setBspTreeDepth</tt></a>, 
<a href="QGraphicsScene.html#itemIndexMethod()"><tt>itemIndexMethod</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clearFocus()"><!-- --></A><H3>
clearFocus</H3>
<PRE>
public final void <B>clearFocus</B>()</PRE>
<DL>
<DD><p>Clears focus from the scene. If any item has focus when this function is called, it will lose focus, and regain focus again once the scene regains focus.</p>
<p>A scene that does not have focus ignores key events.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#hasFocus()"><tt>hasFocus</tt></a>, 
<a href="QGraphicsScene.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a>, 
<a href="QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocusItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clearSelection()"><!-- --></A><H3>
clearSelection</H3>
<PRE>
public final void <B>clearSelection</B>()</PRE>
<DL>
<DD><p>Clears the current selection.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><tt>setSelectionArea</tt></a>, 
<a href="QGraphicsScene.html#selectedItems()"><tt>selectedItems</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="collidingItems(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
collidingItems</H3>
<PRE>
public final 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/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item)</PRE>
<DL>
<DD>Returns a list of all items that collide with <tt>item</tt>. Collisions are
determined by calling QGraphicsItem.collidesWithItem(); the collision
detection is determined by \a mode. By default, all items whose shape
intersects \a item or is contained inside \a item's shape are returned.
<p>
The items are returned in descending Z order (i.e., the first item in the
list is the top-most item, and the last item is the bottom-most item).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="collidingItems(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
collidingItems</H3>
<PRE>
public final 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/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item,
                                                                   <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 <tt>item</tt>. Collisions are determined by calling QGraphicsItem::collidesWithItem(); the collision detection is determined by <tt>mode</tt>. By default, all items whose shape intersects <tt>item</tt> or is contained inside <tt>item</tt>'s shape are returned.</p>
<p>The items are returned in descending Z order (i.e&#x2e;, the first item in the list is the top-most item, and the last item is the bottom-most item).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>items</tt></a>, 
<a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a>, 
<tt>QGraphicsItem::collidesWithItem</tt></DL>
</DD>
</DL>
<HR>

<A NAME="createItemGroup(java.util.List)"><!-- --></A><H3>
createItemGroup</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A> <B>createItemGroup</B>(java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt;&nbsp;items)</PRE>
<DL>
<DD><p>Groups all items in <tt>items</tt> into a new <a href="QGraphicsItemGroup.html"><tt>QGraphicsItemGroup</tt></a>, and returns a pointer to the group. The group is created with the common ancestor of <tt>items</tt> as its parent, and with position (0, 0). The items are all reparented to the group, and their positions and transformations are mapped to the group. If <tt>items</tt> is empty, this function will return an empty top-level <a href="QGraphicsItemGroup.html"><tt>QGraphicsItemGroup</tt></a>.</p>
<p><a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> has ownership of the group item; you do not need to delete it. To dismantle (ungroup) a group, call <a href="QGraphicsScene.html#destroyItemGroup(com.trolltech.qt.gui.QGraphicsItemGroup)"><tt>destroyItemGroup</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#destroyItemGroup(com.trolltech.qt.gui.QGraphicsItemGroup)"><tt>destroyItemGroup</tt></a>, 
<tt>QGraphicsItemGroup::addToGroup</tt></DL>
</DD>
</DL>
<HR>

<A NAME="destroyItemGroup(com.trolltech.qt.gui.QGraphicsItemGroup)"><!-- --></A><H3>
destroyItemGroup</H3>
<PRE>
public final void <B>destroyItemGroup</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemGroup.html" title="class in com.trolltech.qt.gui">QGraphicsItemGroup</A>&nbsp;group)</PRE>
<DL>
<DD><p>Reparents all items in <tt>group</tt> to <tt>group</tt>'s parent item, then removes <tt>group</tt> from the scene, and finally deletes it. The items' positions and transformations are mapped from the group to the group's parent.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#createItemGroup(java.util.List<com.trolltech.qt.gui.QGraphicsItemInterface>)"><tt>createItemGroup</tt></a>, 
<tt>QGraphicsItemGroup::removeFromGroup</tt></DL>
</DD>
</DL>
<HR>

<A NAME="focusItem()"><!-- --></A><H3>
focusItem</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A> <B>focusItem</B>()</PRE>
<DL>
<DD><p>Returns the scene's current focus item, or 0 if no item currently has focus.</p>
<p>The focus item receives keyboard input when the scene receives a key event.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocusItem</tt></a>, 
<tt>QGraphicsItem::hasFocus</tt></DL>
</DD>
</DL>
<HR>

<A NAME="foregroundBrush()"><!-- --></A><H3>
foregroundBrush</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> <B>foregroundBrush</B>()</PRE>
<DL>
<DD><p>Returns the foreground brush of the scene..</p>
<p>Change this property to set the scene's foreground to a different color, gradient or texture.</p>
<p>The foreground is drawn after (on top of) the items. The default foreground brush is Qt::NoBrush ( i.e&#x2e; the foreground is not drawn).</p>
<p>Example:</p>
<pre>    QGraphicsScene scene;
    QGraphicsView view(&amp;scene);
    view.show();

<span class="comment">    // a white semi-transparent foreground</span>
    scene.setForegroundBrush(QColor(255, 255, 255, 127));

<span class="comment">    // a grid foreground</span>
    scene.setForegroundBrush(QBrush(Qt::lightGray, Qt::CrossPattern));</pre>
<p>QGraphicsScene::render() calls <a href="QGraphicsScene.html#drawForeground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawForeground</tt></a> to draw the scene foreground. For more detailed control over how the foreground is drawn, you can reimplement the <a href="QGraphicsScene.html#drawForeground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawForeground</tt></a> function in a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> subclass.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setForegroundBrush(com.trolltech.qt.gui.QBrush)"><tt>setForegroundBrush</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasFocus()"><!-- --></A><H3>
hasFocus</H3>
<PRE>
public final boolean <B>hasFocus</B>()</PRE>
<DL>
<DD><p>Returns true if the scene has focus; otherwise returns false. If the scene has focus, it will will forward key events from <a href="QKeyEvent.html"><tt>QKeyEvent</tt></a> to any item that has focus.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a>, 
<a href="QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocusItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public final double <B>height</B>()</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <tt>sceneRect().height()</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#width()"><tt>width</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="invalidate(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QGraphicsScene.SceneLayer...)"><!-- --></A><H3>
invalidate</H3>
<PRE>
public final void <B>invalidate</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                             <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayer.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.SceneLayer</A>...&nbsp;layers)</PRE>
<DL>
<DD><p>Invalidates and schedules a redraw of the <tt>layers</tt> in <tt>rect</tt> on the scene. Any cached content in <tt>layers</tt> is unconditionally invalidated and redrawn.</p>
<p>You can use this function overload to notify <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> of changes to the background or the foreground of the scene. This function is commonly used for scenes with tile-based backgrounds to notify changes when <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> has enabled CacheBackground.</p>
<p>Example:</p>
<pre>    QRectF TileScene::rectForTile(int x, int y) const
    {
        <span class="comment">// Return the rectangle for the tile at position (x, y).</span>
        return QRectF(x * tileWidth, y * tileHeight, tileWidth, tileHeight);
    }

    void TileScene::setTile(int x, int y, const QPixmap &amp;pixmap)
    {
        <span class="comment">// Sets or replaces the tile at position (x, y) with pixmap.</span>
        if (x &gt;= 0 &amp;&amp; x &lt; numTilesH &amp;&amp; y &gt;= 0 &amp;&amp; y &lt; numTilesV) {
            tiles[y][x] = pixmap;
            invalidate(rectForTile(x, y), BackgroundLayer);
        }
    }

    void TileScene::drawBackground(QPainter *painter, const QRectF &amp;exposed)
    {
        <span class="comment">// Draws all tiles that intersect the exposed area.</span>
        for (int y = 0; y &lt; numTilesV; ++y) {
            for (int x = 0; x &lt; numTilesH; ++x) {
                QRectF rect = rectForTile(x, y);
                if (exposed.intersects(rect))
                    painter-&gt;drawPixmap(rect.topLeft(), tiles[y][x]);
            }
        }
    }</pre>
<p>Note that <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> currently supports background caching only (see QGraphicsView::CachedBackground). This function is equivalent to calling <a href="QGraphicsScene.html#update(double, double, double, double)"><tt>update</tt></a> if any layer but <a href="QGraphicsScene.html#SceneLayer-enum"><tt>BackgroundLayer</tt></a> is passed.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsView::resetCachedContent</tt></DL>
</DD>
</DL>
<HR>

<A NAME="invalidate(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
invalidate</H3>
<PRE>
public final void <B>invalidate</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</tt></a>(<tt>rect</tt>, AllLayers).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="invalidate()"><!-- --></A><H3>
invalidate</H3>
<PRE>
public final void <B>invalidate</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</tt></a>(QRectF(), AllLayers).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="invalidate(com.trolltech.qt.core.QRectF, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)"><!-- --></A><H3>
invalidate</H3>
<PRE>
public final void <B>invalidate</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                             <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayers.html" title="class in com.trolltech.qt.gui">QGraphicsScene.SceneLayers</A>&nbsp;layers)</PRE>
<DL>
<DD><p>Invalidates and schedules a redraw of the <tt>layers</tt> in <tt>rect</tt> on the scene. Any cached content in <tt>layers</tt> is unconditionally invalidated and redrawn.</p>
<p>You can use this function overload to notify <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> of changes to the background or the foreground of the scene. This function is commonly used for scenes with tile-based backgrounds to notify changes when <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> has enabled CacheBackground.</p>
<p>Example:</p>
<pre>    QRectF TileScene::rectForTile(int x, int y) const
    {
        <span class="comment">// Return the rectangle for the tile at position (x, y).</span>
        return QRectF(x * tileWidth, y * tileHeight, tileWidth, tileHeight);
    }

    void TileScene::setTile(int x, int y, const QPixmap &amp;pixmap)
    {
        <span class="comment">// Sets or replaces the tile at position (x, y) with pixmap.</span>
        if (x &gt;= 0 &amp;&amp; x &lt; numTilesH &amp;&amp; y &gt;= 0 &amp;&amp; y &lt; numTilesV) {
            tiles[y][x] = pixmap;
            invalidate(rectForTile(x, y), BackgroundLayer);
        }
    }

    void TileScene::drawBackground(QPainter *painter, const QRectF &amp;exposed)
    {
        <span class="comment">// Draws all tiles that intersect the exposed area.</span>
        for (int y = 0; y &lt; numTilesV; ++y) {
            for (int x = 0; x &lt; numTilesH; ++x) {
                QRectF rect = rectForTile(x, y);
                if (exposed.intersects(rect))
                    painter-&gt;drawPixmap(rect.topLeft(), tiles[y][x]);
            }
        }
    }</pre>
<p>Note that <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> currently supports background caching only (see QGraphicsView::CachedBackground). This function is equivalent to calling <a href="QGraphicsScene.html#update(double, double, double, double)"><tt>update</tt></a> if any layer but <a href="QGraphicsScene.html#SceneLayer-enum"><tt>BackgroundLayer</tt></a> is passed.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsView::resetCachedContent</tt></DL>
</DD>
</DL>
<HR>

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

<A NAME="invalidate(double, double, double, double)"><!-- --></A><H3>
invalidate</H3>
<PRE>
public final void <B>invalidate</B>(double&nbsp;x,
                             double&nbsp;y,
                             double&nbsp;w,
                             double&nbsp;h)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#invalidate(double, double, double, double, com.trolltech.qt.gui.QGraphicsScene.SceneLayers)">invalidate</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>, AllLayers).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

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

<A NAME="itemAt(double, double)"><!-- --></A><H3>
itemAt</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A> <B>itemAt</B>(double&nbsp;x,
                                           double&nbsp;y)</PRE>
<DL>
<DD><p>Returns the topmost item at the position specified by (<tt>x</tt>, <tt>y</tt>), or 0 if there are no items at this position.</p>
<p>This convenience function is equivalent to calling <tt>itemAt(QPointF(x, y))</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="itemAt(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
itemAt</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A> <B>itemAt</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;pos)</PRE>
<DL>
<DD><p>Returns the topmost visible item at the specified <tt>pos</tt>, or 0 if there are no items at this position.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>items</tt></a>, 
<a href="QGraphicsScene.html#collidingItems(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>collidingItems</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="itemIndexMethod()"><!-- --></A><H3>
itemIndexMethod</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.ItemIndexMethod.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.ItemIndexMethod</A> <B>itemIndexMethod</B>()</PRE>
<DL>
<DD><p>Returns the item indexing method..</p>
<p><a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> applies an indexing algorithm to the scene, to speed up item discovery functions like <a href="QGraphicsScene.html#items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>items</tt></a> and <a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a>. Indexing is most efficient for static scenes (i.e&#x2e;, where items don't move around). For dynamic scenes, or scenes with many animated items, the index bookkeeping can outweight the fast lookup speeds.</p>
<p>For the common case, the default index method <a href="QGraphicsScene.html#ItemIndexMethod-enum"><tt>BspTreeIndex</tt></a> works fine. If your scene uses many animations and you are experiencing slowness, you can disable indexing by calling <tt>setItemIndexMethod(NoIndex)</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setItemIndexMethod(com.trolltech.qt.gui.QGraphicsScene.ItemIndexMethod)"><tt>setItemIndexMethod</tt></a>, 
<a href="QGraphicsScene.html#bspTreeDepth()"><tt>bspTreeDepth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="items(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD>Returns all visible items that are either inside or
intersect with the path <tt>path</tt>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="items(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</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 all visible items that, depending on <tt>path</tt>, are either inside or intersect with the path <tt>path</tt>.</p>
<p>The default value for <tt>mode</tt> is Qt::IntersectsItemShape; all items whose exact shape intersects with or is contained by <tt>path</tt> are returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="items()"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>()</PRE>
<DL>
<DD><p>Returns a list of all items on the scene, in no particular order.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a>, 
<a href="QGraphicsScene.html#removeItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>removeItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="items(com.trolltech.qt.core.QPointF)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(<A HREF="../../../../com/trolltech/qt/core/QPointF.html" title="class in com.trolltech.qt.core">QPointF</A>&nbsp;pos)</PRE>
<DL>
<DD><p>Returns all visible items at position <tt>pos</tt> in the scene. The items are listed in descending Z order (i.e&#x2e;, the first item in the list is the top-most item, and the last item is the bottom-most item).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="items(com.trolltech.qt.gui.QPolygonF)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon)</PRE>
<DL>
<DD>Returns all visible items that are either inside or
intersect with the polygon <tt>polygon</tt>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="items(com.trolltech.qt.gui.QPolygonF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(<A HREF="../../../../com/trolltech/qt/gui/QPolygonF.html" title="class in com.trolltech.qt.gui">QPolygonF</A>&nbsp;polygon,
                                                          <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 all visible items that, depending on <tt>mode</tt>, are either inside or intersect with the polygon <tt>polygon</tt>.</p>
<p>The default value for <tt>mode</tt> is Qt::IntersectsItemShape; all items whose exact shape intersects with or is contained by <tt>polygon</tt> are returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="items(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD>Returns all visible items that are either inside or intersect with the
specified <tt>rectangle</tt>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect,
                                                          <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 all visible items that, depending on <tt>mode</tt>, are either inside or intersect with the specified <tt>rect</tt>.</p>
<p>The default value for <tt>mode</tt> is Qt::IntersectsItemShape; all items whose exact shape intersects with or is contained by <tt>rect</tt> are returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="items(double, double, double, double)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(double&nbsp;x,
                                                          double&nbsp;y,
                                                          double&nbsp;w,
                                                          double&nbsp;h)</PRE>
<DL>
<DD>This convenience function is equivalent to calling items(QRectF(<tt>x</tt>,
<tt>y</tt>, <tt>w</tt>, <tt>h</tt>).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="items(double, double, double, double, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
items</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>items</B>(double&nbsp;x,
                                                          double&nbsp;y,
                                                          double&nbsp;w,
                                                          double&nbsp;h,
                                                          <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>This convenience function is equivalent to calling items(<a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>(<tt>x</tt>, <tt>y</tt>, <tt>w</tt>, <tt>h</tt>), <tt>mode</tt>).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="itemsBoundingRect()"><!-- --></A><H3>
itemsBoundingRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>itemsBoundingRect</B>()</PRE>
<DL>
<DD><p>Calculates and returns the bounding rect of all items on the scene. This function works by iterating over all items, and because if this, it can be slow for large scenes.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseGrabberItem()"><!-- --></A><H3>
mouseGrabberItem</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A> <B>mouseGrabberItem</B>()</PRE>
<DL>
<DD><p>Returns the current mouse grabber item, or 0 if no item is currently grabbing the mouse. The mouse grabber item is the item that receives all mouse events sent to the scene.</p>
<p>An item becomes a mouse grabber when it receives and accepts a mouse press event, and it stays the mouse grabber until either of the following events occur:</p>
<ul>
<li>If the item receives a mouse release event when there are no other buttons pressed, it loses the mouse grab.</li>
<li>If the item becomes invisible (i.e&#x2e;, someone calls <tt>item-&gt;setVisible(false))</tt>, or if it becomes disabled (i.e&#x2e;, someone calls <tt>item-&gt;setEnabled(false))</tt>, it loses the mouse grab.</li>
<li>If the item is removed from the scene, it loses the mouse grab.</li>
</ul>
<p>If the item loses its mouse grab, the scene will ignore all mouse events until a new item grabs the mouse (i.e&#x2e;, until a new item receives a mouse press event).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="removeItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
removeItem</H3>
<PRE>
public final void <B>removeItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item)</PRE>
<DL>
<DD><p>Removes the item <tt>item</tt> and all its children from the scene. The ownership of <tt>item</tt> is passed on to the caller (i.e&#x2e;, <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> will no longer delete <tt>item</tt> when destroyed).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#addItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;target,
                         <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;source)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)">render</tt></a>(<tt>painter</tt>, <tt>target</tt>, <tt>source</tt>, Qt::KeepAspectRatio).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;target)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)">render</tt></a>(<tt>painter</tt>, <tt>target</tt>, QRectF(), Qt::KeepAspectRatio).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPainter)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)">render</tt></a>(<tt>painter</tt>, QRectF(), QRectF(), Qt::KeepAspectRatio).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="render(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.AspectRatioMode)"><!-- --></A><H3>
render</H3>
<PRE>
public final void <B>render</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;target,
                         <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;source,
                         <A HREF="../../../../com/trolltech/qt/core/Qt.AspectRatioMode.html" title="enum in com.trolltech.qt.core">Qt.AspectRatioMode</A>&nbsp;aspectRatioMode)</PRE>
<DL>
<DD><p>Renders the <tt>source</tt> rect from scene into <tt>target</tt>, using <tt>painter</tt>. This function is useful for capturing the contents of the scene onto a paint device, such as a <a href="QImage.html"><tt>QImage</tt></a> (e.g&#x2e;, to take a screenshot), or for printing with <a href="QPrinter.html"><tt>QPrinter</tt></a>. For example:</p>
<pre>    QGraphicsScene scene;
    scene.addItem(...
    ...
    QPrinter printer(QPrinter::HighResolution);
    printer.setPageSize(QPrinter::A4);

    QPainter painter(&amp;printer);
    scene.render(&amp;painter);</pre>
<p>If <tt>source</tt> is a null rect, this function will use <a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a> to determine what to render. If <tt>target</tt> is a null rect, the dimensions of <tt>painter</tt>'s paint device will be used.</p>
<p>The source rect contents will be transformed according to <tt>aspectRatioMode</tt> to fit into the target rect. By default, the aspect ratio is kept, and <tt>source</tt> is scaled to fit in <tt>target</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsView::render</tt></DL>
</DD>
</DL>
<HR>

<A NAME="sceneRect()"><!-- --></A><H3>
sceneRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A> <B>sceneRect</B>()</PRE>
<DL>
<DD><p>Returns the scene rectangle; the bounding rectangle of the scene.</p>
<p>The scene rectangle defines the extent of the scene. It is primarily used by <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> to determine the view's default scrollable area, and by <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> to manage item indexing.</p>
<p>If unset, or if set to a null <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>, <a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a> will return the largest bounding rect of all items on the scene since the scene was created (i.e&#x2e;, a rectangle that grows when items are added to or moved in the scene, but never shrinks).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setSceneRect(com.trolltech.qt.core.QRectF)"><tt>setSceneRect</tt></a>, 
<a href="QGraphicsScene.html#width()"><tt>width</tt></a>, 
<a href="QGraphicsScene.html#height()"><tt>height</tt></a>, 
<tt>QGraphicsView::sceneRect</tt></DL>
</DD>
</DL>
<HR>

<A NAME="selectedItems()"><!-- --></A><H3>
selectedItems</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&gt; <B>selectedItems</B>()</PRE>
<DL>
<DD><p>Returns a list of all currently selected items. The items are returned in no particular order.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><tt>setSelectionArea</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="selectionArea()"><!-- --></A><H3>
selectionArea</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A> <B>selectionArea</B>()</PRE>
<DL>
<DD><p>Returns the selection area that was previously set with <a href="QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><tt>setSelectionArea</tt></a>, or an empty <a href="QPainterPath.html"><tt>QPainterPath</tt></a> if no selection area has been set.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><tt>setSelectionArea</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBackgroundBrush(com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
setBackgroundBrush</H3>
<PRE>
public final void <B>setBackgroundBrush</B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Sets the background brush of the scene. to <tt>brush</tt>.</p>
<p>Set this property to changes the scene's background to a different color, gradient or texture. The default background brush is Qt::NoBrush. The background is drawn before (behind) the items.</p>
<p>Example:</p>
<pre>    QGraphicsScene scene;
    QGraphicsView view(&amp;scene);
    view.show();

<span class="comment">    // a blue background</span>
    scene.setBackgroundBrush(Qt::blue);

<span class="comment">    // a gradient background</span>
    QRadialGradient gradient(0, 0, 10);
    gradient.setSpread(QGradient::RepeatSpread);
    scene.setBackgroundBrush(gradient);</pre>
<p>QGraphicsScene::render() calls <a href="QGraphicsScene.html#drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawBackground</tt></a> to draw the scene background. For more detailed control over how the background is drawn, you can reimplement <a href="QGraphicsScene.html#drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawBackground</tt></a> in a subclass of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#backgroundBrush()"><tt>backgroundBrush</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBspTreeDepth(int)"><!-- --></A><H3>
setBspTreeDepth</H3>
<PRE>
public final void <B>setBspTreeDepth</B>(int&nbsp;depth)</PRE>
<DL>
<DD><p>Sets the depth of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s BSP index tree to <tt>depth</tt>.</p>
<p>This property has no effect when <a href="QGraphicsScene.html#ItemIndexMethod-enum"><tt>NoIndex</tt></a> is used.</p>
<p>This value determines the depth of <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s BSP tree. The depth directly affects <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a>'s performance and memory usage; the latter growing exponentially with the depth of the tree. With an optimal tree depth, <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> can instantly determine the locality of items, even for scenes with thousands or millions of items. This also greatly improves rendering performance.</p>
<p>By default, the value is 0, in which case Qt will guess a reasonable default depth based on the size, location and number of items in the scene. If these parameters change frequently, however, you may experience slowdowns as <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> retunes the depth internally. You can avoid potential slowdowns by fixating the tree depth through setting this property.</p>
<p>The depth of the tree and the size of the scene rectangle decide the granularity of the scene's partitioning. The size of each scene segment is determined by the following algorithm:</p>
<pre>    QSizeF segmentSize = sceneRect().size() / pow(2, depth - 1);</pre>
<p>The BSP tree has an optimal size when each segment contains between 0 and 10 items.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#bspTreeDepth()"><tt>bspTreeDepth</tt></a>, 
<a href="QGraphicsScene.html#itemIndexMethod()"><tt>itemIndexMethod</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFocus()"><!-- --></A><H3>
setFocus</H3>
<PRE>
public final void <B>setFocus</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a>(Qt::OtherFocusReason).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setFocus(com.trolltech.qt.core.Qt.FocusReason)"><!-- --></A><H3>
setFocus</H3>
<PRE>
public final 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>Sets focus on the scene by sending a <a href="QFocusEvent.html"><tt>QFocusEvent</tt></a> to the scene, passing <tt>focusReason</tt> as the reason. If the scene regains focus after having previously lost it while an item had focus, the last focus item will receive focus with <tt>focusReason</tt> as the reason.</p>
<p>If the scene already has focus, this function does nothing.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#hasFocus()"><tt>hasFocus</tt></a>, 
<a href="QGraphicsScene.html#clearFocus()"><tt>clearFocus</tt></a>, 
<a href="QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocusItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface)"><!-- --></A><H3>
setFocusItem</H3>
<PRE>
public final void <B>setFocusItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>&nbsp;item)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocusItem</tt></a>(<tt>item</tt>, Qt::OtherFocusReason).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setFocusItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.core.Qt.FocusReason)"><!-- --></A><H3>
setFocusItem</H3>
<PRE>
public final void <B>setFocusItem</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/Qt.FocusReason.html" title="enum in com.trolltech.qt.core">Qt.FocusReason</A>&nbsp;focusReason)</PRE>
<DL>
<DD><p>Sets the scene's focus item to <tt>item</tt>, with the focus reason <tt>focusReason</tt>, after removing focus from any previous item that may have had focus.</p>
<p>If <tt>item</tt> is 0, or if it either does not accept focus (i.e&#x2e;, it does not have the QGraphicsItem::ItemIsFocusable flag enabled), or is not visible or not enabled, this function only removes focus from any previous focusitem.</p>
<p>If item is not 0, and the scene does not currently have focus (i.e&#x2e;, <a href="QGraphicsScene.html#hasFocus()"><tt>hasFocus</tt></a> returns false), this function will call <a href="QGraphicsScene.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a> automatically.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#focusItem()"><tt>focusItem</tt></a>, 
<a href="QGraphicsScene.html#hasFocus()"><tt>hasFocus</tt></a>, 
<a href="QGraphicsScene.html#setFocus(com.trolltech.qt.core.Qt.FocusReason)"><tt>setFocus</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setForegroundBrush(com.trolltech.qt.gui.QBrush)"><!-- --></A><H3>
setForegroundBrush</H3>
<PRE>
public final void <B>setForegroundBrush</B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A>&nbsp;brush)</PRE>
<DL>
<DD><p>Sets the foreground brush of the scene. to <tt>brush</tt>.</p>
<p>Change this property to set the scene's foreground to a different color, gradient or texture.</p>
<p>The foreground is drawn after (on top of) the items. The default foreground brush is Qt::NoBrush ( i.e&#x2e; the foreground is not drawn).</p>
<p>Example:</p>
<pre>    QGraphicsScene scene;
    QGraphicsView view(&amp;scene);
    view.show();

<span class="comment">    // a white semi-transparent foreground</span>
    scene.setForegroundBrush(QColor(255, 255, 255, 127));

<span class="comment">    // a grid foreground</span>
    scene.setForegroundBrush(QBrush(Qt::lightGray, Qt::CrossPattern));</pre>
<p>QGraphicsScene::render() calls <a href="QGraphicsScene.html#drawForeground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawForeground</tt></a> to draw the scene foreground. For more detailed control over how the foreground is drawn, you can reimplement the <a href="QGraphicsScene.html#drawForeground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawForeground</tt></a> function in a <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> subclass.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#foregroundBrush()"><tt>foregroundBrush</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setItemIndexMethod(com.trolltech.qt.gui.QGraphicsScene.ItemIndexMethod)"><!-- --></A><H3>
setItemIndexMethod</H3>
<PRE>
public final void <B>setItemIndexMethod</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.ItemIndexMethod.html" title="enum in com.trolltech.qt.gui">QGraphicsScene.ItemIndexMethod</A>&nbsp;method)</PRE>
<DL>
<DD><p>Sets the item indexing method. to <tt>method</tt>.</p>
<p><a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> applies an indexing algorithm to the scene, to speed up item discovery functions like <a href="QGraphicsScene.html#items(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.Qt.ItemSelectionMode)"><tt>items</tt></a> and <a href="QGraphicsScene.html#itemAt(com.trolltech.qt.core.QPointF)"><tt>itemAt</tt></a>. Indexing is most efficient for static scenes (i.e&#x2e;, where items don't move around). For dynamic scenes, or scenes with many animated items, the index bookkeeping can outweight the fast lookup speeds.</p>
<p>For the common case, the default index method <a href="QGraphicsScene.html#ItemIndexMethod-enum"><tt>BspTreeIndex</tt></a> works fine. If your scene uses many animations and you are experiencing slowness, you can disable indexing by calling <tt>setItemIndexMethod(NoIndex)</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#itemIndexMethod()"><tt>itemIndexMethod</tt></a>, 
<a href="QGraphicsScene.html#bspTreeDepth()"><tt>bspTreeDepth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSceneRect(double, double, double, double)"><!-- --></A><H3>
setSceneRect</H3>
<PRE>
public final void <B>setSceneRect</B>(double&nbsp;x,
                               double&nbsp;y,
                               double&nbsp;w,
                               double&nbsp;h)</PRE>
<DL>
<DD><p>Sets the scene rectangle; the bounding rectangle of the scene.</p>
<p>The scene rectangle defines the extent of the scene. It is primarily used by <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> to determine the view's default scrollable area, and by <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> to manage item indexing.</p>
<p>If unset, or if set to a null <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>, <a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a> will return the largest bounding rect of all items on the scene since the scene was created (i.e&#x2e;, a rectangle that grows when items are added to or moved in the scene, but never shrinks).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#width()"><tt>width</tt></a>, 
<a href="QGraphicsScene.html#height()"><tt>height</tt></a>, 
<tt>QGraphicsView::sceneRect</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setSceneRect(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
setSceneRect</H3>
<PRE>
public final void <B>setSceneRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Sets the scene rectangle; the bounding rectangle of the scene to <tt>rect</tt>.</p>
<p>The scene rectangle defines the extent of the scene. It is primarily used by <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> to determine the view's default scrollable area, and by <a href="QGraphicsScene.html#QGraphicsScene(com.trolltech.qt.core.QRectF, com.trolltech.qt.core.QObject)"><tt>QGraphicsScene</tt></a> to manage item indexing.</p>
<p>If unset, or if set to a null <a href="%2E%2E/core/QRectF.html"><tt>QRectF</tt></a>, <a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a> will return the largest bounding rect of all items on the scene since the scene was created (i.e&#x2e;, a rectangle that grows when items are added to or moved in the scene, but never shrinks).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#width()"><tt>width</tt></a>, 
<a href="QGraphicsScene.html#height()"><tt>height</tt></a>, 
<tt>QGraphicsView::sceneRect</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setSelectionArea(com.trolltech.qt.gui.QPainterPath, com.trolltech.qt.core.Qt.ItemSelectionMode)"><!-- --></A><H3>
setSelectionArea</H3>
<PRE>
public final void <B>setSelectionArea</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;arg__2)</PRE>
<DL>
<DD><p>Sets the selection area to <tt>path</tt> using <tt>arg__2</tt> to determine if items are included in the selection area.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#clearSelection()"><tt>clearSelection</tt></a>, 
<a href="QGraphicsScene.html#selectionArea()"><tt>selectionArea</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSelectionArea(com.trolltech.qt.gui.QPainterPath)"><!-- --></A><H3>
setSelectionArea</H3>
<PRE>
public final void <B>setSelectionArea</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainterPath.html" title="class in com.trolltech.qt.gui">QPainterPath</A>&nbsp;path)</PRE>
<DL>
<DD><p>Sets the selection area to <tt>path</tt>. All items within this area are immediately selected, and all items outside are unselected. You can get the list of all selected items by calling <a href="QGraphicsScene.html#selectedItems()"><tt>selectedItems</tt></a>.</p>
<p>For an item to be selected, it must be marked as <i>selectable</i> (QGraphicsItem::ItemIsSelectable).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#clearSelection()"><tt>clearSelection</tt></a>, 
<a href="QGraphicsScene.html#selectionArea()"><tt>selectionArea</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="update()"><!-- --></A><H3>
update</H3>
<PRE>
public final void <B>update</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#update(double, double, double, double)">update</tt></a>(QRectF()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="update(com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
update</H3>
<PRE>
public final 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 <tt>rect</tt> on the scene.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a>, 
<a href="QGraphicsScene.html#changed(java.util.List)"><tt>changed</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="update(double, double, double, double)"><!-- --></A><H3>
update</H3>
<PRE>
public final void <B>update</B>(double&nbsp;x,
                         double&nbsp;y,
                         double&nbsp;w,
                         double&nbsp;h)</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>w</tt>, <tt>h</tt>));</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="views()"><!-- --></A><H3>
views</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsView.html" title="class in com.trolltech.qt.gui">QGraphicsView</A>&gt; <B>views</B>()</PRE>
<DL>
<DD><p>Returns a list of all the views that display this scene.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsView::scene</tt></DL>
</DD>
</DL>
<HR>

<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public final double <B>width</B>()</PRE>
<DL>
<DD><p>This convenience function is equivalent to calling <a href="QGraphicsScene.html#sceneRect()"><tt>sceneRect</tt></a>.<a href="QGraphicsScene.html#width()"><tt>width</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#height()"><tt>height</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)"><!-- --></A><H3>
contextMenuEvent</H3>
<PRE>
protected 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, for event <tt>event</tt>, can be reimplemented in a subclass to receive context menu events. The default implementation forwards the event to the item at the scene position provided by the event.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::contextMenuEvent</tt></DL>
</DD>
</DL>
<HR>

<A NAME="dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dragEnterEvent</H3>
<PRE>
protected 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 in a subclass to receive drag enter events for the scene.</p>
<p>The default implementation accepts the event and prepares the scene to accept drag move events.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::dragEnterEvent</tt>, 
<a href="QGraphicsScene.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragMoveEvent</tt></a>, 
<a href="QGraphicsScene.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragLeaveEvent</tt></a>, 
<a href="QGraphicsScene.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dropEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dragLeaveEvent</H3>
<PRE>
protected 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 in a subclass to receive drag leave events for the scene.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::dragLeaveEvent</tt>, 
<a href="QGraphicsScene.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragEnterEvent</tt></a>, 
<a href="QGraphicsScene.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragMoveEvent</tt></a>, 
<a href="QGraphicsScene.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dropEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dragMoveEvent</H3>
<PRE>
protected 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 in a subclass to receive drag move events for the scene.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::dragMoveEvent</tt>, 
<a href="QGraphicsScene.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragEnterEvent</tt></a>, 
<a href="QGraphicsScene.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragLeaveEvent</tt></a>, 
<a href="QGraphicsScene.html#dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dropEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawBackground</H3>
<PRE>
protected void <B>drawBackground</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Draws the background of the scene using <tt>painter</tt>, before any items and the foreground are drawn. Reimplement this function to provide a custom background for the scene.</p>
<p>All painting is done in <i>scene</i> coordinates. The <tt>rect</tt> parameter is the exposed rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#drawForeground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawForeground</tt></a>, 
<a href="QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)"><tt>drawItems</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawForeground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><!-- --></A><H3>
drawForeground</H3>
<PRE>
protected void <B>drawForeground</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/core/QRectF.html" title="class in com.trolltech.qt.core">QRectF</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Draws the foreground of the scene using <tt>painter</tt>, after the background and all items have been drawn. Reimplement this function to provide a custom foreground for the scene.</p>
<p>All painting is done in <i>scene</i> coordinates. The <tt>rect</tt> parameter is the exposed rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRectF)"><tt>drawBackground</tt></a>, 
<a href="QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)"><tt>drawItems</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[])"><!-- --></A><H3>
drawItems</H3>
<PRE>
protected final void <B>drawItems</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/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>[]&nbsp;items,
                               <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionGraphicsItem.html" title="class in com.trolltech.qt.gui">QStyleOptionGraphicsItem</A>[]&nbsp;options)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)"><tt>drawItems</tt></a>(<tt>painter</tt>, <tt>items</tt>, <tt>options</tt>, , 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
drawItems</H3>
<PRE>
protected void <B>drawItems</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/QGraphicsItemInterface.html" title="interface in com.trolltech.qt.gui">QGraphicsItemInterface</A>[]&nbsp;items,
                         <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionGraphicsItem.html" title="class in com.trolltech.qt.gui">QStyleOptionGraphicsItem</A>[]&nbsp;options,
                         <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;widget)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGraphicsScene.html#drawItems(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QGraphicsItemInterface[], com.trolltech.qt.gui.QStyleOptionGraphicsItem[], com.trolltech.qt.gui.QWidget)"><tt>drawItems</tt></a>(<tt>painter</tt>, <tt>items</tt>, <tt>options</tt>, <tt>widget</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="dropEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><!-- --></A><H3>
dropEvent</H3>
<PRE>
protected 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 in a subclass to receive drop events for the scene.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::dropEvent</tt>, 
<a href="QGraphicsScene.html#dragEnterEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragEnterEvent</tt></a>, 
<a href="QGraphicsScene.html#dragMoveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragMoveEvent</tt></a>, 
<a href="QGraphicsScene.html#dragLeaveEvent(com.trolltech.qt.gui.QGraphicsSceneDragDropEvent)"><tt>dragLeaveEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="event(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
event</H3>
<PRE>
public boolean <B>event</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>Processes the event <tt>event</tt>, and dispatches it to the respective event handlers.</p>
<p>In addition to calling the convenience event handlers, this function is responsible for converting mouse move events to hover events for when there is no mouse grabber item. Hover events are delivered directly to items; there is no convenience function for them.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGraphicsScene.html#contextMenuEvent(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent)"><tt>contextMenuEvent</tt></a>, 
<a href="QGraphicsScene.html#keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyPressEvent</tt></a>, 
<a href="QGraphicsScene.html#keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><tt>keyReleaseEvent</tt></a>, 
<a href="QGraphicsScene.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>, 
<a href="QGraphicsScene.html#mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseMoveEvent</tt></a>, 
<a href="QGraphicsScene.html#mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseReleaseEvent</tt></a>, 
<a href="QGraphicsScene.html#mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mouseDoubleClickEvent</tt></a>, 
<a href="QGraphicsScene.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusInEvent</tt></a>, 
<a href="QGraphicsScene.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><tt>focusOutEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="focusInEvent(com.trolltech.qt.gui.QFocusEvent)"><!-- --></A><H3>
focusInEvent</H3>
<PRE>
protected 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 in a subclass to receive focus in events.</p>
<p>The default implementation sets focus on the scene, and then on the last focus item.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::focusOutEvent</tt></DL>
</DD>
</DL>
<HR>

<A NAME="focusOutEvent(com.trolltech.qt.gui.QFocusEvent)"><!-- --></A><H3>
focusOutEvent</H3>
<PRE>
protected 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 in a subclass to receive focus out events.</p>
<p>The default implementation removes focus from any focus item, then removes focus from the scene.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::focusInEvent</tt></DL>
</DD>
</DL>
<HR>

<A NAME="helpEvent(com.trolltech.qt.gui.QGraphicsSceneHelpEvent)"><!-- --></A><H3>
helpEvent</H3>
<PRE>
protected void <B>helpEvent</B>(<A HREF="../../../../com/trolltech/qt/gui/QGraphicsSceneHelpEvent.html" title="class in com.trolltech.qt.gui">QGraphicsSceneHelpEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This event handler, for event <tt>event</tt>, can be reimplemented in a subclass to receive help events. The events are of type QEvent::ToolTip, which are created when a tooltip is requested.</p>
<p>The default implementation shows the tooltip of the topmost item, i.e&#x2e;, the item with the highest z-value, at the mouse cursor position. If no item has a tooltip set, this function does nothing.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::toolTip</tt>, 
<a href="QGraphicsSceneHelpEvent.html"><tt>QGraphicsSceneHelpEvent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent)"><!-- --></A><H3>
inputMethodEvent</H3>
<PRE>
protected 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 in a subclass to receive input method events for the scene.</p>
<p>The default implementation forwards the event to the <a href="QGraphicsScene.html#focusItem()"><tt>focusItem</tt></a>. If no item currently has focus, this function does nothing.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::inputMethodEvent</tt></DL>
</DD>
</DL>
<HR>

<A NAME="inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery)"><!-- --></A><H3>
inputMethodQuery</H3>
<PRE>
public 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 used by input methods to query a set of properties of the scene to be able to support complex input method operations as support for surrounding text and reconversions.</p>
<p>The <tt>query</tt> parameter specifies which property is queried.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QWidget::inputMethodQuery</tt></DL>
</DD>
</DL>
<HR>

<A NAME="keyPressEvent(com.trolltech.qt.gui.QKeyEvent)"><!-- --></A><H3>
keyPressEvent</H3>
<PRE>
protected 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 in a subclass to receive keypress events. The default implementation forwards the event to current focus item.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::keyPressEvent</tt>, 
<a href="QGraphicsScene.html#focusItem()"><tt>focusItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="keyReleaseEvent(com.trolltech.qt.gui.QKeyEvent)"><!-- --></A><H3>
keyReleaseEvent</H3>
<PRE>
protected 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 in a subclass to receive key release events. The default implementation forwards the event to current focus item.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::keyReleaseEvent</tt>, 
<a href="QGraphicsScene.html#focusItem()"><tt>focusItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="mouseDoubleClickEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mouseDoubleClickEvent</H3>
<PRE>
protected 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 in a subclass to receive mouse doubleclick events for the scene.</p>
<p>If someone doubleclicks on the scene, the scene 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. If the doubleclick event is delivered to a different item than the one that received the first press and release, it will be delivered as a press event. However, tripleclick events are not delivered as doubleclick events in this case.</p>
<p>The default implementation is similar to <a href="QGraphicsScene.html#mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><tt>mousePressEvent</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::mousePressEvent</tt>, 
<tt>QGraphicsItem::mouseMoveEvent</tt>, 
<tt>QGraphicsItem::mouseReleaseEvent</tt>, 
<tt>QGraphicsItem::setAcceptedMouseButtons</tt></DL>
</DD>
</DL>
<HR>

<A NAME="mouseMoveEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mouseMoveEvent</H3>
<PRE>
protected 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 in a subclass to receive mouse move events for the scene.</p>
<p>The default implementation depends on the mouse grabber state. If there is a mouse grabber item, the event is sent to the mouse grabber; otherwise, the event is ignored.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::mousePressEvent</tt>, 
<tt>QGraphicsItem::mouseReleaseEvent</tt>, 
<tt>QGraphicsItem::mouseDoubleClickEvent</tt>, 
<tt>QGraphicsItem::setAcceptedMouseButtons</tt></DL>
</DD>
</DL>
<HR>

<A NAME="mousePressEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mousePressEvent</H3>
<PRE>
protected 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 in a subclass to receive mouse press events for the scene.</p>
<p>The default implementation depends on the state of the scene. If there is a mouse grabber item, then the event is sent to the mouse grabber. Otherwise, it is forwarded to the topmost item that accepts mouse events at the scene position from the event, and that item promptly becomes the mouse grabber item.</p>
<p>If there is no item at the given position on the scene, the selection area is reset, any focus item loses its input focus, and the event is then ignored.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::mousePressEvent</tt>, 
<tt>QGraphicsItem::setAcceptedMouseButtons</tt></DL>
</DD>
</DL>
<HR>

<A NAME="mouseReleaseEvent(com.trolltech.qt.gui.QGraphicsSceneMouseEvent)"><!-- --></A><H3>
mouseReleaseEvent</H3>
<PRE>
protected 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 in a subclass to receive mouse release events for the scene.</p>
<p>The default implementation depends on the mouse grabber state. If there is no mouse grabber, the event is ignored. Otherwise, if there is a mouse grabber item, the event is sent to the mouse grabber. If this mouse release represents the last pressed button on the mouse, the mouse grabber item then loses the mouse grab.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::mousePressEvent</tt>, 
<tt>QGraphicsItem::mouseMoveEvent</tt>, 
<tt>QGraphicsItem::mouseDoubleClickEvent</tt>, 
<tt>QGraphicsItem::setAcceptedMouseButtons</tt></DL>
</DD>
</DL>
<HR>

<A NAME="wheelEvent(com.trolltech.qt.gui.QGraphicsSceneWheelEvent)"><!-- --></A><H3>
wheelEvent</H3>
<PRE>
protected 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 in a subclass to receive mouse wheel events for the scene.</p>
<p>By default, the event is delivered to the topmost visible item under the cursor. If ignored, the event propagates to the item beneath, and again until the event is accepted, or it reaches the scene. If no items accept the event, it is ignored.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QGraphicsItem::wheelEvent</tt></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.html" title="class in com.trolltech.qt.gui">QGraphicsScene</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QGraphicsScene instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</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/QGraphicsRectItem.enum_1.html" title="enum in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QGraphicsScene.ItemIndexMethod.html" title="enum 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/QGraphicsScene.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QGraphicsScene.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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>