<!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 16:57:45 CEST 2007 --> <TITLE> Qt.ItemDataRole </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.core.Qt.ItemDataRole class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Qt.ItemDataRole"; } </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/Qt.InputMethodQuery.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlag.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/Qt.ItemDataRole.html" target="_top"><B>FRAMES</B></A> <A HREF="Qt.ItemDataRole.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | METHOD</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.core</FONT> <BR> Class Qt.ItemDataRole</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.Qt.ItemDataRole</B> </PRE> <DL> <DT><B>Enclosing interface:</B><DD><A HREF="../../../../com/trolltech/qt/core/Qt.html" title="interface in com.trolltech.qt.core">Qt</A></DD> </DL> <HR> <DL> <DT><PRE>public static class <B>Qt.ItemDataRole</B><DT>extends java.lang.Object</DL> </PRE> <P> <p>Each item in the model has a set of data elements associated with it, each with its own role. The roles are used by the view to indicate to the model which type of data it needs.</p> <p>The general purpose roles are:</p> <p><table border="1" cellpadding="2" cellspacing="1" width="100%"> <tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr> <tr><td valign="top"><tt>DisplayRole</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The key data to be rendered (usually text).</td></tr> <tr><td valign="top"><tt>DecorationRole</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The data to be rendered as a decoration (usually an icon).</td></tr> <tr><td valign="top"><tt>EditRole</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The data in a form suitable for editing in an editor.</td></tr> <tr><td valign="top"><tt>ToolTipRole</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The data displayed in the item's tooltip.</td></tr> <tr><td valign="top"><tt>StatusTipRole</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">The data displayed in the status bar.</td></tr> <tr><td valign="top"><tt>WhatsThisRole</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">The data displayed for the item in "What's This?" mode.</td></tr> <tr><td valign="top"><tt>SizeHintRole</tt></td><td align="center" valign="top"><tt>13</tt></td><td valign="top">The size hint for the item that will be supplied to views.</td></tr> </table></p> <p>Roles describing appearance and meta data:</p> <p><table border="1" cellpadding="2" cellspacing="1" width="100%"> <tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr> <tr><td valign="top"><tt>FontRole</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">The font used for items rendered with the default delegate.</td></tr> <tr><td valign="top"><tt>TextAlignmentRole</tt></td><td align="center" valign="top"><tt>7</tt></td><td valign="top">The alignment of the text for items rendered with the default delegate.</td></tr> <tr><td valign="top"><tt>BackgroundRole</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">The background brush used for items rendered with the default delegate.</td></tr> <tr><td valign="top"><tt>BackgroundColorRole</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">This role is obsolete. Use <a href="Qt.html#ItemDataRole-enum"><tt>BackgroundRole</tt></a> instead.</td></tr> <tr><td valign="top"><tt>ForegroundRole</tt></td><td align="center" valign="top"><tt>9</tt></td><td valign="top">The foreground brush (text color, typically) used for items rendered with the default delegate.</td></tr> <tr><td valign="top"><tt>TextColorRole</tt></td><td align="center" valign="top"><tt>9</tt></td><td valign="top">This role is obsolete. Use <a href="Qt.html#ItemDataRole-enum"><tt>ForegroundRole</tt></a> instead.</td></tr> <tr><td valign="top"><tt>CheckStateRole</tt></td><td align="center" valign="top"><tt>10</tt></td><td valign="top">This role is used to obtain the checked state of an item (see <tt>Qt::CheckState</tt>).</td></tr> </table></p> <p>Accessibility roles:</p> <p><table border="1" cellpadding="2" cellspacing="1" width="100%"> <tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr> <tr><td valign="top"><tt>AccessibleTextRole</tt></td><td align="center" valign="top"><tt>11</tt></td><td valign="top">The text to be used by accessibility extensions and plugins, such as screen readers.</td></tr> <tr><td valign="top"><tt>AccessibleDescriptionRole</tt></td><td align="center" valign="top"><tt>12</tt></td><td valign="top">A description of the item for accessibility purposes.</td></tr> </table></p> <p>User roles:</p> <p><table border="1" cellpadding="2" cellspacing="1" width="100%"> <tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr> <tr><td valign="top"><tt>UserRole</tt></td><td align="center" valign="top"><tt>32</tt></td><td valign="top">The first role that can be used for application-specific purposes.</td></tr> </table></p> <P> <P> <HR> <P> <!-- =========== 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>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#AccessibleDescriptionRole">AccessibleDescriptionRole</A></B></CODE> <BR> A description of the item for accessibility purposes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#AccessibleTextRole">AccessibleTextRole</A></B></CODE> <BR> The text to be used by accessibility extensions and plugins, such as screen readers.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#BackgroundRole">BackgroundRole</A></B></CODE> <BR> The background brush used for items rendered with the default delegate.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#CheckStateRole">CheckStateRole</A></B></CODE> <BR> This role is used to obtain the checked state of an item (see <tt>Qt::CheckState</tt>).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#DecorationRole">DecorationRole</A></B></CODE> <BR> The data to be rendered as a decoration (usually an icon).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#DisplayRole">DisplayRole</A></B></CODE> <BR> The key data to be rendered (usually text).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#EditRole">EditRole</A></B></CODE> <BR> The data in a form suitable for editing in an editor.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#FontRole">FontRole</A></B></CODE> <BR> The font used for items rendered with the default delegate.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#ForegroundRole">ForegroundRole</A></B></CODE> <BR> The foreground brush (text color, typically) used for items rendered with the default delegate.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#SizeHintRole">SizeHintRole</A></B></CODE> <BR> The size hint for the item that will be supplied to views.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#StatusTipRole">StatusTipRole</A></B></CODE> <BR> The data displayed in the status bar.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#TextAlignmentRole">TextAlignmentRole</A></B></CODE> <BR> The alignment of the text for items rendered with the default delegate.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#ToolTipRole">ToolTipRole</A></B></CODE> <BR> The data displayed in the item's tooltip.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#UserRole">UserRole</A></B></CODE> <BR> The first role that can be used for application-specific purposes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/Qt.ItemDataRole.html#WhatsThisRole">WhatsThisRole</A></B></CODE> <BR> The data displayed for the item in "What's This?" mode.</TD> </TR> </TABLE> <!-- ======== 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/core/Qt.ItemDataRole.html#Qt.ItemDataRole()">Qt.ItemDataRole</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== 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> </TABLE> <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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <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="DisplayRole"><!-- --></A><H3> DisplayRole</H3> <PRE> public static final int <B>DisplayRole</B></PRE> <DL> <DD><p>The key data to be rendered (usually text).</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.DisplayRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="DecorationRole"><!-- --></A><H3> DecorationRole</H3> <PRE> public static final int <B>DecorationRole</B></PRE> <DL> <DD><p>The data to be rendered as a decoration (usually an icon).</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.DecorationRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="EditRole"><!-- --></A><H3> EditRole</H3> <PRE> public static final int <B>EditRole</B></PRE> <DL> <DD><p>The data in a form suitable for editing in an editor.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.EditRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="ToolTipRole"><!-- --></A><H3> ToolTipRole</H3> <PRE> public static final int <B>ToolTipRole</B></PRE> <DL> <DD><p>The data displayed in the item's tooltip.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.ToolTipRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="StatusTipRole"><!-- --></A><H3> StatusTipRole</H3> <PRE> public static final int <B>StatusTipRole</B></PRE> <DL> <DD><p>The data displayed in the status bar.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.StatusTipRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="WhatsThisRole"><!-- --></A><H3> WhatsThisRole</H3> <PRE> public static final int <B>WhatsThisRole</B></PRE> <DL> <DD><p>The data displayed for the item in "What's This?" mode.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.WhatsThisRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="FontRole"><!-- --></A><H3> FontRole</H3> <PRE> public static final int <B>FontRole</B></PRE> <DL> <DD><p>The font used for items rendered with the default delegate.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.FontRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="TextAlignmentRole"><!-- --></A><H3> TextAlignmentRole</H3> <PRE> public static final int <B>TextAlignmentRole</B></PRE> <DL> <DD><p>The alignment of the text for items rendered with the default delegate.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.TextAlignmentRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="BackgroundRole"><!-- --></A><H3> BackgroundRole</H3> <PRE> public static final int <B>BackgroundRole</B></PRE> <DL> <DD><p>The background brush used for items rendered with the default delegate.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.BackgroundRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="ForegroundRole"><!-- --></A><H3> ForegroundRole</H3> <PRE> public static final int <B>ForegroundRole</B></PRE> <DL> <DD><p>The foreground brush (text color, typically) used for items rendered with the default delegate.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.ForegroundRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="CheckStateRole"><!-- --></A><H3> CheckStateRole</H3> <PRE> public static final int <B>CheckStateRole</B></PRE> <DL> <DD><p>This role is used to obtain the checked state of an item (see <tt>Qt::CheckState</tt>).</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.CheckStateRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="AccessibleTextRole"><!-- --></A><H3> AccessibleTextRole</H3> <PRE> public static final int <B>AccessibleTextRole</B></PRE> <DL> <DD><p>The text to be used by accessibility extensions and plugins, such as screen readers.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.AccessibleTextRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="AccessibleDescriptionRole"><!-- --></A><H3> AccessibleDescriptionRole</H3> <PRE> public static final int <B>AccessibleDescriptionRole</B></PRE> <DL> <DD><p>A description of the item for accessibility purposes.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.AccessibleDescriptionRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="SizeHintRole"><!-- --></A><H3> SizeHintRole</H3> <PRE> public static final int <B>SizeHintRole</B></PRE> <DL> <DD><p>The size hint for the item that will be supplied to views.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.SizeHintRole">Constant Field Values</A></DL> </DL> <HR> <A NAME="UserRole"><!-- --></A><H3> UserRole</H3> <PRE> public static final int <B>UserRole</B></PRE> <DL> <DD><p>The first role that can be used for application-specific purposes.</p> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.trolltech.qt.core.Qt.ItemDataRole.UserRole">Constant Field Values</A></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="Qt.ItemDataRole()"><!-- --></A><H3> Qt.ItemDataRole</H3> <PRE> public <B>Qt.ItemDataRole</B>()</PRE> <DL> </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/core/Qt.InputMethodQuery.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlag.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/core/Qt.ItemDataRole.html" target="_top"><B>FRAMES</B></A> <A HREF="Qt.ItemDataRole.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>