<class name="QTreeView" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; class provides a default model/view implementation of a tree view.&lt;/p&gt;
&lt;p&gt;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; implements a tree representation of items from a model. This class is used to provide standard hierarchical lists that were previously provided by the &lt;tt&gt;QListView&lt;/tt&gt; class, but using the more flexible approach provided by Qt's model/view architecture.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; class is one of the &lt;a href=&quot;%2E%2E/qt4-interview.html#model-view-classes&quot;&gt;Model/View Classes&lt;/tt&gt;&lt;/a&gt; and is part of Qt's &lt;a href=&quot;%2E%2E/model-view-programming.html&quot;&gt;model/view framework&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; implements the interfaces defined by the &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; class to allow it to display data provided by models derived from the &lt;a href=&quot;%2E%2E/core/QAbstractItemModel.html&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; class.&lt;/p&gt;
&lt;p&gt;It is simple to construct a tree view displaying data from a model. In the following example, the contents of a directory are supplied by a &lt;a href=&quot;QDirModel.html&quot;&gt;&lt;tt&gt;QDirModel&lt;/tt&gt;&lt;/a&gt; and displayed as a tree:&lt;/p&gt;
&lt;pre&gt;        QDirModel *model = new QDirModel;
        QTreeView *tree = new QTreeView(splitter);
        tree-&amp;gt;setModel(model);&lt;/pre&gt;
&lt;p&gt;The model/view architecture ensures that the contents of the tree view are updated as the model changes.&lt;/p&gt;
&lt;p&gt;Items that have children can be in an expanded (children are visible) or collapsed (children are hidden) state. When this state changes a &lt;a href=&quot;QTreeView.html#collapsed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;collapsed&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QTreeView.html#expanded(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expanded&lt;/tt&gt;&lt;/a&gt; signal is emitted with the model index of the relevant item.&lt;/p&gt;
&lt;p&gt;The amount of indentation used to indicate levels of hierarchy is controlled by the &lt;a href=&quot;QTreeView.html#indentation()&quot;&gt;indentation&lt;/tt&gt;&lt;/a&gt; property.&lt;/p&gt;
&lt;p&gt;Headers in tree views are constructed using the &lt;a href=&quot;QHeaderView.html&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; class and can be hidden using &lt;a href=&quot;QTreeView.html#header()&quot;&gt;&lt;tt&gt;header&lt;/tt&gt;&lt;/a&gt;-&amp;gt;&lt;a href=&quot;QWidget.html#hide()&quot;&gt;&lt;tt&gt;hide&lt;/tt&gt;&lt;/a&gt;. Note that each header is configured with its stretchLastSection property set to true, ensuring that the view does not waste any of the space assigned to it for its header.&lt;/p&gt;
&lt;a name=&quot;key-bindings&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Key Bindings&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; supports a set of key bindings that enable the user to navigate in the view and interact with the contents of items:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Key&lt;/th&gt;&lt;th&gt;Action&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;UpArrow&lt;/td&gt;&lt;td&gt;Moves the cursor to the item in the same column on the previous row. If the parent of the current item has no more rows to navigate to, the cursor moves to the relevant item in the last row of the sibling that precedes the parent.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;DownArrow&lt;/td&gt;&lt;td&gt;Moves the cursor to the item in the same column on the next row. If the parent of the current item has no more rows to navigate to, the cursor moves to the relevant item in the first row of the sibling that follows the parent.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;LeftArrow&lt;/td&gt;&lt;td&gt;Hides the children of the current item (if present) by collapsing a branch.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Minus&lt;/td&gt;&lt;td&gt;Same as LeftArrow.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;RightArrow&lt;/td&gt;&lt;td&gt;Reveals the children of the current item (if present) by expanding a branch.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Plus&lt;/td&gt;&lt;td&gt;Same as RightArrow.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;Asterisk&lt;/td&gt;&lt;td&gt;Expands all children of the current item (if present).&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;PageUp&lt;/td&gt;&lt;td&gt;Moves the cursor up one page.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;PageDown&lt;/td&gt;&lt;td&gt;Moves the cursor down one page.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Home&lt;/td&gt;&lt;td&gt;Moves the cursor to an item in the same column of the first row of the first top-level item in the model.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;End&lt;/td&gt;&lt;td&gt;Moves the cursor to an item in the same column of the last row of the last top-level item in the model.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;F2&lt;/td&gt;&lt;td&gt;In editable models, this opens the current item for editing. The Escape key can be used to cancel the editing process and revert any changes to the data displayed.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&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 view&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 view&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 view&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 view.&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 view.&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 view.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;a name=&quot;improving-performance&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Improving Performance&lt;/h3&gt;
&lt;p&gt;It is possible to give the view hints about the data it is handling in order to improve its performance when displaying large numbers of items. One approach that can be taken for views that are intended to display items with equal heights is to set the &lt;a href=&quot;QTreeView.html#uniformRowHeights()&quot;&gt;&lt;tt&gt;uniformRowHeights&lt;/tt&gt;&lt;/a&gt; property to true.&lt;/p&gt;

