Sophie

Sophie

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

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:01:29 CEST 2007 -->
<TITLE>
QItemDelegate
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QItemDelegate";
}
</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/QIntValidator.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QItemEditorCreatorBase.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QItemDelegate.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QItemDelegate.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_classes_inherited_from_class_com.trolltech.qt.gui.QAbstractItemDelegate">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.trolltech.qt.gui.QAbstractItemDelegate">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;FIELD&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 QItemDelegate</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 "><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">com.trolltech.qt.gui.QAbstractItemDelegate</A>
                  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QItemDelegate</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>QItemDelegate</B><DT>extends <A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></DL>
</PRE>

<P>
<p>The <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a> class provides display and editing facilities for data items from a model.</p>
<p><a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a> can be used to provide custom display features and editor widgets for item views based on <a href="QAbstractItemView.html"><tt>QAbstractItemView</tt></a> subclasses. Using a delegate for this purpose allows the display and editing mechanisms to be customized and developed independently from the model and view.</p>
<p>The <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a> class is one of the <a href="%2E%2E/qt4-interview.html#model-view-classes">Model/View Classes</tt></a> and is part of Qt's <a href="%2E%2E/model-view-programming.html">model/view framework</tt></a>.</p>
<p>When displaying items from a custom model in a standard view, it is often sufficient to simply ensure that the model returns appropriate data for each of the roles</tt> that determine the appearance of items in views. The default delegate used by Qt's standard views uses this role information to display items in most of the common forms expected by users. However, it is sometimes necessary to have even more control over the appearance of items than the default delegate can provide.</p>
<p>This class provides default implementations of the functions for painting item data in a view and editing data from item models. Default implementations of the <a href="QItemDelegate.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><tt>paint</tt></a> and <a href="QItemDelegate.html#sizeHint(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><tt>sizeHint</tt></a> virtual functions, defined in <a href="QAbstractItemDelegate.html#QAbstractItemDelegate(com.trolltech.qt.core.QObject)"><tt>QAbstractItemDelegate</tt></a>, are provided to ensure that the delegate implements the correct basic behavior expected by views. You can reimplement these functions in subclasses to customize the appearance of items.</p>
<p>When editing data in an item view, <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a> provides an editor widget, which is a widget that is placed on top of the view while editing takes place. Editors are created with a <a href="QItemEditorFactory.html"><tt>QItemEditorFactory</tt></a>; a default static instance provided by <a href="QItemEditorFactory.html"><tt>QItemEditorFactory</tt></a> is installed on all item delagates. You can set a custom factory using <a href="QItemDelegate.html#setItemEditorFactory(com.trolltech.qt.gui.QItemEditorFactory)"><tt>setItemEditorFactory</tt></a> or set a new default factory with QItemEditorFactory::setDefaultFactory(). It is the data stored in the item model with the Qt::EditRole that is edited.</p>
<p>Only the standard editing functions for widget-based delegates are reimplemented here:</p>
<ul>
<li><a href="QItemDelegate.html#createEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><tt>createEditor</tt></a> returns the widget used to change data from the model and can be reimplemented to customize editing behavior.</li>
<li><a href="QItemDelegate.html#setEditorData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QModelIndex)"><tt>setEditorData</tt></a> provides the widget with data to manipulate.</li>
<li><a href="QItemDelegate.html#updateEditorGeometry(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><tt>updateEditorGeometry</tt></a> ensures that the editor is displayed correctly with respect to the item view.</li>
<li><a href="QItemDelegate.html#setModelData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QModelIndex)"><tt>setModelData</tt></a> returns updated data to the model.</li>
</ul>
<p>The <a href="QItemDelegate.html#closeEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAbstractItemDelegate.EndEditHint)"><tt>closeEditor</tt></a> signal indicates that the user has completed editing the data, and that the editor widget can be destroyed.</p>
<a name="standard-roles-and-data-types"></a>
<h3>Standard Roles and Data Types</h3>
<p>The default delegate used by the standard views supplied with Qt associates each standard role (defined by Qt::ItemDataRole) with certain data types. Models that return data in these types can influence the appearance of the delegate as described in the following table.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th>Role</th><th>Accepted Types</th></tr></thead>
<tr valign="top" class="odd"><td><tt>Qt::BackgroundRole</tt></td><td><a href="QBrush.html"><tt>QBrush</tt></a></td></tr>
<tr valign="top" class="even"><td><tt>Qt::BackgroundColorRole</tt></td><td><a href="QColor.html"><tt>QColor</tt></a> (obsolete; use Qt::BackgroundRole instead)</td></tr>
<tr valign="top" class="odd"><td><tt>Qt::CheckStateRole</tt></td><td>Qt::CheckState</td></tr>
<tr valign="top" class="even"><td><tt>Qt::DecorationRole</tt></td><td><a href="QIcon.html"><tt>QIcon</tt></a> and <a href="QColor.html"><tt>QColor</tt></a></td></tr>
<tr valign="top" class="odd"><td><tt>Qt::DisplayRole</tt></td><td><a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> and types with a string representation</td></tr>
<tr valign="top" class="even"><td><tt>Qt::EditRole</tt></td><td>See <a href="QItemEditorFactory.html"><tt>QItemEditorFactory</tt></a> for details</td></tr>
<tr valign="top" class="odd"><td><tt>Qt::FontRole</tt></td><td><a href="QFont.html"><tt>QFont</tt></a></td></tr>
<tr valign="top" class="even"><td><tt>Qt::SizeHintRole</tt></td><td><a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a></td></tr>
<tr valign="top" class="odd"><td><tt>Qt::TextAlignmentRole</tt></td><td>Qt::Alignment</td></tr>
<tr valign="top" class="even"><td><tt>Qt::ForegroundRole</tt></td><td><a href="QBrush.html"><tt>QBrush</tt></a></td></tr>
<tr valign="top" class="odd"><td><tt>Qt::TextColorRole</tt></td><td><a href="QColor.html"><tt>QColor</tt></a> (obsolete; use Qt::ForegroundRole instead)</td></tr>
</table></p>
<p>If the default delegate does not allow the level of customization that you need, either for display purposes or for editing data, it is possible to subclass <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a> to implement the desired behavior.</p>
<a name="subclassing"></a>
<h3>Subclassing</h3>
<p>When subclassing <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a> to create a delegate that displays items using a custom renderer, it is important to ensure that the delegate can render items suitably for all the required states; e.g&#x2e; selected, disabled, checked. The documentation for the <a href="QItemDelegate.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><tt>paint</tt></a> function contains some hints to show how this can be achieved.</p>
<p>You can provide custom editors by using a <a href="QItemEditorFactory.html"><tt>QItemEditorFactory</tt></a>. The Color Editor Factory Example</tt> shows how a custom editor can be made available to delegates with the default item editor factory. This way, there is no need to subclass <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a>. An alternative is to reimplement <a href="QItemDelegate.html#createEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><tt>createEditor</tt></a>, <a href="QItemDelegate.html#setEditorData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QModelIndex)"><tt>setEditorData</tt></a>, <a href="QItemDelegate.html#setModelData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QModelIndex)"><tt>setModelData</tt></a>, and <a href="QItemDelegate.html#updateEditorGeometry(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><tt>updateEditorGeometry</tt></a>. This process is described in the Spin Box Delegate example</tt>.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/model-view-delegate.html">Delegate Classes</tt></a>, 
<a href="QAbstractItemDelegate.html#QAbstractItemDelegate(com.trolltech.qt.core.QObject)"><tt>QAbstractItemDelegate</tt></a>, 
<CODE>Box Delegate Example</tt></CODE>, 
<CODE>Editor Example</tt></CODE>, 
<CODE>Example</tt></CODE></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>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.gui.QAbstractItemDelegate"><!-- --></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.gui.<A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.EndEditHint.html" title="enum in com.trolltech.qt.gui">QAbstractItemDelegate.EndEditHint</A></CODE></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>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_com.trolltech.qt.gui.QAbstractItemDelegate"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class com.trolltech.qt.gui.<A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#closeEditor">closeEditor</A>, <A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#commitData">commitData</A></CODE></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/QItemDelegate.html#QItemDelegate()">QItemDelegate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a>(0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)">QItemDelegate</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 an item delegate with the given <tt>parent</tt>.</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>protected &nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#check(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, java.lang.Object)">check</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
      <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;bounding,
      java.lang.Object&nbsp;variant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#createEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">createEditor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
             <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
             <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the widget used to edit the item specified by <tt>index</tt> for editing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#decoration(com.trolltech.qt.gui.QStyleOptionViewItem, java.lang.Object)">decoration</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
           java.lang.Object&nbsp;variant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">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/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
               <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the item background for the given <tt>index</tt>, using the given <tt>painter</tt> and style <tt>option</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/QItemDelegate.html#drawCheck(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.CheckState)">drawCheck</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
          <A HREF="../../../../com/trolltech/qt/core/Qt.CheckState.html" title="enum in com.trolltech.qt.core">Qt.CheckState</A>&nbsp;state)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders a check indicator within the rectangle specified by <tt>rect</tt>, using the given <tt>painter</tt> and style <tt>option</tt>, using the given <tt>state</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/QItemDelegate.html#drawDecoration(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap)">drawDecoration</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
               <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
               <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;Renders the decoration <tt>pixmap</tt> within the rectangle specified by <tt>rect</tt> using the given <tt>painter</tt> and style <tt>option</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/QItemDelegate.html#drawDisplay(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, java.lang.String)">drawDisplay</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
            java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the item view <tt>text</tt> within the rectangle specified by <tt>rect</tt> using the given <tt>painter</tt> and style <tt>option</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/QItemDelegate.html#drawFocus(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect)">drawFocus</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
          <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the region within the rectangle specified by <tt>rect</tt>, indicating that it has the focus, using the given <tt>painter</tt> and style <tt>option</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#editorEvent(com.trolltech.qt.core.QEvent, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">editorEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event,
            <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model,
            <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
            <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QItemDelegate.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A></B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;object,
            <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;Returns true if the given <tt>object</tt> is a valid <a href="QWidget.html"><tt>QWidget</tt></a> and the given <tt>event</tt> is handled; otherwise returns false.</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/QItemDelegate.html" title="class in com.trolltech.qt.gui">QItemDelegate</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.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 QItemDelegate 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/QItemDelegate.html#hasClipping()">hasClipping</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the delegate should clip the paint 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/QItemEditorFactory.html" title="class in com.trolltech.qt.gui">QItemEditorFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#itemEditorFactory()">itemEditorFactory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the editor factory used by the item delegate.</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/QItemDelegate.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">paint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
      <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
      <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the delegate using the given <tt>painter</tt> and style <tt>option</tt> for the item specified by <tt>index</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#rect(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex, int)">rect</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
     <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index,
     int&nbsp;role)</CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets if the delegate should clip the paint events to <tt>clip</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/QItemDelegate.html#setEditorData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QModelIndex)">setEditorData</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;editor,
              <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the data to be displayed and edited by the <tt>editor</tt> for the item specified by <tt>index</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/QItemDelegate.html#setItemEditorFactory(com.trolltech.qt.gui.QItemEditorFactory)">setItemEditorFactory</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QItemEditorFactory.html" title="class in com.trolltech.qt.gui">QItemEditorFactory</A>&nbsp;factory)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the editor factory to be used by the item delegate to be the <tt>factory</tt> specified.</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/QItemDelegate.html#setModelData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QModelIndex)">setModelData</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;editor,
             <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model,
             <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the data for the specified <tt>model</tt> and item <tt>index</tt> from that supplied by the <tt>editor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#setOptions(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QStyleOptionViewItem)">setOptions</A></B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index,
           <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#sizeHint(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">sizeHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
         <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size needed by the delegate to display the item specified by <tt>index</tt>, taking into account the style information provided by <tt>option</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#textRectangle(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QFont, java.lang.String)">textRectangle</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/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
              <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font,
              java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html#updateEditorGeometry(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">updateEditorGeometry</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;editor,
                     <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                     <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the <tt>editor</tt> for the item specified by <tt>index</tt> according to the style <tt>option</tt> given.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QAbstractItemDelegate"><!-- --></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.gui.<A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#helpEvent(com.trolltech.qt.gui.QHelpEvent, com.trolltech.qt.gui.QAbstractItemView, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">helpEvent</A></CODE></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#event(com.trolltech.qt.core.QEvent)">event</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>

