<!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:04:17 CEST 2007 --> <TITLE> QStandardItem </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.gui.QStandardItem class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QStandardItem"; } </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/gui/QStackedWidget.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.ItemType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QStandardItem.html" target="_top"><B>FRAMES</B></A> <A HREF="QStandardItem.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 QStandardItem</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 "><B>com.trolltech.qt.gui.QStandardItem</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>QStandardItem</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL> </PRE> <P> <p>The <a href="QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QStandardItem)"><tt>QStandardItem</tt></a> class provides an item for use with the <a href="QStandardItemModel.html"><tt>QStandardItemModel</tt></a> class.</p> <p>Items usually contain text, icons, or checkboxes.</p> <p>Each item can have its own background brush which is set with the <a href="QStandardItem.html#setBackground(com.trolltech.qt.gui.QBrush)"><tt>setBackground</tt></a> function. The current background brush can be found with <a href="QStandardItem.html#background()"><tt>background</tt></a>. The text label for each item can be rendered with its own font and brush. These are specified with the <a href="QStandardItem.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a> and <a href="QStandardItem.html#setForeground(com.trolltech.qt.gui.QBrush)"><tt>setForeground</tt></a> functions, and read with <a href="QStandardItem.html#font()"><tt>font</tt></a> and <a href="QStandardItem.html#foreground()"><tt>foreground</tt></a>.</p> <p>By default, items are enabled, editable, selectable, checkable, and can be used both as the source of a drag and drop operation and as a drop target. Each item's flags can be changed by calling <a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a>. Checkable items can be checked and unchecked with the <a href="QStandardItem.html#setCheckState(com.trolltech.qt.core.Qt.CheckState)"><tt>setCheckState</tt></a> function. The corresponding <a href="QStandardItem.html#checkState()"><tt>checkState</tt></a> function indicates whether the item is currently checked.</p> <p>You can store application-specific data in an item by calling <a href="QStandardItem.html#setData(java.lang.Object, int)"><tt>setData</tt></a>.</p> <p>Each item can have a two-dimensional table of child items. This makes it possible to build hierarchies of items. The typical hierarchy is the tree, in which case the child table is a table with a single column (a list).</p> <p>The dimensions of the child table can be set with <a href="QStandardItem.html#setRowCount(int)"><tt>setRowCount</tt></a> and <a href="QStandardItem.html#setColumnCount(int)"><tt>setColumnCount</tt></a>. Items can be positioned in the child table with <a href="QStandardItem.html#setChild(int, com.trolltech.qt.gui.QStandardItem)"><tt>setChild</tt></a>. Get a pointer to a child item with <a href="QStandardItem.html#child(int, int)"><tt>child</tt></a>. New rows and columns of children can also be inserted with <a href="QStandardItem.html#insertRow(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertRow</tt></a> and <a href="QStandardItem.html#insertColumn(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertColumn</tt></a>, or appended with <a href="QStandardItem.html#appendRow(java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>appendRow</tt></a> and <a href="QStandardItem.html#appendColumn(java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>appendColumn</tt></a>. When using the append and insert functions, the dimensions of the child table will grow as needed.</p> <p>An existing row of children can be removed with <a href="QStandardItem.html#removeRow(int)"><tt>removeRow</tt></a> or <a href="QStandardItem.html#takeRow(int)"><tt>takeRow</tt></a>; correspondingly, a column can be removed with <a href="QStandardItem.html#removeColumn(int)"><tt>removeColumn</tt></a> or <a href="QStandardItem.html#takeColumn(int)"><tt>takeColumn</tt></a>.</p> <p>An item's children can be sorted by calling <a href="QStandardItem.html#sortChildren(int, com.trolltech.qt.core.Qt.SortOrder)"><tt>sortChildren</tt></a>.</p> <a name="subclassing"></a> <h3>Subclassing</h3> <p>When subclassing <a href="QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QStandardItem)"><tt>QStandardItem</tt></a> to provide custom items, it is possible to define new types for them so that they can be distinguished from the base class. The <a href="QStandardItem.html#type()"><tt>type</tt></a> function should be reimplemented to return a new type value equal to or greater than <a href="QStandardItem.html#ItemType-enum"><tt>UserType</tt></a>.</p> <p>Reimplement <a href="QStandardItem.html#data(int)"><tt>data</tt></a> and <a href="QStandardItem.html#setData(java.lang.Object, int)"><tt>setData</tt></a> if you want to perform custom handling of data queries and/or control how an item's data is represented.</p> <p>Reimplement <a href="QStandardItem.html#clone()"><tt>clone</tt></a> if you want <a href="QStandardItemModel.html"><tt>QStandardItemModel</tt></a> to be able to create instances of your custom item class on demand (see QStandardItemModel::setItemPrototype()).</p> <p>Reimplement <a href="QStandardItem.html#read(com.trolltech.qt.core.QDataStream)"><tt>read</tt></a> and <a href="QStandardItem.html#write(com.trolltech.qt.core.QDataStream)"><tt>write</tt></a> if you want to control how items are represented in their serialized form.</p> <p>Reimplement <tt>operator<</tt> if you want to control the semantics of item comparison. <tt>operator<</tt> determines the sorted order when sorting items with <a href="QStandardItem.html#sortChildren(int, com.trolltech.qt.core.Qt.SortOrder)"><tt>sortChildren</tt></a> or with QStandardItemModel::sort().</p> <P> <P> <DL> <DT><B>See Also:</B><DD><a href="QStandardItemModel.html"><tt>QStandardItemModel</tt></a>, <a href="%2E%2E/model-view-convenience.html">Item View Convenience Classes</tt></a>, <a href="%2E%2E/model-view-programming.html">Model/View Programming</tt></a></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.ItemType.html" title="enum in com.trolltech.qt.gui">QStandardItem.ItemType</A></B></CODE> <BR> This enum describes the types that are used to describe standard items.</TD> </TR> </TABLE> <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><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<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>></CODE></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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#QStandardItem()">QStandardItem</A></B>()</CODE> <BR> Constructs an item.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#QStandardItem(int)">QStandardItem</A></B>(int rows)</CODE> <BR> Equivalent to <a href="QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QStandardItem)"><tt>QStandardItem</tt></a>(<tt>rows</tt>, 1).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#QStandardItem(int, int)">QStandardItem</A></B>(int rows, int columns)</CODE> <BR> Constructs an item with <tt>rows</tt> rows and <tt>columns</tt> columns of child items.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QIcon, java.lang.String)">QStandardItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> icon, java.lang.String text)</CODE> <BR> Constructs an item with the given <tt>icon</tt> and <tt>text</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QStandardItem)">QStandardItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> other)</CODE> <BR> Constructs a copy of <tt>other</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#QStandardItem(java.lang.String)">QStandardItem</A></B>(java.lang.String text)</CODE> <BR> Constructs an item with the given <tt>text</tt>.</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> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#accessibleDescription()">accessibleDescription</A></B>()</CODE> <BR> Returns the item's accessible description.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#accessibleText()">accessibleText</A></B>()</CODE> <BR> Returns the item's accessible text.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#appendColumn(java.util.List)">appendColumn</A></B>(java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</CODE> <BR> Appends a column containing <tt>items</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#appendRow(java.util.List)">appendRow</A></B>(java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</CODE> <BR> Appends a row containing <tt>items</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#appendRow(com.trolltech.qt.gui.QStandardItem)">appendRow</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</CODE> <BR> Appends a row containing <tt>item</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#appendRows(java.util.List)">appendRows</A></B>(java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</CODE> <BR> Appends rows containing <tt>items</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#background()">background</A></B>()</CODE> <BR> Returns the brush used to render the item's background.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.CheckState.html" title="enum in com.trolltech.qt.core">Qt.CheckState</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#checkState()">checkState</A></B>()</CODE> <BR> Returns the checked state of the item.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#child(int)">child</A></B>(int row)</CODE> <BR> Equivalent to <a href="QStandardItem.html#child(int, int)">child</tt></a>(<tt>row</tt>, 0).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#child(int, int)">child</A></B>(int row, int column)</CODE> <BR> Returns the child item at (<tt>row</tt>, <tt>column</tt>) if one has been set; otherwise returns 0.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#clone()">clone</A></B>()</CODE> <BR> Returns a copy of this item.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#column()">column</A></B>()</CODE> <BR> Returns the column where the item is located in its parent's child table, or -1 if the item has no parent.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#columnCount()">columnCount</A></B>()</CODE> <BR> Returns the number of child item columns that the item has.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#data()">data</A></B>()</CODE> <BR> Equivalent to <a href="QStandardItem.html#data(int)">data</tt></a>(Qt::UserRole + 1).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#data(int)">data</A></B>(int role)</CODE> <BR> Returns the item's data for the given <tt>role</tt>, or an invalid <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> if there is no data for the role.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlags.html" title="class in com.trolltech.qt.core">Qt.ItemFlags</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#flags()">flags</A></B>()</CODE> <BR> Returns the item flags for the item.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#font()">font</A></B>()</CODE> <BR> Returns the font used to render the item's text.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#foreground()">foreground</A></B>()</CODE> <BR> Returns the brush used to render the item's foreground (e.g. text).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QStandardItem instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#hasChildren()">hasChildren</A></B>()</CODE> <BR> Returns true if this item has any children; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#icon()">icon</A></B>()</CODE> <BR> Returns the item's icon.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#index()">index</A></B>()</CODE> <BR> Returns the QModelIndex associated with this item.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#insertColumn(int, java.util.List)">insertColumn</A></B>(int column, java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</CODE> <BR> Inserts a column at <tt>column</tt> containing <tt>items</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#insertColumns(int, int)">insertColumns</A></B>(int column, int count)</CODE> <BR> Inserts <tt>count</tt> columns of child items at column <tt>column</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#insertRow(int, java.util.List)">insertRow</A></B>(int row, java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</CODE> <BR> Inserts a row at <tt>row</tt> containing <tt>items</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#insertRow(int, com.trolltech.qt.gui.QStandardItem)">insertRow</A></B>(int row, <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</CODE> <BR> Inserts a row at <tt>row</tt> containing <tt>item</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#insertRows(int, int)">insertRows</A></B>(int row, int count)</CODE> <BR> Inserts <tt>count</tt> rows of child items at row <tt>row</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#insertRows(int, java.util.List)">insertRows</A></B>(int row, java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</CODE> <BR> Inserts <tt>items</tt> at <tt>row</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#isCheckable()">isCheckable</A></B>()</CODE> <BR> Returns whether the item is user-checkable.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#isDragEnabled()">isDragEnabled</A></B>()</CODE> <BR> Returns whether the item is drag enabled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#isDropEnabled()">isDropEnabled</A></B>()</CODE> <BR> Returns whether the item is drop enabled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#isEditable()">isEditable</A></B>()</CODE> <BR> Returns whether the item can be edited by the user.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#isEnabled()">isEnabled</A></B>()</CODE> <BR> Returns whether the item is enabled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#isSelectable()">isSelectable</A></B>()</CODE> <BR> Returns whether the item is selectable by the user.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#isTristate()">isTristate</A></B>()</CODE> <BR> Returns whether the item is tristate; that is, if it's checkable with tree separate states.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStandardItemModel.html" title="class in com.trolltech.qt.gui">QStandardItemModel</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#model()">model</A></B>()</CODE> <BR> Returns the <a href="QStandardItemModel.html"><tt>QStandardItemModel</tt></a> that this item belongs to.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#parent()">parent</A></B>()</CODE> <BR> Returns the item's parent item, or 0 if the item has no parent.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#read(com.trolltech.qt.core.QDataStream)">read</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> in)</CODE> <BR> Reads the item from stream <tt>in</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> in)</CODE> <BR> Reads a QStandardItem from in.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#removeColumn(int)">removeColumn</A></B>(int column)</CODE> <BR> Removes the given <tt>column</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#removeColumns(int, int)">removeColumns</A></B>(int column, int count)</CODE> <BR> Removes <tt>count</tt> columns at column <tt>column</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#removeRow(int)">removeRow</A></B>(int row)</CODE> <BR> Removes the given <tt>row</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#removeRows(int, int)">removeRows</A></B>(int row, int count)</CODE> <BR> Removes <tt>count</tt> rows at row <tt>row</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#row()">row</A></B>()</CODE> <BR> Returns the row where the item is located in its parent's child table, or -1 if the item has no parent.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#rowCount()">rowCount</A></B>()</CODE> <BR> Returns the number of child item rows that the item has.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setAccessibleDescription(java.lang.String)">setAccessibleDescription</A></B>(java.lang.String accessibleDescription)</CODE> <BR> Sets the item's accessible description to the string specified by <tt>accessibleDescription</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setAccessibleText(java.lang.String)">setAccessibleText</A></B>(java.lang.String accessibleText)</CODE> <BR> Sets the item's accessible text to the string specified by <tt>accessibleText</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setBackground(com.trolltech.qt.gui.QBrush)">setBackground</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> brush)</CODE> <BR> Sets the item's background brush to the specified <tt>brush</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setCheckable(boolean)">setCheckable</A></B>(boolean checkable)</CODE> <BR> Sets whether the item is user-checkable.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setCheckState(com.trolltech.qt.core.Qt.CheckState)">setCheckState</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CheckState.html" title="enum in com.trolltech.qt.core">Qt.CheckState</A> checkState)</CODE> <BR> Sets the check state of the item to be <tt>checkState</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setChild(int, int, com.trolltech.qt.gui.QStandardItem)">setChild</A></B>(int row, int column, <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</CODE> <BR> Sets the child item at (<tt>row</tt>, <tt>column</tt>) to <tt>item</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setChild(int, com.trolltech.qt.gui.QStandardItem)">setChild</A></B>(int row, <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</CODE> <BR> Sets the child at <tt>row</tt> to <tt>item</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setColumnCount(int)">setColumnCount</A></B>(int columns)</CODE> <BR> Sets the number of child item columns to <tt>columns</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setData(java.lang.Object)">setData</A></B>(java.lang.Object value)</CODE> <BR> Equivalent to <a href="QStandardItem.html#setData(java.lang.Object, int)"><tt>setData</tt></a>(<tt>value</tt>, Qt::UserRole + 1).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setData(java.lang.Object, int)">setData</A></B>(java.lang.Object value, int role)</CODE> <BR> Sets the item's data for the given <tt>role</tt> to the specified <tt>value</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setDragEnabled(boolean)">setDragEnabled</A></B>(boolean dragEnabled)</CODE> <BR> Sets whether the item is drag enabled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setDropEnabled(boolean)">setDropEnabled</A></B>(boolean dropEnabled)</CODE> <BR> Sets whether the item is drop enabled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setEditable(boolean)">setEditable</A></B>(boolean editable)</CODE> <BR> Sets whether the item is editable.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setEnabled(boolean)">setEnabled</A></B>(boolean enabled)</CODE> <BR> Sets whether the item is enabled.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlag...)">setFlags</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlag.html" title="enum in com.trolltech.qt.core">Qt.ItemFlag</A>... flags)</CODE> <BR> Sets the item flags for the item to <tt>flags</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)">setFlags</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlags.html" title="class in com.trolltech.qt.core">Qt.ItemFlags</A> flags)</CODE> <BR> Sets the item flags for the item to <tt>flags</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setFont(com.trolltech.qt.gui.QFont)">setFont</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> font)</CODE> <BR> Sets the font used to display the item's text to the given <tt>font</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setForeground(com.trolltech.qt.gui.QBrush)">setForeground</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> brush)</CODE> <BR> Sets the brush used to display the item's foreground (e.g. text) to the given <tt>brush</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setIcon(com.trolltech.qt.gui.QIcon)">setIcon</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> icon)</CODE> <BR> Sets the item's icon to the <tt>icon</tt> specified.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setRowCount(int)">setRowCount</A></B>(int rows)</CODE> <BR> Sets the number of child item rows to <tt>rows</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setSelectable(boolean)">setSelectable</A></B>(boolean selectable)</CODE> <BR> Sets whether the item is selectable.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setSizeHint(com.trolltech.qt.core.QSize)">setSizeHint</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> sizeHint)</CODE> <BR> Sets the size hint for the item to be <tt>sizeHint</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setStatusTip(java.lang.String)">setStatusTip</A></B>(java.lang.String statusTip)</CODE> <BR> Sets the item's status tip to the string specified by <tt>statusTip</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setText(java.lang.String)">setText</A></B>(java.lang.String text)</CODE> <BR> Sets the item's text to the <tt>text</tt> specified.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setTextAlignment(com.trolltech.qt.core.Qt.Alignment)">setTextAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> textAlignment)</CODE> <BR> Sets the text alignment for the item's text to the <tt>textAlignment</tt> specified.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setTextAlignment(com.trolltech.qt.core.Qt.AlignmentFlag...)">setTextAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>... textAlignment)</CODE> <BR> Sets the text alignment for the item's text to the <tt>textAlignment</tt> specified.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setToolTip(java.lang.String)">setToolTip</A></B>(java.lang.String toolTip)</CODE> <BR> Sets the item's tooltip to the string specified by <tt>toolTip</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setTristate(boolean)">setTristate</A></B>(boolean tristate)</CODE> <BR> Sets whether the item is tristate.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#setWhatsThis(java.lang.String)">setWhatsThis</A></B>(java.lang.String whatsThis)</CODE> <BR> Sets the item's "What's This?" help to the string specified by <tt>whatsThis</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/QStandardItem.html#sizeHint()">sizeHint</A></B>()</CODE> <BR> Returns the size hint set for the item, or an invalid <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a> if no size hint has been set.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#sortChildren(int)">sortChildren</A></B>(int column)</CODE> <BR> Equivalent to <a href="QStandardItem.html#sortChildren(int, com.trolltech.qt.core.Qt.SortOrder)"><tt>sortChildren</tt></a>(<tt>column</tt>, Qt::AscendingOrder).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#sortChildren(int, com.trolltech.qt.core.Qt.SortOrder)">sortChildren</A></B>(int column, <A HREF="../../../../com/trolltech/qt/core/Qt.SortOrder.html" title="enum in com.trolltech.qt.core">Qt.SortOrder</A> order)</CODE> <BR> Sorts the children of the item using the given <tt>order</tt>, by the values in the given <tt>column</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#statusTip()">statusTip</A></B>()</CODE> <BR> Returns the item's status tip.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#takeChild(int)">takeChild</A></B>(int row)</CODE> <BR> Equivalent to <a href="QStandardItem.html#takeChild(int, int)"><tt>takeChild</tt></a>(<tt>row</tt>, 0).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#takeChild(int, int)">takeChild</A></B>(int row, int column)</CODE> <BR> Removes the child item at (<tt>row</tt>, <tt>column</tt>) without deleting it, and returns a pointer to the item.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#takeColumn(int)">takeColumn</A></B>(int column)</CODE> <BR> Removes <tt>column</tt> without deleting the column items, and returns a list of pointers to the removed items.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#takeRow(int)">takeRow</A></B>(int row)</CODE> <BR> Removes <tt>row</tt> without deleting the row items, and returns a list of pointers to the removed items.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#text()">text</A></B>()</CODE> <BR> Returns the item's text.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#textAlignment()">textAlignment</A></B>()</CODE> <BR> Returns the text alignment for the item's text.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#toolTip()">toolTip</A></B>()</CODE> <BR> Returns the item's tooltip.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#type()">type</A></B>()</CODE> <BR> Returns the type of this item.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#whatsThis()">whatsThis</A></B>()</CODE> <BR> Returns the item's "What's This?" help.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#write(com.trolltech.qt.core.QDataStream)">write</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> out)</CODE> <BR> Writes the item to stream <tt>out</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> out)</CODE> <BR> Writes thisQStandardItem to out.</TD> </TR> </TABLE> <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> <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#blockSignals(boolean)">blockSignals</A>, <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#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD> </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>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <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> <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="QStandardItem(java.lang.String)"><!-- --></A><H3> QStandardItem</H3> <PRE> public <B>QStandardItem</B>(java.lang.String text)</PRE> <DL> <DD><p>Constructs an item with the given <tt>text</tt>.</p> <P> </DL> <HR> <A NAME="QStandardItem(int)"><!-- --></A><H3> QStandardItem</H3> <PRE> public <B>QStandardItem</B>(int rows)</PRE> <DL> <DD><p>Equivalent to <a href="QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QStandardItem)"><tt>QStandardItem</tt></a>(<tt>rows</tt>, 1). <P> </DL> <HR> <A NAME="QStandardItem(int, int)"><!-- --></A><H3> QStandardItem</H3> <PRE> public <B>QStandardItem</B>(int rows, int columns)</PRE> <DL> <DD><p>Constructs an item with <tt>rows</tt> rows and <tt>columns</tt> columns of child items.</p> <P> </DL> <HR> <A NAME="QStandardItem(com.trolltech.qt.gui.QIcon, java.lang.String)"><!-- --></A><H3> QStandardItem</H3> <PRE> public <B>QStandardItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> icon, java.lang.String text)</PRE> <DL> <DD><p>Constructs an item with the given <tt>icon</tt> and <tt>text</tt>.</p> <P> </DL> <HR> <A NAME="QStandardItem()"><!-- --></A><H3> QStandardItem</H3> <PRE> public <B>QStandardItem</B>()</PRE> <DL> <DD><p>Constructs an item.</p> <P> </DL> <HR> <A NAME="QStandardItem(com.trolltech.qt.gui.QStandardItem)"><!-- --></A><H3> QStandardItem</H3> <PRE> protected <B>QStandardItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> other)</PRE> <DL> <DD><p>Constructs a copy of <tt>other</tt>. Note that <a href="QStandardItem.html#model()"><tt>model</tt></a> is not copied.</p> <p>This function is useful when reimplementing <a href="QStandardItem.html#clone()"><tt>clone</tt></a>.</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="accessibleDescription()"><!-- --></A><H3> accessibleDescription</H3> <PRE> public final java.lang.String <B>accessibleDescription</B>()</PRE> <DL> <DD><p>Returns the item's accessible description.</p> <p>The accessible description is used by assistive technologies (i.e. for users who cannot use conventional means of interaction).</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setAccessibleDescription(java.lang.String)"><tt>setAccessibleDescription</tt></a>, <a href="QStandardItem.html#accessibleText()"><tt>accessibleText</tt></a></DL> </DD> </DL> <HR> <A NAME="accessibleText()"><!-- --></A><H3> accessibleText</H3> <PRE> public final java.lang.String <B>accessibleText</B>()</PRE> <DL> <DD><p>Returns the item's accessible text.</p> <p>The accessible text is used by assistive technologies (i.e. for users who cannot use conventional means of interaction).</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setAccessibleText(java.lang.String)"><tt>setAccessibleText</tt></a>, <a href="QStandardItem.html#accessibleDescription()"><tt>accessibleDescription</tt></a></DL> </DD> </DL> <HR> <A NAME="appendColumn(java.util.List)"><!-- --></A><H3> appendColumn</H3> <PRE> public final void <B>appendColumn</B>(java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</PRE> <DL> <DD><p>Appends a column containing <tt>items</tt>. If necessary, the row count is increased to the size of <tt>items</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertColumn(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertColumn</tt></a></DL> </DD> </DL> <HR> <A NAME="appendRow(com.trolltech.qt.gui.QStandardItem)"><!-- --></A><H3> appendRow</H3> <PRE> public final void <B>appendRow</B>(<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</PRE> <DL> <DD><p>Appends a row containing <tt>item</tt>.</p> <p>When building a list or a tree that has only one column, this function provides a convenient way to append a single new item.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="appendRow(java.util.List)"><!-- --></A><H3> appendRow</H3> <PRE> public final void <B>appendRow</B>(java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</PRE> <DL> <DD><p>Appends a row containing <tt>items</tt>. If necessary, the column count is increased to the size of <tt>items</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertRow(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertRow</tt></a></DL> </DD> </DL> <HR> <A NAME="appendRows(java.util.List)"><!-- --></A><H3> appendRows</H3> <PRE> public final void <B>appendRows</B>(java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</PRE> <DL> <DD><p>Appends rows containing <tt>items</tt>. The column count will not change.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertRow(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertRow</tt></a></DL> </DD> </DL> <HR> <A NAME="background()"><!-- --></A><H3> background</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> <B>background</B>()</PRE> <DL> <DD><p>Returns the brush used to render the item's background.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#foreground()"><tt>foreground</tt></a>, <a href="QStandardItem.html#setBackground(com.trolltech.qt.gui.QBrush)"><tt>setBackground</tt></a></DL> </DD> </DL> <HR> <A NAME="checkState()"><!-- --></A><H3> checkState</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.CheckState.html" title="enum in com.trolltech.qt.core">Qt.CheckState</A> <B>checkState</B>()</PRE> <DL> <DD><p>Returns the checked state of the item.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setCheckState(com.trolltech.qt.core.Qt.CheckState)"><tt>setCheckState</tt></a>, <a href="QStandardItem.html#isCheckable()"><tt>isCheckable</tt></a></DL> </DD> </DL> <HR> <A NAME="child(int)"><!-- --></A><H3> child</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> <B>child</B>(int row)</PRE> <DL> <DD><p>Equivalent to <a href="QStandardItem.html#child(int, int)">child</tt></a>(<tt>row</tt>, 0). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="child(int, int)"><!-- --></A><H3> child</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> <B>child</B>(int row, int column)</PRE> <DL> <DD><p>Returns the child item at (<tt>row</tt>, <tt>column</tt>) if one has been set; otherwise returns 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setChild(int, com.trolltech.qt.gui.QStandardItem)"><tt>setChild</tt></a>, <a href="QStandardItem.html#takeChild(int, int)"><tt>takeChild</tt></a>, <a href="QStandardItem.html#parent()"><tt>parent</tt></a></DL> </DD> </DL> <HR> <A NAME="column()"><!-- --></A><H3> column</H3> <PRE> public final int <B>column</B>()</PRE> <DL> <DD><p>Returns the column where the item is located in its parent's child table, or -1 if the item has no parent.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#row()"><tt>row</tt></a>, <a href="QStandardItem.html#parent()"><tt>parent</tt></a></DL> </DD> </DL> <HR> <A NAME="columnCount()"><!-- --></A><H3> columnCount</H3> <PRE> public final int <B>columnCount</B>()</PRE> <DL> <DD><p>Returns the number of child item columns that the item has.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setColumnCount(int)"><tt>setColumnCount</tt></a>, <a href="QStandardItem.html#rowCount()"><tt>rowCount</tt></a></DL> </DD> </DL> <HR> <A NAME="flags()"><!-- --></A><H3> flags</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlags.html" title="class in com.trolltech.qt.core">Qt.ItemFlags</A> <B>flags</B>()</PRE> <DL> <DD><p>Returns the item flags for the item.</p> <p>The item flags determine how the user can interact with the item.</p> <p>By default, items are enabled, editable, selectable, checkable, and can be used both as the source of a drag and drop operation and as a drop target.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a></DL> </DD> </DL> <HR> <A NAME="font()"><!-- --></A><H3> font</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>font</B>()</PRE> <DL> <DD><p>Returns the font used to render the item's text.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a></DL> </DD> </DL> <HR> <A NAME="foreground()"><!-- --></A><H3> foreground</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> <B>foreground</B>()</PRE> <DL> <DD><p>Returns the brush used to render the item's foreground (e.g. text).</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setForeground(com.trolltech.qt.gui.QBrush)"><tt>setForeground</tt></a>, <a href="QStandardItem.html#background()"><tt>background</tt></a></DL> </DD> </DL> <HR> <A NAME="hasChildren()"><!-- --></A><H3> hasChildren</H3> <PRE> public final boolean <B>hasChildren</B>()</PRE> <DL> <DD><p>Returns true if this item has any children; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#rowCount()"><tt>rowCount</tt></a>, <a href="QStandardItem.html#columnCount()"><tt>columnCount</tt></a>, <a href="QStandardItem.html#child(int, int)"><tt>child</tt></a></DL> </DD> </DL> <HR> <A NAME="icon()"><!-- --></A><H3> icon</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> <B>icon</B>()</PRE> <DL> <DD><p>Returns the item's icon.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setIcon(com.trolltech.qt.gui.QIcon)"><tt>setIcon</tt></a>, <tt>iconSize</tt></DL> </DD> </DL> <HR> <A NAME="index()"><!-- --></A><H3> index</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QModelIndex.html" title="class in com.trolltech.qt.core">QModelIndex</A> <B>index</B>()</PRE> <DL> <DD><p>Returns the QModelIndex associated with this item.</p> <p>When you need to invoke item functionality in a QModelIndex-based API (e.g. <a href="QAbstractItemView.html"><tt>QAbstractItemView</tt></a>), you can call this function to obtain an index that corresponds to the item's location in the model.</p> <p>If the item is not associated with a model, an invalid QModelIndex is returned.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#model()"><tt>model</tt></a>, <tt>QStandardItemModel::itemFromIndex</tt></DL> </DD> </DL> <HR> <A NAME="insertColumn(int, java.util.List)"><!-- --></A><H3> insertColumn</H3> <PRE> public final void <B>insertColumn</B>(int column, java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</PRE> <DL> <DD><p>Inserts a column at <tt>column</tt> containing <tt>items</tt>. If necessary, the row count is increased to the size of <tt>items</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertColumns(int, int)"><tt>insertColumns</tt></a>, <a href="QStandardItem.html#insertRow(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertRow</tt></a></DL> </DD> </DL> <HR> <A NAME="insertColumns(int, int)"><!-- --></A><H3> insertColumns</H3> <PRE> public final void <B>insertColumns</B>(int column, int count)</PRE> <DL> <DD><p>Inserts <tt>count</tt> columns of child items at column <tt>column</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertColumn(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertColumn</tt></a>, <a href="QStandardItem.html#insertRows(int, int)"><tt>insertRows</tt></a></DL> </DD> </DL> <HR> <A NAME="insertRow(int, com.trolltech.qt.gui.QStandardItem)"><!-- --></A><H3> insertRow</H3> <PRE> public final void <B>insertRow</B>(int row, <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</PRE> <DL> <DD><p>Inserts a row at <tt>row</tt> containing <tt>item</tt>.</p> <p>When building a list or a tree that has only one column, this function provides a convenient way to insert a single new item.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="insertRow(int, java.util.List)"><!-- --></A><H3> insertRow</H3> <PRE> public final void <B>insertRow</B>(int row, java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</PRE> <DL> <DD><p>Inserts a row at <tt>row</tt> containing <tt>items</tt>. If necessary, the column count is increased to the size of <tt>items</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertRows(int, int)"><tt>insertRows</tt></a>, <a href="QStandardItem.html#insertColumn(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertColumn</tt></a></DL> </DD> </DL> <HR> <A NAME="insertRows(int, java.util.List)"><!-- --></A><H3> insertRows</H3> <PRE> public final void <B>insertRows</B>(int row, java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> items)</PRE> <DL> <DD><p>Inserts <tt>items</tt> at <tt>row</tt>. The column count wont be changed.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertRow(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertRow</tt></a>, <a href="QStandardItem.html#insertColumn(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertColumn</tt></a></DL> </DD> </DL> <HR> <A NAME="insertRows(int, int)"><!-- --></A><H3> insertRows</H3> <PRE> public final void <B>insertRows</B>(int row, int count)</PRE> <DL> <DD><p>Inserts <tt>count</tt> rows of child items at row <tt>row</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#insertRow(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertRow</tt></a>, <a href="QStandardItem.html#insertColumns(int, int)"><tt>insertColumns</tt></a></DL> </DD> </DL> <HR> <A NAME="isCheckable()"><!-- --></A><H3> isCheckable</H3> <PRE> public final boolean <B>isCheckable</B>()</PRE> <DL> <DD><p>Returns whether the item is user-checkable.</p> <p>The default value is false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setCheckable(boolean)"><tt>setCheckable</tt></a>, <a href="QStandardItem.html#checkState()"><tt>checkState</tt></a>, <a href="QStandardItem.html#isTristate()"><tt>isTristate</tt></a></DL> </DD> </DL> <HR> <A NAME="isDragEnabled()"><!-- --></A><H3> isDragEnabled</H3> <PRE> public final boolean <B>isDragEnabled</B>()</PRE> <DL> <DD><p>Returns whether the item is drag enabled. An item that is drag enabled can be dragged by the user.</p> <p>The default value is true.</p> <p>Note that item dragging must be enabled in the view for dragging to work; see QAbstractItemView::dragEnabled.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setDragEnabled(boolean)"><tt>setDragEnabled</tt></a>, <a href="QStandardItem.html#isDropEnabled()"><tt>isDropEnabled</tt></a>, <a href="QStandardItem.html#flags()"><tt>flags</tt></a></DL> </DD> </DL> <HR> <A NAME="isDropEnabled()"><!-- --></A><H3> isDropEnabled</H3> <PRE> public final boolean <B>isDropEnabled</B>()</PRE> <DL> <DD><p>Returns whether the item is drop enabled. When an item is drop enabled, it can be used as a drop target.</p> <p>The default value is true.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setDropEnabled(boolean)"><tt>setDropEnabled</tt></a>, <a href="QStandardItem.html#isDragEnabled()"><tt>isDragEnabled</tt></a>, <a href="QStandardItem.html#flags()"><tt>flags</tt></a></DL> </DD> </DL> <HR> <A NAME="isEditable()"><!-- --></A><H3> isEditable</H3> <PRE> public final boolean <B>isEditable</B>()</PRE> <DL> <DD><p>Returns whether the item can be edited by the user.</p> <p>When an item is editable (and enabled), the user can edit the item by invoking one of the view's edit triggers; see QAbstractItemView::editTriggers.</p> <p>The default value is true.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setEditable(boolean)"><tt>setEditable</tt></a>, <a href="QStandardItem.html#flags()"><tt>flags</tt></a></DL> </DD> </DL> <HR> <A NAME="isEnabled()"><!-- --></A><H3> isEnabled</H3> <PRE> public final boolean <B>isEnabled</B>()</PRE> <DL> <DD><p>Returns whether the item is enabled.</p> <p>When an item is enabled, the user can interact with it. The possible types of interaction are specified by the other item flags, such as <a href="QStandardItem.html#isEditable()"><tt>isEditable</tt></a> and <a href="QStandardItem.html#isSelectable()"><tt>isSelectable</tt></a>.</p> <p>The default value is true.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setEnabled(boolean)"><tt>setEnabled</tt></a>, <a href="QStandardItem.html#flags()"><tt>flags</tt></a></DL> </DD> </DL> <HR> <A NAME="isSelectable()"><!-- --></A><H3> isSelectable</H3> <PRE> public final boolean <B>isSelectable</B>()</PRE> <DL> <DD><p>Returns whether the item is selectable by the user.</p> <p>The default value is true.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setSelectable(boolean)"><tt>setSelectable</tt></a>, <a href="QStandardItem.html#flags()"><tt>flags</tt></a></DL> </DD> </DL> <HR> <A NAME="isTristate()"><!-- --></A><H3> isTristate</H3> <PRE> public final boolean <B>isTristate</B>()</PRE> <DL> <DD><p>Returns whether the item is tristate; that is, if it's checkable with tree separate states.</p> <p>The default value is false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setTristate(boolean)"><tt>setTristate</tt></a>, <a href="QStandardItem.html#isCheckable()"><tt>isCheckable</tt></a>, <a href="QStandardItem.html#checkState()"><tt>checkState</tt></a></DL> </DD> </DL> <HR> <A NAME="model()"><!-- --></A><H3> model</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QStandardItemModel.html" title="class in com.trolltech.qt.gui">QStandardItemModel</A> <B>model</B>()</PRE> <DL> <DD><p>Returns the <a href="QStandardItemModel.html"><tt>QStandardItemModel</tt></a> that this item belongs to.</p> <p>If the item is not a child of another item that belongs to the model, this function returns 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#index()"><tt>index</tt></a></DL> </DD> </DL> <HR> <A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> writeTo</H3> <PRE> public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> out)</PRE> <DL> <DD>Writes thisQStandardItem to out. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> readFrom</H3> <PRE> public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> in)</PRE> <DL> <DD>Reads a QStandardItem from in. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parent()"><!-- --></A><H3> parent</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> <B>parent</B>()</PRE> <DL> <DD><p>Returns the item's parent item, or 0 if the item has no parent.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#child(int, int)"><tt>child</tt></a></DL> </DD> </DL> <HR> <A NAME="removeColumn(int)"><!-- --></A><H3> removeColumn</H3> <PRE> public final void <B>removeColumn</B>(int column)</PRE> <DL> <DD><p>Removes the given <tt>column</tt>. The items that were in the column are deleted.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#takeColumn(int)"><tt>takeColumn</tt></a>, <a href="QStandardItem.html#removeColumns(int, int)"><tt>removeColumns</tt></a>, <a href="QStandardItem.html#removeRow(int)"><tt>removeRow</tt></a></DL> </DD> </DL> <HR> <A NAME="removeColumns(int, int)"><!-- --></A><H3> removeColumns</H3> <PRE> public final void <B>removeColumns</B>(int column, int count)</PRE> <DL> <DD><p>Removes <tt>count</tt> columns at column <tt>column</tt>. The items that were in those columns are deleted.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#removeColumn(int)"><tt>removeColumn</tt></a>, <a href="QStandardItem.html#removeRows(int, int)"><tt>removeRows</tt></a></DL> </DD> </DL> <HR> <A NAME="removeRow(int)"><!-- --></A><H3> removeRow</H3> <PRE> public final void <B>removeRow</B>(int row)</PRE> <DL> <DD><p>Removes the given <tt>row</tt>. The items that were in the row are deleted.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#takeRow(int)"><tt>takeRow</tt></a>, <a href="QStandardItem.html#removeRows(int, int)"><tt>removeRows</tt></a>, <a href="QStandardItem.html#removeColumn(int)"><tt>removeColumn</tt></a></DL> </DD> </DL> <HR> <A NAME="removeRows(int, int)"><!-- --></A><H3> removeRows</H3> <PRE> public final void <B>removeRows</B>(int row, int count)</PRE> <DL> <DD><p>Removes <tt>count</tt> rows at row <tt>row</tt>. The items that were in those rows are deleted.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#removeRow(int)"><tt>removeRow</tt></a>, <a href="QStandardItem.html#removeColumn(int)"><tt>removeColumn</tt></a></DL> </DD> </DL> <HR> <A NAME="row()"><!-- --></A><H3> row</H3> <PRE> public final int <B>row</B>()</PRE> <DL> <DD><p>Returns the row where the item is located in its parent's child table, or -1 if the item has no parent.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#column()"><tt>column</tt></a>, <a href="QStandardItem.html#parent()"><tt>parent</tt></a></DL> </DD> </DL> <HR> <A NAME="rowCount()"><!-- --></A><H3> rowCount</H3> <PRE> public final int <B>rowCount</B>()</PRE> <DL> <DD><p>Returns the number of child item rows that the item has.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setRowCount(int)"><tt>setRowCount</tt></a>, <a href="QStandardItem.html#columnCount()"><tt>columnCount</tt></a></DL> </DD> </DL> <HR> <A NAME="setAccessibleDescription(java.lang.String)"><!-- --></A><H3> setAccessibleDescription</H3> <PRE> public final void <B>setAccessibleDescription</B>(java.lang.String accessibleDescription)</PRE> <DL> <DD><p>Sets the item's accessible description to the string specified by <tt>accessibleDescription</tt>.</p> <p>The accessible description is used by assistive technologies (i.e. for users who cannot use conventional means of interaction).</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#accessibleDescription()"><tt>accessibleDescription</tt></a>, <a href="QStandardItem.html#setAccessibleText(java.lang.String)"><tt>setAccessibleText</tt></a></DL> </DD> </DL> <HR> <A NAME="setAccessibleText(java.lang.String)"><!-- --></A><H3> setAccessibleText</H3> <PRE> public final void <B>setAccessibleText</B>(java.lang.String accessibleText)</PRE> <DL> <DD><p>Sets the item's accessible text to the string specified by <tt>accessibleText</tt>.</p> <p>The accessible text is used by assistive technologies (i.e. for users who cannot use conventional means of interaction).</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#accessibleText()"><tt>accessibleText</tt></a>, <a href="QStandardItem.html#setAccessibleDescription(java.lang.String)"><tt>setAccessibleDescription</tt></a></DL> </DD> </DL> <HR> <A NAME="setBackground(com.trolltech.qt.gui.QBrush)"><!-- --></A><H3> setBackground</H3> <PRE> public final void <B>setBackground</B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> brush)</PRE> <DL> <DD><p>Sets the item's background brush to the specified <tt>brush</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#background()"><tt>background</tt></a>, <a href="QStandardItem.html#setForeground(com.trolltech.qt.gui.QBrush)"><tt>setForeground</tt></a></DL> </DD> </DL> <HR> <A NAME="setCheckState(com.trolltech.qt.core.Qt.CheckState)"><!-- --></A><H3> setCheckState</H3> <PRE> public final void <B>setCheckState</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.CheckState.html" title="enum in com.trolltech.qt.core">Qt.CheckState</A> checkState)</PRE> <DL> <DD><p>Sets the check state of the item to be <tt>checkState</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#checkState()"><tt>checkState</tt></a>, <a href="QStandardItem.html#setCheckable(boolean)"><tt>setCheckable</tt></a></DL> </DD> </DL> <HR> <A NAME="setCheckable(boolean)"><!-- --></A><H3> setCheckable</H3> <PRE> public final void <B>setCheckable</B>(boolean checkable)</PRE> <DL> <DD><p>Sets whether the item is user-checkable. If <tt>checkable</tt> is true, the item can be checked by the user; otherwise, the user cannot check the item.</p> <p>The item delegate will render a checkable item with a check box next to the item's text.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#isCheckable()"><tt>isCheckable</tt></a>, <a href="QStandardItem.html#setCheckState(com.trolltech.qt.core.Qt.CheckState)"><tt>setCheckState</tt></a>, <a href="QStandardItem.html#setTristate(boolean)"><tt>setTristate</tt></a></DL> </DD> </DL> <HR> <A NAME="setChild(int, int, com.trolltech.qt.gui.QStandardItem)"><!-- --></A><H3> setChild</H3> <PRE> public final void <B>setChild</B>(int row, int column, <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</PRE> <DL> <DD><p>Sets the child item at (<tt>row</tt>, <tt>column</tt>) to <tt>item</tt>. This item (the parent item) takes ownership of <tt>item</tt>. If necessary, the row count and column count are increased to fit the item.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#child(int, int)"><tt>child</tt></a></DL> </DD> </DL> <HR> <A NAME="setChild(int, com.trolltech.qt.gui.QStandardItem)"><!-- --></A><H3> setChild</H3> <PRE> public final void <B>setChild</B>(int row, <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> item)</PRE> <DL> <DD><p>Sets the child at <tt>row</tt> to <tt>item</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#child(int, int)"><tt>child</tt></a></DL> </DD> </DL> <HR> <A NAME="setColumnCount(int)"><!-- --></A><H3> setColumnCount</H3> <PRE> public final void <B>setColumnCount</B>(int columns)</PRE> <DL> <DD><p>Sets the number of child item columns to <tt>columns</tt>. If this is less than <a href="QStandardItem.html#columnCount()"><tt>columnCount</tt></a>, the data in the unwanted columns is discarded.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#columnCount()"><tt>columnCount</tt></a>, <a href="QStandardItem.html#setRowCount(int)"><tt>setRowCount</tt></a></DL> </DD> </DL> <HR> <A NAME="setDragEnabled(boolean)"><!-- --></A><H3> setDragEnabled</H3> <PRE> public final void <B>setDragEnabled</B>(boolean dragEnabled)</PRE> <DL> <DD><p>Sets whether the item is drag enabled. If <tt>dragEnabled</tt> is true, the item can be dragged by the user; otherwise, the user cannot drag the item.</p> <p>Note that you also need to ensure that item dragging is enabled in the view; see QAbstractItemView::dragEnabled.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#isDragEnabled()"><tt>isDragEnabled</tt></a>, <a href="QStandardItem.html#setDropEnabled(boolean)"><tt>setDropEnabled</tt></a>, <a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a></DL> </DD> </DL> <HR> <A NAME="setDropEnabled(boolean)"><!-- --></A><H3> setDropEnabled</H3> <PRE> public final void <B>setDropEnabled</B>(boolean dropEnabled)</PRE> <DL> <DD><p>Sets whether the item is drop enabled. If <tt>dropEnabled</tt> is true, the item can be used as a drop target; otherwise, it cannot.</p> <p>Note that you also need to ensure that drops are enabled in the view; see QWidget::acceptDrops(); and that the model supports the desired drop actions; see QAbstractItemModel::supportedDropActions().</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#isDropEnabled()"><tt>isDropEnabled</tt></a>, <a href="QStandardItem.html#setDragEnabled(boolean)"><tt>setDragEnabled</tt></a>, <a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a></DL> </DD> </DL> <HR> <A NAME="setEditable(boolean)"><!-- --></A><H3> setEditable</H3> <PRE> public final void <B>setEditable</B>(boolean editable)</PRE> <DL> <DD><p>Sets whether the item is editable. If <tt>editable</tt> is true, the item can be edited by the user; otherwise, the user cannot edit the item.</p> <p>How the user can edit items in a view is determined by the view's edit triggers; see QAbstractItemView::editTriggers.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#isEditable()"><tt>isEditable</tt></a>, <a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a></DL> </DD> </DL> <HR> <A NAME="setEnabled(boolean)"><!-- --></A><H3> setEnabled</H3> <PRE> public final void <B>setEnabled</B>(boolean enabled)</PRE> <DL> <DD><p>Sets whether the item is enabled. If <tt>enabled</tt> is true, the item is enabled, meaning that the user can interact with the item; if <tt>enabled</tt> is false, the user cannot interact with the item.</p> <p>This flag takes presedence over the other item flags; e.g. if an item is not enabled, it cannot be selected by the user, even if the Qt::ItemIsSelectable flag has been set.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#isEnabled()"><tt>isEnabled</tt></a>, <tt>Qt::ItemIsEnabled</tt>, <a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a></DL> </DD> </DL> <HR> <A NAME="setFlags(com.trolltech.qt.core.Qt.ItemFlag...)"><!-- --></A><H3> setFlags</H3> <PRE> public final void <B>setFlags</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlag.html" title="enum in com.trolltech.qt.core">Qt.ItemFlag</A>... flags)</PRE> <DL> <DD><p>Sets the item flags for the item to <tt>flags</tt>.</p> <p>The item flags determine how the user can interact with the item. This is often used to disable an item.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#flags()"><tt>flags</tt></a>, <a href="QStandardItem.html#setData(java.lang.Object, int)"><tt>setData</tt></a></DL> </DD> </DL> <HR> <A NAME="setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><!-- --></A><H3> setFlags</H3> <PRE> public final void <B>setFlags</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.ItemFlags.html" title="class in com.trolltech.qt.core">Qt.ItemFlags</A> flags)</PRE> <DL> <DD><p>Sets the item flags for the item to <tt>flags</tt>.</p> <p>The item flags determine how the user can interact with the item. This is often used to disable an item.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#flags()"><tt>flags</tt></a>, <a href="QStandardItem.html#setData(java.lang.Object, int)"><tt>setData</tt></a></DL> </DD> </DL> <HR> <A NAME="setFont(com.trolltech.qt.gui.QFont)"><!-- --></A><H3> setFont</H3> <PRE> public final void <B>setFont</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> font)</PRE> <DL> <DD><p>Sets the font used to display the item's text to the given <tt>font</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#font()"><tt>font</tt></a>, <a href="QStandardItem.html#setText(java.lang.String)"><tt>setText</tt></a>, <a href="QStandardItem.html#setForeground(com.trolltech.qt.gui.QBrush)"><tt>setForeground</tt></a></DL> </DD> </DL> <HR> <A NAME="setForeground(com.trolltech.qt.gui.QBrush)"><!-- --></A><H3> setForeground</H3> <PRE> public final void <B>setForeground</B>(<A HREF="../../../../com/trolltech/qt/gui/QBrush.html" title="class in com.trolltech.qt.gui">QBrush</A> brush)</PRE> <DL> <DD><p>Sets the brush used to display the item's foreground (e.g. text) to the given <tt>brush</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#foreground()"><tt>foreground</tt></a>, <a href="QStandardItem.html#setBackground(com.trolltech.qt.gui.QBrush)"><tt>setBackground</tt></a>, <a href="QStandardItem.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a></DL> </DD> </DL> <HR> <A NAME="setIcon(com.trolltech.qt.gui.QIcon)"><!-- --></A><H3> setIcon</H3> <PRE> public final void <B>setIcon</B>(<A HREF="../../../../com/trolltech/qt/gui/QIcon.html" title="class in com.trolltech.qt.gui">QIcon</A> icon)</PRE> <DL> <DD><p>Sets the item's icon to the <tt>icon</tt> specified.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#icon()"><tt>icon</tt></a></DL> </DD> </DL> <HR> <A NAME="setRowCount(int)"><!-- --></A><H3> setRowCount</H3> <PRE> public final void <B>setRowCount</B>(int rows)</PRE> <DL> <DD><p>Sets the number of child item rows to <tt>rows</tt>. If this is less than <a href="QStandardItem.html#rowCount()"><tt>rowCount</tt></a>, the data in the unwanted rows is discarded.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#rowCount()"><tt>rowCount</tt></a>, <a href="QStandardItem.html#setColumnCount(int)"><tt>setColumnCount</tt></a></DL> </DD> </DL> <HR> <A NAME="setSelectable(boolean)"><!-- --></A><H3> setSelectable</H3> <PRE> public final void <B>setSelectable</B>(boolean selectable)</PRE> <DL> <DD><p>Sets whether the item is selectable. If <tt>selectable</tt> is true, the item can be selected by the user; otherwise, the user cannot select the item.</p> <p>You can control the selection behavior and mode by manipulating their view properties; see QAbstractItemView::selectionMode and QAbstractItemView::selectionBehavior.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#isSelectable()"><tt>isSelectable</tt></a>, <a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a></DL> </DD> </DL> <HR> <A NAME="setSizeHint(com.trolltech.qt.core.QSize)"><!-- --></A><H3> setSizeHint</H3> <PRE> public final void <B>setSizeHint</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> sizeHint)</PRE> <DL> <DD><p>Sets the size hint for the item to be <tt>sizeHint</tt>. If no size hint is set, the item delegate will compute the size hint based on the item data.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#sizeHint()"><tt>sizeHint</tt></a></DL> </DD> </DL> <HR> <A NAME="setStatusTip(java.lang.String)"><!-- --></A><H3> setStatusTip</H3> <PRE> public final void <B>setStatusTip</B>(java.lang.String statusTip)</PRE> <DL> <DD><p>Sets the item's status tip to the string specified by <tt>statusTip</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#statusTip()"><tt>statusTip</tt></a>, <a href="QStandardItem.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, <a href="QStandardItem.html#setWhatsThis(java.lang.String)"><tt>setWhatsThis</tt></a></DL> </DD> </DL> <HR> <A NAME="setText(java.lang.String)"><!-- --></A><H3> setText</H3> <PRE> public final void <B>setText</B>(java.lang.String text)</PRE> <DL> <DD><p>Sets the item's text to the <tt>text</tt> specified.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#text()"><tt>text</tt></a>, <a href="QStandardItem.html#setFont(com.trolltech.qt.gui.QFont)"><tt>setFont</tt></a>, <a href="QStandardItem.html#setForeground(com.trolltech.qt.gui.QBrush)"><tt>setForeground</tt></a></DL> </DD> </DL> <HR> <A NAME="setTextAlignment(com.trolltech.qt.core.Qt.AlignmentFlag...)"><!-- --></A><H3> setTextAlignment</H3> <PRE> public final void <B>setTextAlignment</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>... textAlignment)</PRE> <DL> <DD><p>Sets the text alignment for the item's text to the <tt>textAlignment</tt> specified.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#textAlignment()"><tt>textAlignment</tt></a></DL> </DD> </DL> <HR> <A NAME="setTextAlignment(com.trolltech.qt.core.Qt.Alignment)"><!-- --></A><H3> setTextAlignment</H3> <PRE> public final void <B>setTextAlignment</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> textAlignment)</PRE> <DL> <DD><p>Sets the text alignment for the item's text to the <tt>textAlignment</tt> specified.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#textAlignment()"><tt>textAlignment</tt></a></DL> </DD> </DL> <HR> <A NAME="setToolTip(java.lang.String)"><!-- --></A><H3> setToolTip</H3> <PRE> public final void <B>setToolTip</B>(java.lang.String toolTip)</PRE> <DL> <DD><p>Sets the item's tooltip to the string specified by <tt>toolTip</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#toolTip()"><tt>toolTip</tt></a>, <a href="QStandardItem.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, <a href="QStandardItem.html#setWhatsThis(java.lang.String)"><tt>setWhatsThis</tt></a></DL> </DD> </DL> <HR> <A NAME="setTristate(boolean)"><!-- --></A><H3> setTristate</H3> <PRE> public final void <B>setTristate</B>(boolean tristate)</PRE> <DL> <DD><p>Sets whether the item is tristate. If <tt>tristate</tt> is true, the item is checkable with three separate states; otherwise, the item is checkable with two states. (Note that this also requires that the item is checkable; see <a href="QStandardItem.html#isCheckable()"><tt>isCheckable</tt></a>.)</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#isTristate()"><tt>isTristate</tt></a>, <a href="QStandardItem.html#setCheckable(boolean)"><tt>setCheckable</tt></a>, <a href="QStandardItem.html#setCheckState(com.trolltech.qt.core.Qt.CheckState)"><tt>setCheckState</tt></a></DL> </DD> </DL> <HR> <A NAME="setWhatsThis(java.lang.String)"><!-- --></A><H3> setWhatsThis</H3> <PRE> public final void <B>setWhatsThis</B>(java.lang.String whatsThis)</PRE> <DL> <DD><p>Sets the item's "What's This?" help to the string specified by <tt>whatsThis</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#whatsThis()"><tt>whatsThis</tt></a>, <a href="QStandardItem.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, <a href="QStandardItem.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a></DL> </DD> </DL> <HR> <A NAME="sizeHint()"><!-- --></A><H3> sizeHint</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>sizeHint</B>()</PRE> <DL> <DD><p>Returns the size hint set for the item, or an invalid <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a> if no size hint has been set.</p> <p>If no size hint has been set, the item delegate will compute the size hint based on the item data.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setSizeHint(com.trolltech.qt.core.QSize)"><tt>setSizeHint</tt></a></DL> </DD> </DL> <HR> <A NAME="sortChildren(int)"><!-- --></A><H3> sortChildren</H3> <PRE> public final void <B>sortChildren</B>(int column)</PRE> <DL> <DD><p>Equivalent to <a href="QStandardItem.html#sortChildren(int, com.trolltech.qt.core.Qt.SortOrder)"><tt>sortChildren</tt></a>(<tt>column</tt>, Qt::AscendingOrder). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sortChildren(int, com.trolltech.qt.core.Qt.SortOrder)"><!-- --></A><H3> sortChildren</H3> <PRE> public final void <B>sortChildren</B>(int column, <A HREF="../../../../com/trolltech/qt/core/Qt.SortOrder.html" title="enum in com.trolltech.qt.core">Qt.SortOrder</A> order)</PRE> <DL> <DD><p>Sorts the children of the item using the given <tt>order</tt>, by the values in the given <tt>column</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>operator<</tt></DL> </DD> </DL> <HR> <A NAME="statusTip()"><!-- --></A><H3> statusTip</H3> <PRE> public final java.lang.String <B>statusTip</B>()</PRE> <DL> <DD><p>Returns the item's status tip.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setStatusTip(java.lang.String)"><tt>setStatusTip</tt></a>, <a href="QStandardItem.html#toolTip()"><tt>toolTip</tt></a>, <a href="QStandardItem.html#whatsThis()"><tt>whatsThis</tt></a></DL> </DD> </DL> <HR> <A NAME="takeChild(int)"><!-- --></A><H3> takeChild</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> <B>takeChild</B>(int row)</PRE> <DL> <DD><p>Equivalent to <a href="QStandardItem.html#takeChild(int, int)"><tt>takeChild</tt></a>(<tt>row</tt>, 0). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="takeChild(int, int)"><!-- --></A><H3> takeChild</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> <B>takeChild</B>(int row, int column)</PRE> <DL> <DD><p>Removes the child item at (<tt>row</tt>, <tt>column</tt>) without deleting it, and returns a pointer to the item. If there was no child at the given location, then this function returns 0.</p> <p>Note that this function, unlike <a href="QStandardItem.html#takeRow(int)"><tt>takeRow</tt></a> and <a href="QStandardItem.html#takeColumn(int)"><tt>takeColumn</tt></a>, does not affect the dimensions of the child table.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#child(int, int)"><tt>child</tt></a>, <a href="QStandardItem.html#takeRow(int)"><tt>takeRow</tt></a>, <a href="QStandardItem.html#takeColumn(int)"><tt>takeColumn</tt></a></DL> </DD> </DL> <HR> <A NAME="takeColumn(int)"><!-- --></A><H3> takeColumn</H3> <PRE> public final java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> <B>takeColumn</B>(int column)</PRE> <DL> <DD><p>Removes <tt>column</tt> without deleting the column items, and returns a list of pointers to the removed items. For items in the column that have not been set, the corresponding pointers in the list will be 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#removeColumn(int)"><tt>removeColumn</tt></a>, <a href="QStandardItem.html#insertColumn(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertColumn</tt></a>, <a href="QStandardItem.html#takeRow(int)"><tt>takeRow</tt></a></DL> </DD> </DL> <HR> <A NAME="takeRow(int)"><!-- --></A><H3> takeRow</H3> <PRE> public final java.util.List<<A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A>> <B>takeRow</B>(int row)</PRE> <DL> <DD><p>Removes <tt>row</tt> without deleting the row items, and returns a list of pointers to the removed items. For items in the row that have not been set, the corresponding pointers in the list will be 0.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#removeRow(int)"><tt>removeRow</tt></a>, <a href="QStandardItem.html#insertRow(int, java.util.List<com.trolltech.qt.gui.QStandardItem>)"><tt>insertRow</tt></a>, <a href="QStandardItem.html#takeColumn(int)"><tt>takeColumn</tt></a></DL> </DD> </DL> <HR> <A NAME="text()"><!-- --></A><H3> text</H3> <PRE> public final java.lang.String <B>text</B>()</PRE> <DL> <DD><p>Returns the item's text. This is the text that's presented to the user in a view.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setText(java.lang.String)"><tt>setText</tt></a></DL> </DD> </DL> <HR> <A NAME="textAlignment()"><!-- --></A><H3> textAlignment</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> <B>textAlignment</B>()</PRE> <DL> <DD><p>Returns the text alignment for the item's text.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setTextAlignment(com.trolltech.qt.core.Qt.Alignment)"><tt>setTextAlignment</tt></a></DL> </DD> </DL> <HR> <A NAME="toolTip()"><!-- --></A><H3> toolTip</H3> <PRE> public final java.lang.String <B>toolTip</B>()</PRE> <DL> <DD><p>Returns the item's tooltip.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setToolTip(java.lang.String)"><tt>setToolTip</tt></a>, <a href="QStandardItem.html#statusTip()"><tt>statusTip</tt></a>, <a href="QStandardItem.html#whatsThis()"><tt>whatsThis</tt></a></DL> </DD> </DL> <HR> <A NAME="whatsThis()"><!-- --></A><H3> whatsThis</H3> <PRE> public final java.lang.String <B>whatsThis</B>()</PRE> <DL> <DD><p>Returns the item's "What's This?" help.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setWhatsThis(java.lang.String)"><tt>setWhatsThis</tt></a>, <a href="QStandardItem.html#toolTip()"><tt>toolTip</tt></a>, <a href="QStandardItem.html#statusTip()"><tt>statusTip</tt></a></DL> </DD> </DL> <HR> <A NAME="clone()"><!-- --></A><H3> clone</H3> <PRE> public <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> <B>clone</B>()</PRE> <DL> <DD><p>Returns a copy of this item. The item's children are not copied.</p> <p>When subclassing <a href="QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QStandardItem)"><tt>QStandardItem</tt></a>, you can reimplement this function to provide <a href="QStandardItemModel.html"><tt>QStandardItemModel</tt></a> with a factory that it can use to create new items on demand.</p> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><tt>QStandardItemModel::setItemPrototype</tt>, <tt>operator=</tt></DL> </DD> </DL> <HR> <A NAME="data()"><!-- --></A><H3> data</H3> <PRE> public final java.lang.Object <B>data</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QStandardItem.html#data(int)">data</tt></a>(Qt::UserRole + 1). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="data(int)"><!-- --></A><H3> data</H3> <PRE> public java.lang.Object <B>data</B>(int role)</PRE> <DL> <DD><p>Returns the item's data for the given <tt>role</tt>, or an invalid <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> if there is no data for the role.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#setData(java.lang.Object, int)"><tt>setData</tt></a></DL> </DD> </DL> <HR> <A NAME="read(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> read</H3> <PRE> public void <B>read</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> in)</PRE> <DL> <DD><p>Reads the item from stream <tt>in</tt>. Only the data and flags of the item are read, not the child items.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#write(com.trolltech.qt.core.QDataStream)"><tt>write</tt></a></DL> </DD> </DL> <HR> <A NAME="setData(java.lang.Object)"><!-- --></A><H3> setData</H3> <PRE> public final void <B>setData</B>(java.lang.Object value)</PRE> <DL> <DD><p>Equivalent to <a href="QStandardItem.html#setData(java.lang.Object, int)"><tt>setData</tt></a>(<tt>value</tt>, Qt::UserRole + 1). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setData(java.lang.Object, int)"><!-- --></A><H3> setData</H3> <PRE> public void <B>setData</B>(java.lang.Object value, int role)</PRE> <DL> <DD><p>Sets the item's data for the given <tt>role</tt> to the specified <tt>value</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>Qt::ItemDataRole</tt>, <a href="QStandardItem.html#data(int)"><tt>data</tt></a>, <a href="QStandardItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)"><tt>setFlags</tt></a></DL> </DD> </DL> <HR> <A NAME="type()"><!-- --></A><H3> type</H3> <PRE> public int <B>type</B>()</PRE> <DL> <DD><p>Returns the type of this item. The type is used to distinguish custom items from the base class. When subclassing <a href="QStandardItem.html#QStandardItem(com.trolltech.qt.gui.QStandardItem)"><tt>QStandardItem</tt></a>, you should reimplement this function and return a new value greater than or equal to <a href="QStandardItem.html#ItemType-enum"><tt>UserType</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QStandardItem::Type</tt></DL> </DD> </DL> <HR> <A NAME="write(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3> write</H3> <PRE> public void <B>write</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A> out)</PRE> <DL> <DD><p>Writes the item to stream <tt>out</tt>. Only the data and flags of the item are written, not the child items.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QStandardItem.html#read(com.trolltech.qt.core.QDataStream)"><tt>read</tt></a></DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.html" title="class in com.trolltech.qt.gui">QStandardItem</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QStandardItem 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> </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/gui/QStackedWidget.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/gui/QStandardItem.ItemType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/gui/QStandardItem.html" target="_top"><B>FRAMES</B></A> <A HREF="QStandardItem.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>