@see &lt;a href=&quot;QListView.html&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidget.html&quot;&gt;&lt;tt&gt;QTreeWidget&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-view.html&quot;&gt;View Classes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/QAbstractItemModel.html&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt;
@see Dir View 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;QTreeView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.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;QTreeView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.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 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;QTreeView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.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;QTreeView.html#viewportEntered()&quot;&gt;&lt;tt&gt;viewportEntered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.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;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTreeView.html#setExpanded(com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setExpanded&lt;/tt&gt;&lt;/a&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;QTreeView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTreeView.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;QTreeView.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 QTreeView(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a table view with a &lt;tt&gt;parent&lt;/tt&gt; to represent a model's data. Use &lt;a href=&quot;QTreeView.html#setModel(com.trolltech.qt.core.QAbstractItemModel)&quot;&gt;&lt;tt&gt;setModel&lt;/tt&gt;&lt;/a&gt; to set the model.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/core/QAbstractItemModel.html&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QTreeView()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeView.html#QTreeView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final boolean allColumnsShowFocus()" doc="/**
&lt;p&gt;Returns whether items should show keyboard focus using all columns.&lt;/p&gt;
&lt;p&gt;If this property is true all columns will show focus, otherwise only one column will show focus.&lt;/p&gt;
&lt;p&gt;The default is false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setAllColumnsShowFocus(boolean)&quot;&gt;&lt;tt&gt;setAllColumnsShowFocus&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int autoExpandDelay()" doc="/**
&lt;p&gt;Returns The delay time before items in a tree are opened during a drag and drop operation..&lt;/p&gt;
&lt;p&gt;This property holds the amount of time in milliseconds that the user must wait over a node before that node will automatically open or close. If the time is set to less then 0 then it will not be activated.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setAutoExpandDelay(int)&quot;&gt;&lt;tt&gt;setAutoExpandDelay&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void collapse(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Collapses the model item specified by the &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#collapsed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;collapsed&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void collapseAll()" doc="/**
&lt;p&gt;Collapses all expanded items.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#expandAll()&quot;&gt;&lt;tt&gt;expandAll&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#expand(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expand&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#collapse(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;collapse&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setExpanded(com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setExpanded&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int columnAt(int x)" doc="/**
&lt;p&gt;Returns the column in the tree view whose header covers the &lt;tt&gt;x&lt;/tt&gt; coordinate given.&lt;/p&gt;
 */"/>
    <method name="protected final void columnCountChanged(int oldCount, int newCount)" doc="/**
&lt;p&gt;Informs the tree view that the number of columns in the tree view has changed from &lt;tt&gt;oldCount&lt;/tt&gt; to &lt;tt&gt;newCount&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected final void columnMoved()" doc="/**
&lt;p&gt;This slot is called whenever a column has been moved.&lt;/p&gt;
 */"/>
    <method name="protected final void columnResized(int column, int oldSize, int newSize)" doc="/**
&lt;p&gt;This function is called whenever &lt;tt&gt;column&lt;/tt&gt;'s size is changed in the header. &lt;tt&gt;oldSize&lt;/tt&gt; and &lt;tt&gt;newSize&lt;/tt&gt; give the previous size and the new size in pixels.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setColumnWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int columnViewportPosition(int column)" doc="/**
&lt;p&gt;Returns the horizontal position of the &lt;tt&gt;column&lt;/tt&gt; in the viewport.&lt;/p&gt;
 */"/>
    <method name="public final int columnWidth(int column)" doc="/**