<!-- ========= 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="QItemDelegate()"><!-- --></A><H3>
QItemDelegate</H3>
<PRE>
public <B>QItemDelegate</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a>(0).
<P>
</DL>
<HR>

<A NAME="QItemDelegate(com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QItemDelegate</H3>
<PRE>
public <B>QItemDelegate</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 an item delegate with the given <tt>parent</tt>.</p>
<P>
</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="check(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, java.lang.Object)"><!-- --></A><H3>
check</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>check</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                            <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;bounding,
                            java.lang.Object&nbsp;variant)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="decoration(com.trolltech.qt.gui.QStyleOptionViewItem, java.lang.Object)"><!-- --></A><H3>
decoration</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>decoration</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                                   java.lang.Object&nbsp;variant)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawBackground(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
drawBackground</H3>
<PRE>
protected final 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/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                                    <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Renders the item background for the given <tt>index</tt>, using the given <tt>painter</tt> and style <tt>option</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hasClipping()"><!-- --></A><H3>
hasClipping</H3>
<PRE>
public final boolean <B>hasClipping</B>()</PRE>
<DL>
<DD><p>Returns if the delegate should clip the paint events.</p>
<p>This property will set the paint clip to the size of the item. The default value is on. It is useful for cases such as when images are larger then the size of the item.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="itemEditorFactory()"><!-- --></A><H3>
itemEditorFactory</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QItemEditorFactory.html" title="class in com.trolltech.qt.gui">QItemEditorFactory</A> <B>itemEditorFactory</B>()</PRE>
<DL>
<DD><p>Returns the editor factory used by the item delegate. If no editor factory is set, the function will return null.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QItemDelegate.html#setItemEditorFactory(com.trolltech.qt.gui.QItemEditorFactory)"><tt>setItemEditorFactory</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rect(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex, int)"><!-- --></A><H3>
rect</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>rect</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                           <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index,
                           int&nbsp;role)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setClipping(boolean)"><!-- --></A><H3>
