<class name="QTreeWidget" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTreeWidget.html#QTreeWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeWidget&lt;/tt&gt;&lt;/a&gt; class provides a tree view that uses a predefined tree model.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QTreeWidget.html#QTreeWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeWidget&lt;/tt&gt;&lt;/a&gt; class is a convenience class that provides a standard tree widget with a classic item-based interface similar to that used by the &lt;a href=&quot;QListView.html&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt; class in Qt 3. This class is based on Qt's Model/View architecture and uses a default model to hold items, each of which is a &lt;a href=&quot;QTreeWidgetItem.html&quot;&gt;&lt;tt&gt;QTreeWidgetItem&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Developers who do not need the flexibility of the Model/View framework can use this class to create simple hierarchical lists very easily. A more flexible approach involves combining a &lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; with a standard item model. This allows the storage of data to be separated from its representation.&lt;/p&gt;
&lt;p&gt;In its simplest form, a tree widget can be constructed in the following way:&lt;/p&gt;
&lt;pre&gt;    QTreeWidget *treeWidget = new QTreeWidget();
    treeWidget-&amp;gt;setColumnCount(1);
    QList&amp;lt;QTreeWidgetItem *&amp;gt; items;
    for (int i = 0; i &amp;lt; 10; ++i)
        items.append(new QTreeWidgetItem((QTreeWidget*)0, QStringList(QString(&amp;quot;item: %1&amp;quot;).arg(i))));
    treeWidget-&amp;gt;insertTopLevelItems(0, items);&lt;/pre&gt;
&lt;p&gt;Before items can be added to the tree widget, the number of columns must be set with &lt;a href=&quot;QTreeWidget.html#setColumnCount(int)&quot;&gt;&lt;tt&gt;setColumnCount&lt;/tt&gt;&lt;/a&gt;. This allows each item to have one or more labels or other decorations. The number of columns in use can be found with the &lt;a href=&quot;QTreeWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;The tree can have a header that contains a section for each column in the widget. It is easiest to set up the labels for each section by supplying a list of strings with &lt;a href=&quot;QTreeWidget.html#setHeaderLabels(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setHeaderLabels&lt;/tt&gt;&lt;/a&gt;, but a custom header can be constructed with a &lt;a href=&quot;QTreeWidgetItem.html&quot;&gt;&lt;tt&gt;QTreeWidgetItem&lt;/tt&gt;&lt;/a&gt; and inserted into the tree with the &lt;a href=&quot;QTreeWidget.html#setHeaderItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;setHeaderItem&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;The items in the tree can be sorted by column according to a predefined sort order. If sorting is enabled, the user can sort the items by clicking on a column header. Sorting can be enabled or disabled by calling &lt;a href=&quot;QTreeView.html#setSortingEnabled(boolean)&quot;&gt;&lt;tt&gt;setSortingEnabled&lt;/tt&gt;&lt;/a&gt;. The &lt;a href=&quot;QTreeView.html#isSortingEnabled()&quot;&gt;&lt;tt&gt;isSortingEnabled&lt;/tt&gt;&lt;/a&gt; function indicates whether sorting is enabled.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/windowsxp-treeview.png&quot; alt=&quot;Screenshot of a Windows XP style tree widget&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/macintosh-treeview.png&quot; alt=&quot;Screenshot of a Macintosh style tree widget&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/plastique-treeview.png&quot; alt=&quot;Screenshot of a Plastique style tree widget&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;A &lt;a href=&quot;%2E%2E/gallery-windowsxp.html&quot;&gt;Windows XP style&lt;/tt&gt;&lt;/a&gt; tree widget.&lt;/td&gt;&lt;td&gt;A &lt;a href=&quot;%2E%2E/gallery-macintosh.html&quot;&gt;Macintosh style&lt;/tt&gt;&lt;/a&gt; tree widget.&lt;/td&gt;&lt;td&gt;A &lt;a href=&quot;%2E%2E/gallery-plastique.html&quot;&gt;Plastique style&lt;/tt&gt;&lt;/a&gt; tree widget.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidgetItem.html&quot;&gt;&lt;tt&gt;QTreeWidgetItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-programming.html&quot;&gt;Model/View Programming&lt;/tt&gt;&lt;/a&gt;
@see Settings Editor Example&lt;/tt&gt; */">
    <signal name="protected final void activated(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when the item specified by &lt;tt&gt;index&lt;/tt&gt; is activated by the user. How to activate items depends on the platform; e.g&amp;#x2e;, by single- or double-clicking the item, or by pressing the Return or Enter key when the item is current.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#pressed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void clicked(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is clicked. The item the mouse was clicked on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeWidget.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#pressed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void collapsed(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when the item specified by &lt;tt&gt;index&lt;/tt&gt; is collapsed.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentItemChanged(com.trolltech.qt.gui.QTreeWidgetItem current, com.trolltech.qt.gui.QTreeWidgetItem previous)" doc="/**