&lt;p&gt;Returns the width of the &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#resizeColumnToContents(int)&quot;&gt;&lt;tt&gt;resizeColumnToContents&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setColumnWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void drawTree(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QRegion region)" doc="/**
&lt;p&gt;Draws the part of the tree intersecting the given &lt;tt&gt;region&lt;/tt&gt; using the specified &lt;tt&gt;painter&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)&quot;&gt;&lt;tt&gt;paintEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void expand(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Expands the model item specified by the &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#expanded(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expanded&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void expandAll()" doc="/**
&lt;p&gt;Expands all expandable items.&lt;/p&gt;
&lt;p&gt;Warning: if the model contains a large number of items, this function will be take time to execute.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#collapseAll()&quot;&gt;&lt;tt&gt;collapseAll&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#expand(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expand&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#collapse(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;collapse&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setExpanded(com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setExpanded&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void expandToDepth(int depth)" doc="/**
&lt;p&gt;Expands all expandable items to the given &lt;tt&gt;depth&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#expandAll()&quot;&gt;&lt;tt&gt;expandAll&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#collapseAll()&quot;&gt;&lt;tt&gt;collapseAll&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#expand(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expand&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#collapse(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;collapse&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setExpanded(com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setExpanded&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QHeaderView header()" doc="/**
&lt;p&gt;Returns the header for the tree view.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setHeader(com.trolltech.qt.gui.QHeaderView)&quot;&gt;&lt;tt&gt;setHeader&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QAbstractItemModel::headerData&lt;/tt&gt; */"/>
    <method name="public final void hideColumn(int column)" doc="/**
&lt;p&gt;Hides the &lt;tt&gt;column&lt;/tt&gt; given.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; This function should only be called after the model has been initialized, as the view needs to know the number of columns in order to hide &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#showColumn(int)&quot;&gt;&lt;tt&gt;showColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setColumnHidden(int, boolean)&quot;&gt;&lt;tt&gt;setColumnHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int indentation()" doc="/**
&lt;p&gt;Returns indentation of the items in the tree view..&lt;/p&gt;
&lt;p&gt;This property holds the indentation measured in pixels of the items for each level in the tree view. For top-level items, the indentation specifies the horizontal distance from the viewport edge to the items in the first column; for child items, it specifies their indentation from their parent items.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setIndentation(int)&quot;&gt;&lt;tt&gt;setIndentation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex indexAbove(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the model index of the item above &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex indexBelow(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the model index of the item below &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected final int indexRowSizeHint(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the size hint for the row indicated by &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#sizeHintForColumn(int)&quot;&gt;&lt;tt&gt;sizeHintForColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#uniformRowHeights()&quot;&gt;&lt;tt&gt;uniformRowHeights&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isAnimated()" doc="/**
&lt;p&gt;Returns whether animations are enabled.&lt;/p&gt;
&lt;p&gt;If this property is true the treeview will animate expandsion and collasping of branches. If this property is false, the treeview will expand or collapse branches immediately without showing the animation.&lt;/p&gt;
 */"/>
    <method name="public final boolean isColumnHidden(int column)" doc="/**
&lt;p&gt;Returns true if the &lt;tt&gt;column&lt;/tt&gt; is hidden; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#hideColumn(int)&quot;&gt;&lt;tt&gt;hideColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#isRowHidden(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;isRowHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isExpanded(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns true if the model item &lt;tt&gt;index&lt;/tt&gt; is expanded; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#expand(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expand&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#expanded(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expanded&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setExpanded(com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setExpanded&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isFirstColumnSpanned(int row, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns true if the item in first column in the given &lt;tt&gt;row&lt;/tt&gt; of the &lt;tt&gt;parent&lt;/tt&gt; is spanning all the columns; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setFirstColumnSpanned(int, com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setFirstColumnSpanned&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isRowHidden(int row, com.trolltech.qt.core.QModelIndex parent)" doc="/**
&lt;p&gt;Returns true if the item in the given &lt;tt&gt;row&lt;/tt&gt; of the &lt;tt&gt;parent&lt;/tt&gt; is hidden; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setRowHidden(int, com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setRowHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#isColumnHidden(int)&quot;&gt;&lt;tt&gt;isColumnHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isSortingEnabled()" doc="/**
&lt;p&gt;Returns whether sorting is enabled.&lt;/p&gt;
&lt;p&gt;If this property is true, sorting is enabled for the tree; if the property is false, sorting is not enabled. The default value is false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#sortByColumn(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;sortByColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean itemsExpandable()" doc="/**
&lt;p&gt;Returns whether the items are expandable by the user..&lt;/p&gt;
&lt;p&gt;This property holds whether the user can expand and collapse items interactively.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setItemsExpandable(boolean)&quot;&gt;&lt;tt&gt;setItemsExpandable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void reexpand()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final void resizeColumnToContents(int column)" doc="/**
&lt;p&gt;Resizes the &lt;tt&gt;column&lt;/tt&gt; given to the size of its contents.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#columnWidth(int)&quot;&gt;&lt;tt&gt;columnWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setColumnWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean rootIsDecorated()" doc="/**
&lt;p&gt;Returns whether to show controls for expanding and collapsing top-level items.&lt;/p&gt;
&lt;p&gt;Items with children are typically shown with controls to expand and collapse them, allowing their children to be shown or hidden. If this property is false, these controls are not shown for top-level items. This can be used to make a single level tree structure appear like a simple list of items.&lt;/p&gt;
&lt;p&gt;By default, this property is true.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setRootIsDecorated(boolean)&quot;&gt;&lt;tt&gt;setRootIsDecorated&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final int rowHeight(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the height of the row indicated by the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#indexRowSizeHint(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;indexRowSizeHint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void rowsRemoved(com.trolltech.qt.core.QModelIndex parent, int first, int last)" doc="/**
&lt;p&gt;Informs the view that the rows from the &lt;tt&gt;first&lt;/tt&gt; row to the &lt;tt&gt;last&lt;/tt&gt; row inclusive have been removed from the given &lt;tt&gt;parent&lt;/tt&gt; model item.&lt;/p&gt;
 */"/>
    <method name="public final void setAllColumnsShowFocus(boolean enable)" doc="/**
&lt;p&gt;Sets whether items should show keyboard focus using all columns to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is true all columns will show focus, otherwise only one column will show focus.&lt;/p&gt;
&lt;p&gt;The default is false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#allColumnsShowFocus()&quot;&gt;&lt;tt&gt;allColumnsShowFocus&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAnimated(boolean enable)" doc="/**
&lt;p&gt;Sets whether animations are enabled to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is true the treeview will animate expandsion and collasping of branches. If this property is false, the treeview will expand or collapse branches immediately without showing the animation.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#isAnimated()&quot;&gt;&lt;tt&gt;isAnimated&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAutoExpandDelay(int delay)" doc="/**
&lt;p&gt;Sets The delay time before items in a tree are opened during a drag and drop operation. to &lt;tt&gt;delay&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property holds the amount of time in milliseconds that the user must wait over a node before that node will automatically open or close. If the time is set to less then 0 then it will not be activated.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#autoExpandDelay()&quot;&gt;&lt;tt&gt;autoExpandDelay&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setColumnHidden(int column, boolean hide)" doc="/**
&lt;p&gt;If &lt;tt&gt;hide&lt;/tt&gt; is true the &lt;tt&gt;column&lt;/tt&gt; is hidden, otherwise the &lt;tt&gt;column&lt;/tt&gt; is shown.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#isColumnHidden(int)&quot;&gt;&lt;tt&gt;isColumnHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#hideColumn(int)&quot;&gt;&lt;tt&gt;hideColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setRowHidden(int, com.trolltech.qt.core.QModelIndex, boolean)&quot;&gt;&lt;tt&gt;setRowHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setColumnWidth(int column, int width)" doc="/**
&lt;p&gt;Sets the width of the given &lt;tt&gt;column&lt;/tt&gt; to the &lt;tt&gt;width&lt;/tt&gt; specified.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#columnWidth(int)&quot;&gt;&lt;tt&gt;columnWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#resizeColumnToContents(int)&quot;&gt;&lt;tt&gt;resizeColumnToContents&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setExpanded(com.trolltech.qt.core.QModelIndex index, boolean expand)" doc="/**
&lt;p&gt;Sets the item referred to by &lt;tt&gt;index&lt;/tt&gt; to either collapse or expanded, depending on the value of &lt;tt&gt;expand&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#expanded(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expanded&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#expand(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;expand&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#isExpanded(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;isExpanded&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFirstColumnSpanned(int row, com.trolltech.qt.core.QModelIndex parent, boolean span)" doc="/**
&lt;p&gt;If &lt;tt&gt;span&lt;/tt&gt; is true the item in the first column in the &lt;tt&gt;row&lt;/tt&gt; with the given &lt;tt&gt;parent&lt;/tt&gt; is set to span all columns, otherwise all items on the &lt;tt&gt;row&lt;/tt&gt; are shown.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#isFirstColumnSpanned(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;isFirstColumnSpanned&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHeader(com.trolltech.qt.gui.QHeaderView header)" doc="/**
&lt;p&gt;Sets the header for the tree view, to the given &lt;tt&gt;header&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The view takes ownership over the given &lt;tt&gt;header&lt;/tt&gt; and deletes it when a new header is set.&lt;/p&gt;

@see &lt;tt&gt;QAbstractItemModel::headerData&lt;/tt&gt; */"/>
    <method name="public final void setIndentation(int i)" doc="/**
&lt;p&gt;Sets indentation of the items in the tree view. to &lt;tt&gt;i&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property holds the indentation measured in pixels of the items for each level in the tree view. For top-level items, the indentation specifies the horizontal distance from the viewport edge to the items in the first column; for child items, it specifies their indentation from their parent items.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#indentation()&quot;&gt;&lt;tt&gt;indentation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemsExpandable(boolean enable)" doc="/**
&lt;p&gt;Sets whether the items are expandable by the user. to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property holds whether the user can expand and collapse items interactively.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#itemsExpandable()&quot;&gt;&lt;tt&gt;itemsExpandable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRootIsDecorated(boolean show)" doc="/**
&lt;p&gt;Sets whether to show controls for expanding and collapsing top-level items to &lt;tt&gt;show&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Items with children are typically shown with controls to expand and collapse them, allowing their children to be shown or hidden. If this property is false, these controls are not shown for top-level items. This can be used to make a single level tree structure appear like a simple list of items.&lt;/p&gt;
&lt;p&gt;By default, this property is true.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#rootIsDecorated()&quot;&gt;&lt;tt&gt;rootIsDecorated&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRowHidden(int row, com.trolltech.qt.core.QModelIndex parent, boolean hide)" doc="/**
&lt;p&gt;If &lt;tt&gt;hide&lt;/tt&gt; is true the &lt;tt&gt;row&lt;/tt&gt; with the given &lt;tt&gt;parent&lt;/tt&gt; is hidden, otherwise the &lt;tt&gt;row&lt;/tt&gt; is shown.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#isRowHidden(int, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;isRowHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setColumnHidden(int, boolean)&quot;&gt;&lt;tt&gt;setColumnHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSortingEnabled(boolean enable)" doc="/**
&lt;p&gt;Sets whether sorting is enabled to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is true, sorting is enabled for the tree; if the property is false, sorting is not enabled. The default value is false.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#isSortingEnabled()&quot;&gt;&lt;tt&gt;isSortingEnabled&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#sortByColumn(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;sortByColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setUniformRowHeights(boolean uniform)" doc="/**
&lt;p&gt;Sets whether all items in the treeview have the same height to &lt;tt&gt;uniform&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property should only be set to true if it is guaranteed that all items in the view has the same height. This enables the view to do some optimizations.&lt;/p&gt;
&lt;p&gt;The height is obtained from the first item in the view. It is updated when the data changes on that item.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#uniformRowHeights()&quot;&gt;&lt;tt&gt;uniformRowHeights&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWordWrap(boolean on)" doc="/**
&lt;p&gt;Sets the item text word-wrapping policy to &lt;tt&gt;on&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is true then the item text is wrapped where necessary at word-breaks; otherwise it is not wrapped at all. This property is false by default.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#wordWrap()&quot;&gt;&lt;tt&gt;wordWrap&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showColumn(int column)" doc="/**
&lt;p&gt;Shows the given &lt;tt&gt;column&lt;/tt&gt; in the tree view.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#hideColumn(int)&quot;&gt;&lt;tt&gt;hideColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html#setColumnHidden(int, boolean)&quot;&gt;&lt;tt&gt;setColumnHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void sortByColumn(int column, com.trolltech.qt.core.Qt.SortOrder order)" doc="/**
&lt;p&gt;Sets the model up for sorting by the values in the given &lt;tt&gt;column&lt;/tt&gt; and &lt;tt&gt;order&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;sortingEnabled&lt;/tt&gt; */"/>
    <method name="public final boolean uniformRowHeights()" doc="/**
&lt;p&gt;Returns whether all items in the treeview have the same height.&lt;/p&gt;
&lt;p&gt;This property should only be set to true if it is guaranteed that all items in the view has the same height. This enables the view to do some optimizations.&lt;/p&gt;
&lt;p&gt;The height is obtained from the first item in the view. It is updated when the data changes on that item.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setUniformRowHeights(boolean)&quot;&gt;&lt;tt&gt;setUniformRowHeights&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean wordWrap()" doc="/**
&lt;p&gt;Returns the item text word-wrapping policy.&lt;/p&gt;
&lt;p&gt;If this property is true then the item text is wrapped where necessary at word-breaks; otherwise it is not wrapped at all. This property is false by default.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#setWordWrap(boolean)&quot;&gt;&lt;tt&gt;setWordWrap&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void currentChanged(com.trolltech.qt.core.QModelIndex current, com.trolltech.qt.core.QModelIndex previous)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void dataChanged(com.trolltech.qt.core.QModelIndex topLeft, com.trolltech.qt.core.QModelIndex bottomRight)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void doItemsLayout()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void dragMoveEvent(com.trolltech.qt.gui.QDragMoveEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void drawBranches(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.core.QRect rect, com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Draws the branches in the tree view on the same row as the model item &lt;tt&gt;index&lt;/tt&gt;, using the &lt;tt&gt;painter&lt;/tt&gt; given. The branches are drawn in the rectangle specified by &lt;tt&gt;rect&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected void drawRow(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QStyleOptionViewItem options, com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Draws the row in the tree view that contains the model item &lt;tt&gt;index&lt;/tt&gt;, using the &lt;tt&gt;painter&lt;/tt&gt; given. The &lt;tt&gt;options&lt;/tt&gt; control how the item is displayed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setAlternatingRowColors(boolean)&quot;&gt;&lt;tt&gt;setAlternatingRowColors&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected int horizontalOffset()" doc="/**
&lt;p&gt;Returns the horizontal offset of the items in the treeview.&lt;/p&gt;
&lt;p&gt;Note that the tree view uses the horizontal header section positions to determine the positions of columns in the view.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#verticalOffset()&quot;&gt;&lt;tt&gt;verticalOffset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void horizontalScrollbarAction(int action)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QModelIndex indexAt(com.trolltech.qt.core.QPoint p)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected boolean isIndexHidden(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void keyboardSearch(java.lang.String search)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected com.trolltech.qt.core.QModelIndex moveCursor(com.trolltech.qt.gui.QAbstractItemView.CursorAction cursorAction, com.trolltech.qt.core.Qt.KeyboardModifiers modifiers)" doc="/**
&lt;p&gt;Move the cursor in the way described by &lt;tt&gt;cursorAction&lt;/tt&gt;, using the information provided by the button &lt;tt&gt;modifiers&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void reset()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void rowsAboutToBeRemoved(com.trolltech.qt.core.QModelIndex parent, int start, int end)" doc="/**
&lt;p&gt;Informs the view that the rows from the &lt;tt&gt;start&lt;/tt&gt; row to the &lt;tt&gt;end&lt;/tt&gt; row inclusive are about to removed from the given &lt;tt&gt;parent&lt;/tt&gt; model item.&lt;/p&gt;
 */"/>
    <method name="protected void rowsInserted(com.trolltech.qt.core.QModelIndex parent, int start, int end)" doc="/**
&lt;p&gt;Informs the view that the rows from the &lt;tt&gt;start&lt;/tt&gt; row to the &lt;tt&gt;end&lt;/tt&gt; row inclusive have been inserted into the &lt;tt&gt;parent&lt;/tt&gt; model item.&lt;/p&gt;
 */"/>
    <method name="protected void scrollContentsBy(int dx, int dy)" doc="/**
&lt;p&gt;Scrolls the contents of the tree view by (&lt;tt&gt;dx&lt;/tt&gt;, &lt;tt&gt;dy&lt;/tt&gt;).&lt;/p&gt;
 */"/>
    <method name="public void scrollTo(com.trolltech.qt.core.QModelIndex index, com.trolltech.qt.gui.QAbstractItemView.ScrollHint hint)" doc="/**
&lt;p&gt;Scroll the contents of the tree view until the given model item &lt;tt&gt;index&lt;/tt&gt; is visible. The &lt;tt&gt;hint&lt;/tt&gt; parameter specifies more precisely where the item should be located after the operation. If any of the parents of the model item are collapsed, they will be expanded to ensure that the model item is visible.&lt;/p&gt;
 */"/>
    <method name="public final void scrollTo(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTreeView.html#scrollTo(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QAbstractItemView.ScrollHint)&quot;&gt;&lt;tt&gt;scrollTo&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;index&lt;/tt&gt;, EnsureVisible). */"/>
    <method name="public void selectAll()" doc="/**
&lt;p&gt;Selects all the items in the underlying model.&lt;/p&gt;
 */"/>
    <method name="protected java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; selectedIndexes()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void selectionChanged(com.trolltech.qt.gui.QItemSelection selected, com.trolltech.qt.gui.QItemSelection deselected)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public 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 void setRootIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void setSelection(com.trolltech.qt.core.QRect rect, com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags command)" doc="/**
&lt;p&gt;Applies the selection &lt;tt&gt;command&lt;/tt&gt; to the items in or touched by the rectangle, &lt;tt&gt;rect&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#selectionCommand(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;selectionCommand&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void setSelectionModel(com.trolltech.qt.gui.QItemSelectionModel selectionModel)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int sizeHintForColumn(int column)" doc="/**
&lt;p&gt;Returns the size hint for the &lt;tt&gt;column&lt;/tt&gt;'s width or -1 if there is no model.&lt;/p&gt;
&lt;p&gt;If you need to set the width of a given column to a fixed value, call QHeaderView::resizeSection() on the view's header.&lt;/p&gt;
&lt;p&gt;If you reimplement this function in a subclass, note that the value you return is only used when &lt;a href=&quot;QTreeView.html#resizeColumnToContents(int)&quot;&gt;&lt;tt&gt;resizeColumnToContents&lt;/tt&gt;&lt;/a&gt; is called. In that case, if a larger column width is required by either the view's header or the item delegate, that width will be used instead.&lt;/p&gt;

@see &lt;tt&gt;QWidget::sizeHint&lt;/tt&gt;
@see &lt;a href=&quot;QTreeView.html#header()&quot;&gt;&lt;tt&gt;header&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void timerEvent(com.trolltech.qt.core.QTimerEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void updateGeometries()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected int verticalOffset()" doc="/**
&lt;p&gt;Returns the vertical offset of the items in the tree view.&lt;/p&gt;

@see &lt;a href=&quot;QTreeView.html#horizontalOffset()&quot;&gt;&lt;tt&gt;horizontalOffset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected boolean viewportEvent(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QRect visualRect(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the rectangle on the viewport occupied by the item at &lt;tt&gt;index&lt;/tt&gt;. If the index is not visible or explicitly hidden, the returned rectangle is invalid.&lt;/p&gt;
 */"/>
    <method name="protected com.trolltech.qt.gui.QRegion visualRegionForSelection(com.trolltech.qt.gui.QItemSelection selection)" doc="/**
&lt;p&gt;Returns the rectangle from the viewport of the items in the given &lt;tt&gt;selection&lt;/tt&gt;.&lt;/p&gt;
 */"/>
</class>