setClipping</H3>
<PRE>
public final void <B>setClipping</B>(boolean&nbsp;clip)</PRE>
<DL>
<DD><p>Sets if the delegate should clip the paint events to <tt>clip</tt>.</p>
<p>This property will set the paint clip to the size of the item. The default value is on. It is useful for cases such as when images are larger then the size of the item.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QItemDelegate.html#hasClipping()"><tt>hasClipping</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setItemEditorFactory(com.trolltech.qt.gui.QItemEditorFactory)"><!-- --></A><H3>
setItemEditorFactory</H3>
<PRE>
public final void <B>setItemEditorFactory</B>(<A HREF="../../../../com/trolltech/qt/gui/QItemEditorFactory.html" title="class in com.trolltech.qt.gui">QItemEditorFactory</A>&nbsp;factory)</PRE>
<DL>
<DD><p>Sets the editor factory to be used by the item delegate to be the <tt>factory</tt> specified. If no editor factory is set, the item delegate will use the default editor factory.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QItemDelegate.html#itemEditorFactory()"><tt>itemEditorFactory</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setOptions(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QStyleOptionViewItem)"><!-- --></A><H3>
setOptions</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A> <B>setOptions</B>(<A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index,
                                                <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="textRectangle(com.trolltech.qt.gui.QPainter, com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QFont, java.lang.String)"><!-- --></A><H3>
textRectangle</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>textRectangle</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/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                                    <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font,
                                    java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
createEditor</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>createEditor</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent,
                            <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                            <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Returns the widget used to edit the item specified by <tt>index</tt> for editing. The <tt>parent</tt> widget and style <tt>option</tt> are used to control how the editor widget appears.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#createEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">createEditor</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QAbstractItemDelegate::createEditor</tt></DL>
</DD>
</DL>
<HR>

<A NAME="drawCheck(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, com.trolltech.qt.core.Qt.CheckState)"><!-- --></A><H3>
drawCheck</H3>
<PRE>
protected void <B>drawCheck</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                         <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                         <A HREF="../../../../com/trolltech/qt/core/Qt.CheckState.html" title="enum in com.trolltech.qt.core">Qt.CheckState</A>&nbsp;state)</PRE>
<DL>
<DD><p>Renders a check indicator within the rectangle specified by <tt>rect</tt>, using the given <tt>painter</tt> and style <tt>option</tt>, using the given <tt>state</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawDecoration(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QPixmap)"><!-- --></A><H3>
drawDecoration</H3>
<PRE>
protected void <B>drawDecoration</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                              <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                              <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A>&nbsp;pixmap)</PRE>
<DL>
<DD><p>Renders the decoration <tt>pixmap</tt> within the rectangle specified by <tt>rect</tt> using the given <tt>painter</tt> and style <tt>option</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawDisplay(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect, java.lang.String)"><!-- --></A><H3>
drawDisplay</H3>
<PRE>
protected void <B>drawDisplay</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                           <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect,
                           java.lang.String&nbsp;text)</PRE>