&lt;p&gt;This signal is emitted when the current item changes. The current item is specified by &lt;tt&gt;current&lt;/tt&gt;, and this replaces the &lt;tt&gt;previous&lt;/tt&gt; current item.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem current, com.trolltech.qt.gui.QTreeWidgetItem previous)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem current)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeWidget.html#setCurrentItem(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;setCurrentItem&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html#QAbstractScrollArea(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void doubleClicked(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is double-clicked. The item the mouse was double-clicked on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void entered(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when the mouse cursor enters the item specified by &lt;tt&gt;index&lt;/tt&gt;. Mouse tracking needs to be enabled for this feature to work.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeWidget.html#viewportEntered()&quot;&gt;&lt;tt&gt;viewportEntered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#pressed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void expanded(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when the item specified by &lt;tt&gt;index&lt;/tt&gt; is expanded.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemActivated(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;This signal is emitted when the user activates an item by single- or double-clicking (depending on the platform, i.e&amp;#x2e; on the QStyle::SH_ItemView_ActivateItemOnSingleClick style hint) or pressing a special key (e.g&amp;#x2e;, &lt;b&gt;Enter&lt;/b&gt;).&lt;/p&gt;
&lt;p&gt;The specified &lt;tt&gt;item&lt;/tt&gt; is the item that was clicked, or 0 if no item was clicked. The &lt;tt&gt;column&lt;/tt&gt; is the item's column that was clicked, or -1 if no item was clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemChanged(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;This signal is emitted when the contents of the &lt;tt&gt;column&lt;/tt&gt; in the specified &lt;tt&gt;item&lt;/tt&gt; changes.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemClicked(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;This signal is emitted when the user clicks inside the widget.&lt;/p&gt;
&lt;p&gt;The specified &lt;tt&gt;item&lt;/tt&gt; is the item that was clicked, or 0 if no item was clicked. The &lt;tt&gt;column&lt;/tt&gt; is the item's column that was clicked, or -1 if no item was clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemCollapsed(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted when the specified &lt;tt&gt;item&lt;/tt&gt; is collapsed so that none of its children are displayed.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;isItemExpanded&lt;/tt&gt;, &lt;a href=&quot;QTreeWidget.html#itemExpanded(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;itemExpanded&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#collapseItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;collapseItem&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemDoubleClicked(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;This signal is emitted when the user double clicks inside the widget.&lt;/p&gt;
&lt;p&gt;The specified &lt;tt&gt;item&lt;/tt&gt; is the item that was clicked, or 0 if no item was clicked. The &lt;tt&gt;column&lt;/tt&gt; is the item's column that was clicked, or -1 if no item was clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemEntered(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;This signal is emitted when the mouse cursor enters an &lt;tt&gt;item&lt;/tt&gt; over the specified &lt;tt&gt;column&lt;/tt&gt;. &lt;a href=&quot;QTreeWidget.html#QTreeWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeWidget&lt;/tt&gt;&lt;/a&gt; mouse tracking needs to be enabled for this feature to work.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemExpanded(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted when the specified &lt;tt&gt;item&lt;/tt&gt; is expanded so that all of its children are displayed.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;isItemExpanded&lt;/tt&gt;, &lt;a href=&quot;QTreeWidget.html#itemCollapsed(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;itemCollapsed&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#expandItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;expandItem&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemPressed(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;This signal is emitted when the user presses a mouse button inside the widget.&lt;/p&gt;
&lt;p&gt;The specified &lt;tt&gt;item&lt;/tt&gt; is the item that was clicked, or 0 if no item was clicked. The &lt;tt&gt;column&lt;/tt&gt; is the item's column that was clicked, or -1 if no item was clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTreeWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemSelectionChanged()" doc="/**
&lt;p&gt;This signal is emitted when the selection changes in the tree widget. The current selection can be found with &lt;a href=&quot;QTreeWidget.html#selectedItems()&quot;&gt;&lt;tt&gt;selectedItems&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void pressed(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is pressed. The item the mouse was pressed on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeWidget.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeWidget.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void viewportEntered()" doc="/**
&lt;p&gt;This signal is emitted when the mouse cursor enters the viewport. Mouse tracking needs to be enabled for this feature to work.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeWidget.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QTreeWidget(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a tree widget with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QTreeWidget()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeWidget.html#QTreeWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeWidget&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final void addTopLevelItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Appends the &lt;tt&gt;item&lt;/tt&gt; as a top-level item in the widget.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#insertTopLevelItem(int, com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;insertTopLevelItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void addTopLevelItems(java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt; items)" doc="/**
&lt;p&gt;Appends the list of &lt;tt&gt;items&lt;/tt&gt; as a top-level items in the widget.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#insertTopLevelItems(int, java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt;)&quot;&gt;&lt;tt&gt;insertTopLevelItems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Clears the tree widget by removing all of its items and selections.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Since each item is removed from the tree widget before being deleted, the return value of QTreeWidgetItem::treeWidget() will be invalid when called from an item's destructor.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#takeTopLevelItem(int)&quot;&gt;&lt;tt&gt;takeTopLevelItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItemCount()&quot;&gt;&lt;tt&gt;topLevelItemCount&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void closePersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;Closes the persistent editor for the &lt;tt&gt;item&lt;/tt&gt; in the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function has no effect if no persistent editor is open for this combination of item and column.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#openPersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;openPersistentEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void closePersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeWidget.html#closePersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;closePersistentEditor&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, 0). */"/>
    <method name="public final void collapseItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Closes the &lt;tt&gt;item&lt;/tt&gt;. This causes the tree containing the item's children to be collapsed.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#expandItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;expandItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#currentItem()&quot;&gt;&lt;tt&gt;currentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#itemAt(int, int)&quot;&gt;&lt;tt&gt;itemAt&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItem(int)&quot;&gt;&lt;tt&gt;topLevelItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int columnCount()" doc="/**
&lt;p&gt;Returns the number of columns displayed in the tree widget.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#setColumnCount(int)&quot;&gt;&lt;tt&gt;setColumnCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int currentColumn()" doc="/**
&lt;p&gt;Returns the current column in the tree widget.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#setCurrentItem(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;setCurrentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem currentItem()" doc="/**
&lt;p&gt;Returns the current item in the tree widget.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#setCurrentItem(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;setCurrentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#currentItemChanged(com.trolltech.qt.gui.QTreeWidgetItem, com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;currentItemChanged&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void editItem(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;Starts editing the &lt;tt&gt;item&lt;/tt&gt; in the given &lt;tt&gt;column&lt;/tt&gt; if it is editable.&lt;/p&gt;
 */"/>
    <method name="public final void editItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeWidget.html#editItem(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;editItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, 0). */"/>
    <method name="public final void expandItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Expands the &lt;tt&gt;item&lt;/tt&gt;. This causes the tree containing the item's children to be expanded.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#collapseItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;collapseItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#currentItem()&quot;&gt;&lt;tt&gt;currentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#itemAt(int, int)&quot;&gt;&lt;tt&gt;itemAt&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItem(int)&quot;&gt;&lt;tt&gt;topLevelItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#itemExpanded(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;itemExpanded&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt; findItems(java.lang.String text, com.trolltech.qt.core.Qt.MatchFlags flags, int column)" doc="/**
&lt;p&gt;Returns a list of items that match the given &lt;tt&gt;text&lt;/tt&gt;, using the given &lt;tt&gt;flags&lt;/tt&gt;, in the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt; findItems(java.lang.String text, com.trolltech.qt.core.Qt.MatchFlags flags)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeWidget.html#findItems(java.lang.String, com.trolltech.qt.core.Qt.MatchFlags, int)&quot;&gt;&lt;tt&gt;findItems&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;text&lt;/tt&gt;, &lt;tt&gt;flags&lt;/tt&gt;, 0). */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem headerItem()" doc="/**
&lt;p&gt;Returns the item used for the tree widget's header.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#setHeaderItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;setHeaderItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.core.QModelIndex indexFromItem(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;Returns the QModelIndex assocated with the given &lt;tt&gt;item&lt;/tt&gt; in the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#itemFromIndex(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemFromIndex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItem(int)&quot;&gt;&lt;tt&gt;topLevelItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.core.QModelIndex indexFromItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeWidget.html#indexFromItem(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;indexFromItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, 0). */"/>
    <method name="public final int indexOfTopLevelItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Returns the index of the given top-level &lt;tt&gt;item&lt;/tt&gt;, or -1 if the item cannot be found.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#sortItems(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;sortItems&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItemCount()&quot;&gt;&lt;tt&gt;topLevelItemCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void insertTopLevelItem(int index, com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Inserts the &lt;tt&gt;item&lt;/tt&gt; at &lt;tt&gt;index&lt;/tt&gt; in the top level in the view.&lt;/p&gt;
&lt;p&gt;If the item has already been inserted somewhere else it wont be inserted.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#addTopLevelItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;addTopLevelItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void insertTopLevelItems(int index, java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt; items)" doc="/**
&lt;p&gt;Inserts the list of &lt;tt&gt;items&lt;/tt&gt; at &lt;tt&gt;index&lt;/tt&gt; in the top level in the view.&lt;/p&gt;
&lt;p&gt;Items that have already been inserted somewhere else wont be inserted.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#addTopLevelItems(java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt;)&quot;&gt;&lt;tt&gt;addTopLevelItems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem invisibleRootItem()" doc="/**
&lt;p&gt;Returns the tree widget's invisible root item.&lt;/p&gt;
&lt;p&gt;The invisible root item provides access to the tree widget's top-level items through the &lt;a href=&quot;QTreeWidgetItem.html&quot;&gt;&lt;tt&gt;QTreeWidgetItem&lt;/tt&gt;&lt;/a&gt; API, making it possible to write functions that can treat top-level items and their children in a uniform way; for example, recursive functions.&lt;/p&gt;
 */"/>
    <method name="public final boolean isFirstItemColumnSpanned(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Returns true if the given &lt;tt&gt;item&lt;/tt&gt; is set to show only one section over all columns; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#setFirstItemColumnSpanned(com.trolltech.qt.gui.QTreeWidgetItem, boolean)&quot;&gt;&lt;tt&gt;setFirstItemColumnSpanned&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem itemAbove(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Returns the item above the given &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem itemAt(com.trolltech.qt.core.QPoint p)" doc="/**
&lt;p&gt;Returns a pointer to the item at the coordinates &lt;tt&gt;p&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#visualItemRect(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;visualItemRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem itemAt(int x, int y)" doc="/**
&lt;p&gt;Returns a pointer to the item at the coordinates (&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;).&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem itemBelow(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Returns the item below the given&lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected final com.trolltech.qt.gui.QTreeWidgetItem itemFromIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns a pointer to the &lt;a href=&quot;QTreeWidgetItem.html&quot;&gt;&lt;tt&gt;QTreeWidgetItem&lt;/tt&gt;&lt;/a&gt; assocated with the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#indexFromItem(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;indexFromItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget itemWidget(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;Returns the widget displayed in the cell specified by &lt;tt&gt;item&lt;/tt&gt; and the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#setItemWidget(com.trolltech.qt.gui.QTreeWidgetItem, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;setItemWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void openPersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;Opens a persistent editor for the &lt;tt&gt;item&lt;/tt&gt; in the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#closePersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;closePersistentEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void openPersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeWidget.html#openPersistentEditor(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;openPersistentEditor&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, 0). */"/>
    <method name="public final void removeItemWidget(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;Removes the widget set in the given &lt;tt&gt;item&lt;/tt&gt; in the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void scrollToItem(com.trolltech.qt.gui.QTreeWidgetItem item, com.trolltech.qt.gui.QAbstractItemView.ScrollHint hint)" doc="/**
&lt;p&gt;Ensures that the &lt;tt&gt;item&lt;/tt&gt; is visible, scrolling the view if necessary using the specified &lt;tt&gt;hint&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#currentItem()&quot;&gt;&lt;tt&gt;currentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#itemAt(int, int)&quot;&gt;&lt;tt&gt;itemAt&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItem(int)&quot;&gt;&lt;tt&gt;topLevelItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void scrollToItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeWidget.html#scrollToItem(com.trolltech.qt.gui.QTreeWidgetItem, com.trolltech.qt.gui.QAbstractItemView.ScrollHint)&quot;&gt;&lt;tt&gt;scrollToItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, EnsureVisible). */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt; selectedItems()" doc="/**
&lt;p&gt;Returns a list of all selected non-hidden items.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#itemSelectionChanged()&quot;&gt;&lt;tt&gt;itemSelectionChanged&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setColumnCount(int columns)" doc="/**
&lt;p&gt;Sets the number of columns displayed in the tree widget to &lt;tt&gt;columns&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Sets the current &lt;tt&gt;item&lt;/tt&gt; in the tree widget.&lt;/p&gt;
&lt;p&gt;Depending on the current selection mode, the item may also be selected.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#currentItem()&quot;&gt;&lt;tt&gt;currentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#currentItemChanged(com.trolltech.qt.gui.QTreeWidgetItem, com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;currentItemChanged&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentItem(com.trolltech.qt.gui.QTreeWidgetItem item, int column)" doc="/**
&lt;p&gt;Sets the current &lt;tt&gt;item&lt;/tt&gt; in the tree widget and the curernt column to &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#currentItem()&quot;&gt;&lt;tt&gt;currentItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFirstItemColumnSpanned(com.trolltech.qt.gui.QTreeWidgetItem item, boolean span)" doc="/**
&lt;p&gt;Sets the given &lt;tt&gt;item&lt;/tt&gt; to only show one section for all columns if &lt;tt&gt;span&lt;/tt&gt; is true; otherwise the item will show one section per column.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#isFirstItemColumnSpanned(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;isFirstItemColumnSpanned&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHeaderItem(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Sets the header &lt;tt&gt;item&lt;/tt&gt; for the tree widget. The label for each column in the header is supplied by the corresponding label in the item.&lt;/p&gt;
&lt;p&gt;The tree widget takes ownership of the item.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#headerItem()&quot;&gt;&lt;tt&gt;headerItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#setHeaderLabels(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setHeaderLabels&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHeaderLabel(java.lang.String label)" doc="/**
&lt;p&gt;Same as &lt;a href=&quot;QTreeWidget.html#setHeaderLabels(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setHeaderLabels&lt;/tt&gt;&lt;/a&gt;(&lt;a href=&quot;%2E%2E/porting4.html#qstringlist&quot;&gt;&lt;tt&gt;QStringList&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;label&lt;/tt&gt;)).&lt;/p&gt;
 */"/>
    <method name="public final void setHeaderLabels(java.util.List&lt;java.lang.String&gt; labels)" doc="/**
&lt;p&gt;Adds a column in the header for each item in the &lt;tt&gt;labels&lt;/tt&gt; list, and sets the label for each column.&lt;/p&gt;
&lt;p&gt;Note that &lt;a href=&quot;QTreeWidget.html#setHeaderLabels(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setHeaderLabels&lt;/tt&gt;&lt;/a&gt; won't remove existing columns.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#setHeaderItem(com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;setHeaderItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#setHeaderLabel(java.lang.String)&quot;&gt;&lt;tt&gt;setHeaderLabel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemWidget(com.trolltech.qt.gui.QTreeWidgetItem item, int column, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Sets the given &lt;tt&gt;widget&lt;/tt&gt; to be displayed in the cell specified by the given &lt;tt&gt;item&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that the given &lt;tt&gt;widget&lt;/tt&gt;'s &lt;a href=&quot;QWidget.html#QWidget(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.WindowFlags)&quot;&gt;autoFillBackground&lt;/a&gt; property must be set to true, otherwise the widget's background will be transparent, showing both the model data and the tree widget item.&lt;/p&gt;
&lt;p&gt;This function should only be used to display static content in the place of a tree widget item. If you want to display custom dynamic content or implement a custom editor widget, use &lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; and subclass &lt;a href=&quot;QItemDelegate.html&quot;&gt;&lt;tt&gt;QItemDelegate&lt;/tt&gt;&lt;/a&gt; instead.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#itemWidget(com.trolltech.qt.gui.QTreeWidgetItem, int)&quot;&gt;&lt;tt&gt;itemWidget&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-delegate.html&quot;&gt;Delegate Classes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public @Deprecated public final void setModel(com.trolltech.qt.core.QAbstractItemModel model)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public final int sortColumn()" doc="/**
&lt;p&gt;Returns the column used to sort the contents of the widget.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#sortItems(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;sortItems&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void sortItems(int column, com.trolltech.qt.core.Qt.SortOrder order)" doc="/**
&lt;p&gt;Sorts the items in the widget in the specified &lt;tt&gt;order&lt;/tt&gt; by the values in the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#sortColumn()&quot;&gt;&lt;tt&gt;sortColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem takeTopLevelItem(int index)" doc="/**
&lt;p&gt;Removes the top-level item at the given &lt;tt&gt;index&lt;/tt&gt; in the tree and returns it, otherwise returns 0;&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#insertTopLevelItem(int, com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;insertTopLevelItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItem(int)&quot;&gt;&lt;tt&gt;topLevelItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#topLevelItemCount()&quot;&gt;&lt;tt&gt;topLevelItemCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTreeWidgetItem topLevelItem(int index)" doc="/**
&lt;p&gt;Returns the top level item at the given &lt;tt&gt;index&lt;/tt&gt;, or 0 if the item does not exist.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#topLevelItemCount()&quot;&gt;&lt;tt&gt;topLevelItemCount&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#insertTopLevelItem(int, com.trolltech.qt.gui.QTreeWidgetItem)&quot;&gt;&lt;tt&gt;insertTopLevelItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int topLevelItemCount()" doc="/**
&lt;p&gt;Returns the number of top-level items.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html#currentItem()&quot;&gt;&lt;tt&gt;currentItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect visualItemRect(com.trolltech.qt.gui.QTreeWidgetItem item)" doc="/**
&lt;p&gt;Returns the rectangle on the viewport occupied by the item at &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#itemAt(int, int)&quot;&gt;&lt;tt&gt;itemAt&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void dropEvent(com.trolltech.qt.gui.QDropEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected boolean dropMimeData(com.trolltech.qt.gui.QTreeWidgetItem parent, int index, com.trolltech.qt.gui.QMimeData data, com.trolltech.qt.core.Qt.DropAction action)" doc="/**
&lt;p&gt;Handles the &lt;tt&gt;data&lt;/tt&gt; supplied by a drag and drop operation that ended with the given &lt;tt&gt;action&lt;/tt&gt; in the &lt;tt&gt;index&lt;/tt&gt; in the given &lt;tt&gt;parent&lt;/tt&gt; item.&lt;/p&gt;
&lt;p&gt;The default implementation returns true if the drop was successfully handled by decoding the mime data and inserting it into the model; otherwise it returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#supportedDropActions()&quot;&gt;&lt;tt&gt;supportedDropActions&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected com.trolltech.qt.gui.QMimeData mimeData(java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt; items)" doc="/**
&lt;p&gt;Returns an object that contains a serialized description of the specified &lt;tt&gt;items&lt;/tt&gt;. The format used to describe the items is obtained from the &lt;a href=&quot;QTreeWidget.html#mimeTypes()&quot;&gt;&lt;tt&gt;mimeTypes&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;If the list of items is empty, 0 is returned rather than a serialized empty list.&lt;/p&gt;
 */"/>
    <method name="protected java.util.List&lt;java.lang.String&gt; mimeTypes()" doc="/**
&lt;p&gt;Returns a list of MIME types that can be used to describe a list of treewidget items.&lt;/p&gt;

@see &lt;a href=&quot;QTreeWidget.html#mimeData(java.util.List&lt;com.trolltech.qt.gui.QTreeWidgetItem&gt;)&quot;&gt;&lt;tt&gt;mimeData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected com.trolltech.qt.core.Qt.DropActions supportedDropActions()" doc="/**
&lt;p&gt;Returns the drop actions supported by this view.&lt;/p&gt;

@see &lt;tt&gt;Qt::DropActions&lt;/tt&gt; */"/>
</class>