<DL>
<DD><p>Renders the item view <tt>text</tt> within the rectangle specified by <tt>rect</tt> using the given <tt>painter</tt> and style <tt>option</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="drawFocus(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QRect)"><!-- --></A><H3>
drawFocus</H3>
<PRE>
protected void <B>drawFocus</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/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                         <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;rect)</PRE>
<DL>
<DD><p>Renders the region within the rectangle specified by <tt>rect</tt>, indicating that it has the focus, using the given <tt>painter</tt> and style <tt>option</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="editorEvent(com.trolltech.qt.core.QEvent, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
editorEvent</H3>
<PRE>
public boolean <B>editorEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event,
                           <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model,
                           <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                           <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#editorEvent(com.trolltech.qt.core.QEvent, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">editorEvent</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
eventFilter</H3>
<PRE>
public boolean <B>eventFilter</B>(<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;object,
                           <A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>Returns true if the given <tt>object</tt> is a valid <a href="QWidget.html"><tt>QWidget</tt></a> and the given <tt>event</tt> is handled; otherwise returns false. The following key press events are handled by default:</p>
<ul>
<li><b>Tab</b></li>
<li><b>Backtab</b></li>
<li><b>Enter</b></li>
<li><b>Return</b></li>
<li><b>Esc</b></li>
</ul>
<p>In the case of <b>Tab</b>, <b>Backtab</b>, <b>Enter</b> and <b>Return</b> key press events, the <tt>object</tt>'s data is comitted to the model and the editor is closed. If the <tt>event</tt> is a <b>Tab</b> key press the view will open an editor on the next item in the view. Likewise, if the <tt>event</tt> is a <b>Backtab</b> key press the view will open an editor on the <i>previous</i> item in the view.</p>
<p>If the event is a <b>Esc</b> key press event, the <tt>object</tt> is closed <i>without</i> committing its data.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</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="QItemDelegate.html#commitData(com.trolltech.qt.gui.QWidget)"><tt>commitData</tt></a>, 
<a href="QItemDelegate.html#closeEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAbstractItemDelegate.EndEditHint)"><tt>closeEditor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
paint</H3>
<PRE>
public void <B>paint</B>(<A HREF="../../../../com/trolltech/qt/gui/QPainter.html" title="class in com.trolltech.qt.gui">QPainter</A>&nbsp;painter,
                  <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                  <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Renders the delegate using the given <tt>painter</tt> and style <tt>option</tt> for the item specified by <tt>index</tt>.</p>
<p>When reimplementing this function in a subclass, you should update the area held by the option's rect</tt> variable, using the option's state</tt> variable to determine the state of the item to be displayed, and adjust the way it is painted accordingly.</p>
<p>For example, a selected item may need to be displayed differently to unselected items, as shown in the following code:</p>
<pre>        if (option.state &amp; QStyle::State_Selected)
            painter-&gt;fillRect(option.rect, option.palette.highlight());

        int size = qMin(option.rect.width(), option.rect.height());
        int brightness = index.model()-&gt;data(index, Qt::DisplayRole).toInt();
        double radius = (size/2.0) - (brightness/255.0 * size/2.0);
        if (radius == 0.0)
            return;

        painter-&gt;save();
        painter-&gt;setRenderHint(QPainter::Antialiasing, true);
        painter-&gt;setPen(Qt::NoPen);
        if (option.state &amp; QStyle::State_Selected)
            painter-&gt;setBrush(option.palette.highlightedText());
        else
        ...</pre>
<p>After painting, you should ensure that the painter is returned to its the state it was supplied in when this function was called. For example, it may be useful to call QPainter::save() before painting and QPainter::restore() afterwards.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">paint</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QStyle::State</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setEditorData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
setEditorData</H3>
<PRE>
public void <B>setEditorData</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;editor,
                          <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Sets the data to be displayed and edited by the <tt>editor</tt> for the item specified by <tt>index</tt>.</p>
<p>The default implementation uses the editor's user property to set values.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#setEditorData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QModelIndex)">setEditorData</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QMetaProperty::isUser</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setModelData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
setModelData</H3>
<PRE>
public void <B>setModelData</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;editor,
                         <A HREF="../../../../com/trolltech/qt/core/QAbstractItemModel.html" title="class in com.trolltech.qt.core">QAbstractItemModel</A>&nbsp;model,
                         <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Sets the data for the specified <tt>model</tt> and item <tt>index</tt> from that supplied by the <tt>editor</tt>.</p>
<p>The default implementation uses the editor's user property to get values.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#setModelData(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QAbstractItemModel, com.trolltech.qt.core.QModelIndex)">setModelData</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QMetaProperty::isUser</tt></DL>
</DD>
</DL>
<HR>

<A NAME="sizeHint(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
sizeHint</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>sizeHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                      <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Returns the size needed by the delegate to display the item specified by <tt>index</tt>, taking into account the style information provided by <tt>option</tt>.</p>
<p>When reimplementing this function, note that in case of text items, <a href="QItemDelegate.html#QItemDelegate(com.trolltech.qt.core.QObject)"><tt>QItemDelegate</tt></a> adds a margin (i.e&#x2e; 2 * QStyle::PM_FocusFrameHMargin) to the length of the text.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#sizeHint(com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">sizeHint</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="updateEditorGeometry(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)"><!-- --></A><H3>
updateEditorGeometry</H3>
<PRE>
public void <B>updateEditorGeometry</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;editor,
                                 <A HREF="../../../../com/trolltech/qt/gui/QStyleOptionViewItem.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItem</A>&nbsp;option,
                                 <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A>&nbsp;index)</PRE>
<DL>
<DD><p>Updates the <tt>editor</tt> for the item specified by <tt>index</tt> according to the style <tt>option</tt> given.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html#updateEditorGeometry(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QStyleOptionViewItem, com.trolltech.qt.core.QModelIndex)">updateEditorGeometry</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/gui/QAbstractItemDelegate.html" title="class in com.trolltech.qt.gui">QAbstractItemDelegate</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QItemDelegate.html" title="class in com.trolltech.qt.gui">QItemDelegate</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 QItemDelegate 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/QIntValidator.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QItemEditorCreatorBase.html" title="class in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QItemDelegate.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QItemDelegate.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_classes_inherited_from_class_com.trolltech.qt.gui.QAbstractItemDelegate">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.trolltech.qt.gui.QAbstractItemDelegate">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;FIELD&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>