<class name="QAbstractItemView" doc="/**
&lt;p&gt;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 provides the basic functionality for item view classes.&lt;/p&gt;
&lt;p&gt;&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 is the base class for every standard view that uses a &lt;a href=&quot;%2E%2E/core/QAbstractItemModel.html&quot;&gt;&lt;tt&gt;QAbstractItemModel&lt;/tt&gt;&lt;/a&gt;. &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; is an abstract class and cannot itself be instantiated. It provides a standard interface for interoperating with models through the signals and slots mechanism, enabling subclasses to be kept up-to-date with changes to their models. This class provides standard support for keyboard and mouse navigation, viewport scrolling, item editing, and selections.&lt;/p&gt;
&lt;p&gt;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 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;The view classes that inherit &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; only need to implement their own view-specific functionality, such as drawing items, returning the geometry of items, finding items, etc.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; provides common slots such as &lt;a href=&quot;QAbstractItemView.html#edit(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QAbstractItemView.EditTrigger, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;edit&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractItemView.html#setCurrentIndex(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;setCurrentIndex&lt;/tt&gt;&lt;/a&gt;. Many protected slots are also provided, including &lt;a href=&quot;QAbstractItemView.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#rowsInserted(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;rowsInserted&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#rowsAboutToBeRemoved(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;rowsAboutToBeRemoved&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#selectionChanged(com.trolltech.qt.gui.QItemSelection, com.trolltech.qt.gui.QItemSelection)&quot;&gt;&lt;tt&gt;selectionChanged&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractItemView.html#currentChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;currentChanged&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The root item is returned by &lt;a href=&quot;QAbstractItemView.html#rootIndex()&quot;&gt;&lt;tt&gt;rootIndex&lt;/tt&gt;&lt;/a&gt;, and the current item by &lt;a href=&quot;QAbstractItemView.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt;. To make sure that an item is visible use &lt;a href=&quot;QAbstractItemView.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;/p&gt;
&lt;p&gt;Some of &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt;'s functions are concerned with scrolling, for example &lt;a href=&quot;QAbstractItemView.html#setHorizontalScrollMode(com.trolltech.qt.gui.QAbstractItemView.ScrollMode)&quot;&gt;&lt;tt&gt;setHorizontalScrollMode&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractItemView.html#setVerticalScrollMode(com.trolltech.qt.gui.QAbstractItemView.ScrollMode)&quot;&gt;&lt;tt&gt;setVerticalScrollMode&lt;/tt&gt;&lt;/a&gt;. To set the range of the scroll bars, you can, for example, reimplement the view's &lt;a href=&quot;QAbstractItemView.html#resizeEvent(com.trolltech.qt.gui.QResizeEvent)&quot;&gt;&lt;tt&gt;resizeEvent&lt;/tt&gt;&lt;/a&gt; function:&lt;/p&gt;
&lt;pre&gt;    void MyView::resizeEvent(QResizeEvent *event) {
        horizontalScrollBar()-&amp;gt;setRange(0, realWidth - width());
        ...
    }&lt;/pre&gt;
&lt;p&gt;Note that the range is not updated until the widget is shown.&lt;/p&gt;
&lt;p&gt;Several other functions are concerned with selection control; for example &lt;a href=&quot;QAbstractItemView.html#setSelectionMode(com.trolltech.qt.gui.QAbstractItemView.SelectionMode)&quot;&gt;&lt;tt&gt;setSelectionMode&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractItemView.html#setSelectionBehavior(com.trolltech.qt.gui.QAbstractItemView.SelectionBehavior)&quot;&gt;&lt;tt&gt;setSelectionBehavior&lt;/tt&gt;&lt;/a&gt;. This class provides a default selection model to work with (&lt;a href=&quot;QAbstractItemView.html#selectionModel()&quot;&gt;&lt;tt&gt;selectionModel&lt;/tt&gt;&lt;/a&gt;), but this can be replaced by using &lt;a href=&quot;QAbstractItemView.html#setSelectionModel(com.trolltech.qt.gui.QItemSelectionModel)&quot;&gt;&lt;tt&gt;setSelectionModel&lt;/tt&gt;&lt;/a&gt; with an instance of &lt;a href=&quot;QItemSelectionModel.html&quot;&gt;&lt;tt&gt;QItemSelectionModel&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For complete control over the display and editing of items you can specify a delegate with &lt;a href=&quot;QAbstractItemView.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; provides a lot of protected functions. Some are concerned with editing, for example, &lt;a href=&quot;QAbstractItemView.html#edit(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QAbstractItemView.EditTrigger, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;edit&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QAbstractItemView.html#commitData(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;commitData&lt;/tt&gt;&lt;/a&gt;, whilst others are keyboard and mouse event handlers.&lt;/p&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/model-view-programming.html&quot;&gt;Model/View Programming&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 Chart 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;QAbstractItemView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.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;QAbstractItemView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.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 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;QAbstractItemView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.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;QAbstractItemView.html#viewportEntered()&quot;&gt;&lt;tt&gt;viewportEntered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.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 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;QAbstractItemView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QAbstractItemView.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;QAbstractItemView.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 QAbstractItemView(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs an abstract item view with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QAbstractItemView()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final boolean alternatingRowColors()" doc="/**
&lt;p&gt;Returns whether to draw the background using alternating colors.&lt;/p&gt;
&lt;p&gt;If this property is true, the item background will be drawn using QPalette::Base and QPalette::AlternateBase; otherwise the background will be drawn using the QPalette::Base color.&lt;/p&gt;
&lt;p&gt;By default, this property is false.&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="public final void clearSelection()" doc="/**
&lt;p&gt;Clears all selected items. The current index will not be changed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setSelection(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#selectAll()&quot;&gt;&lt;tt&gt;selectAll&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void closePersistentEditor(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Closes the persistent editor for the item at the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#openPersistentEditor(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;openPersistentEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex currentIndex()" doc="/**
&lt;p&gt;Returns the model index of the current item.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setCurrentIndex(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;setCurrentIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.core.QPoint dirtyRegionOffset()" doc="/**
&lt;p&gt;Returns the offset of the dirty regions in the view.&lt;/p&gt;
&lt;p&gt;If you use &lt;a href=&quot;QAbstractItemView.html#scrollDirtyRegion(int, int)&quot;&gt;&lt;tt&gt;scrollDirtyRegion&lt;/tt&gt;&lt;/a&gt; and implement a &lt;a href=&quot;QAbstractScrollArea.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)&quot;&gt;&lt;tt&gt;paintEvent&lt;/tt&gt;&lt;/a&gt; in a subclass of &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt;, you should translate the area given by the paint event with the offset returned from this function.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#scrollDirtyRegion(int, int)&quot;&gt;&lt;tt&gt;scrollDirtyRegion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#setDirtyRegion(com.trolltech.qt.gui.QRegion)&quot;&gt;&lt;tt&gt;setDirtyRegion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void doAutoScroll()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemView.DragDropMode dragDropMode()" doc="/**
&lt;p&gt;Returns the drag and drop event the view will act upon.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setDragDropMode(com.trolltech.qt.gui.QAbstractItemView.DragDropMode)&quot;&gt;&lt;tt&gt;setDragDropMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#showDropIndicator()&quot;&gt;&lt;tt&gt;showDropIndicator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropOverwriteMode()&quot;&gt;&lt;tt&gt;dragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean dragDropOverwriteMode()" doc="/**
&lt;p&gt;Returns the view's drag and drop behavior.&lt;/p&gt;
&lt;p&gt;If its value is &lt;tt&gt;true&lt;/tt&gt;, the selected data will overwrite the existing item data when dropped, while moving the data will clear the item. If its value is &lt;tt&gt;false&lt;/tt&gt;, the selected data will be inserted as a new item when the data is dropped. When the data is moved, the item is removed as well.&lt;/p&gt;
&lt;p&gt;The default value is &lt;tt&gt;false&lt;/tt&gt;, as in the &lt;a href=&quot;QListView.html&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTreeView.html&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; subclasses. In the &lt;a href=&quot;QTableView.html&quot;&gt;&lt;tt&gt;QTableView&lt;/tt&gt;&lt;/a&gt; subclass, on the other hand, the property has been set to &lt;tt&gt;true&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setDragDropOverwriteMode(boolean)&quot;&gt;&lt;tt&gt;setDragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropMode()&quot;&gt;&lt;tt&gt;dragDropMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean dragEnabled()" doc="/**
&lt;p&gt;Returns whether the view supports dragging of its own items.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setDragEnabled(boolean)&quot;&gt;&lt;tt&gt;setDragEnabled&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#showDropIndicator()&quot;&gt;&lt;tt&gt;showDropIndicator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#DragDropMode-enum&quot;&gt;&lt;tt&gt;DragDropMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropOverwriteMode()&quot;&gt;&lt;tt&gt;dragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWidget.html#acceptDrops()&quot;&gt;&lt;tt&gt;acceptDrops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.gui.QAbstractItemView.DropIndicatorPosition dropIndicatorPosition()" doc="/**
&lt;p&gt;Returns the position of the drop indicator in relation to the closest item.&lt;/p&gt;
 */"/>
    <method name="public final void edit(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Starts editing the item corresponding to the given &lt;tt&gt;index&lt;/tt&gt; if it is editable.&lt;/p&gt;
&lt;p&gt;Note that this function does not change the current index. Since the current index defines the next and previous items to edit, users may find that keyboard navigation does not work as expected. To provide consistent navigation behavior, call &lt;a href=&quot;QAbstractItemView.html#setCurrentIndex(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;setCurrentIndex&lt;/tt&gt;&lt;/a&gt; before this function with the same model index.&lt;/p&gt;

@see &lt;tt&gt;QModelIndex::flags&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemView.EditTriggers editTriggers()" doc="/**
&lt;p&gt;Returns which actions will initiate item editing.&lt;/p&gt;
&lt;p&gt;This property is a selection of flags defined by &lt;a href=&quot;QAbstractItemView.html#EditTrigger-enum&quot;&gt;&lt;tt&gt;EditTrigger&lt;/tt&gt;&lt;/a&gt;, combined using the OR operator. The view will only initiate the editing of an item if the action performed is set in this property.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setEditTriggers(com.trolltech.qt.gui.QAbstractItemView.EditTriggers)&quot;&gt;&lt;tt&gt;setEditTriggers&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void executeDelayedItemsLayout()" doc="/**
&lt;p&gt;Executes the scheduled layouts without waiting for the event processing to begin.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#scheduleDelayedItemsLayout()&quot;&gt;&lt;tt&gt;scheduleDelayedItemsLayout&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasAutoScroll()" doc="/**
&lt;p&gt;Returns whether autoscrolling in drag move events is enabled.&lt;/p&gt;
&lt;p&gt;If this property is set to true (the default), 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; automatically scrolls the contents of the view if the user drags within 16 pixels of the viewport edge. This only works if the viewport accepts drops. Autoscroll is switched off by setting this property to false.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemView.ScrollMode horizontalScrollMode()" doc="/**
&lt;p&gt;Returns how the view scrolls its contents in the horizontal direction.&lt;/p&gt;
&lt;p&gt;This property controlls how the view scroll its contents horizontally. Scrolling can be done either per pixel or per item.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setHorizontalScrollMode(com.trolltech.qt.gui.QAbstractItemView.ScrollMode)&quot;&gt;&lt;tt&gt;setHorizontalScrollMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize iconSize()" doc="/**
&lt;p&gt;Returns the size of items.&lt;/p&gt;
&lt;p&gt;Setting this property when the view is visible will cause the items to be laid out again.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setIconSize(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setIconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget indexWidget(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the widget for the item at the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setIndexWidget(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;setIndexWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemDelegate itemDelegate()" doc="/**
&lt;p&gt;Returns the item delegate used by this view and model. This is either one set with &lt;a href=&quot;QAbstractItemView.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt;, or the default one.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemDelegate itemDelegate(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the item delegate used by this view and model for the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemDelegate itemDelegateForColumn(int column)" doc="/**
&lt;p&gt;Returns the item delegate used by this view and model for the given &lt;tt&gt;column&lt;/tt&gt;. You can call &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; to get a pointer to the current delegate for a given index.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setItemDelegateForColumn(int, com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegateForColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#itemDelegateForRow(int)&quot;&gt;&lt;tt&gt;itemDelegateForRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemDelegate itemDelegateForRow(int row)" doc="/**
&lt;p&gt;Returns the item delegate used by this view and model for the given &lt;tt&gt;row&lt;/tt&gt;, or 0 if no delegate has been assigned. You can call &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; to get a pointer to the current delegate for a given index.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setItemDelegateForRow(int, com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegateForRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#itemDelegateForColumn(int)&quot;&gt;&lt;tt&gt;itemDelegateForColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QAbstractItemModel model()" doc="/**
&lt;p&gt;Returns the model that this view is presenting.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setModel(com.trolltech.qt.core.QAbstractItemModel)&quot;&gt;&lt;tt&gt;setModel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void openPersistentEditor(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Opens a persistent editor on the item at the given &lt;tt&gt;index&lt;/tt&gt;. If no editor exists, the delegate will create a new editor.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#closePersistentEditor(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;closePersistentEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QModelIndex rootIndex()" doc="/**
&lt;p&gt;Returns the model index of the model's root item. The root item is the parent item to the view's toplevel items. The root can be invalid.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setRootIndex(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;setRootIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void scheduleDelayedItemsLayout()" doc="/**
&lt;p&gt;Schedules a layout of the items in the view to be executed when the event processing starts.&lt;/p&gt;
&lt;p&gt;Even if &lt;a href=&quot;QAbstractItemView.html#scheduleDelayedItemsLayout()&quot;&gt;&lt;tt&gt;scheduleDelayedItemsLayout&lt;/tt&gt;&lt;/a&gt; is called multiple times before events are processed, the view will only do the layout once.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#executeDelayedItemsLayout()&quot;&gt;&lt;tt&gt;executeDelayedItemsLayout&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void scrollDirtyRegion(int dx, int dy)" doc="/**
&lt;p&gt;Prepares the view for scrolling by (&lt;tt&gt;dx&lt;/tt&gt;,&lt;tt&gt;dy&lt;/tt&gt;) pixels by moving the dirty regions in the opposite direction. You only need to call this function if you are implementing a scrolling viewport in your view subclass.&lt;/p&gt;
&lt;p&gt;If you implement &lt;a href=&quot;QAbstractScrollArea.html#scrollContentsBy(int, int)&quot;&gt;&lt;tt&gt;scrollContentsBy&lt;/tt&gt;&lt;/a&gt; in a subclass of &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt;, call this function before you call QWidget::scroll() on the viewport. Alternatively, just call &lt;a href=&quot;QAbstractItemView.html#update(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;update&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractScrollArea.html#scrollContentsBy(int, int)&quot;&gt;&lt;tt&gt;scrollContentsBy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dirtyRegionOffset()&quot;&gt;&lt;tt&gt;dirtyRegionOffset&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#setDirtyRegion(com.trolltech.qt.gui.QRegion)&quot;&gt;&lt;tt&gt;setDirtyRegion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void scrollToBottom()" doc="/**
&lt;p&gt;Scrolls the view to the bottom.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.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;
@see &lt;a href=&quot;QAbstractItemView.html#scrollToTop()&quot;&gt;&lt;tt&gt;scrollToTop&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void scrollToTop()" doc="/**
&lt;p&gt;Scrolls the view to the top.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.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;
@see &lt;a href=&quot;QAbstractItemView.html#scrollToBottom()&quot;&gt;&lt;tt&gt;scrollToBottom&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemView.SelectionBehavior selectionBehavior()" doc="/**
&lt;p&gt;Returns which selection behavior the view uses.&lt;/p&gt;
&lt;p&gt;This property holds whether selections are done in terms of single items, rows or columns.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setSelectionBehavior(com.trolltech.qt.gui.QAbstractItemView.SelectionBehavior)&quot;&gt;&lt;tt&gt;setSelectionBehavior&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SelectionMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionBehavior-enum&quot;&gt;&lt;tt&gt;SelectionBehavior&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemView.SelectionMode selectionMode()" doc="/**
&lt;p&gt;Returns which selection mode the view operates in.&lt;/p&gt;
&lt;p&gt;This property controls whether the user can select one or many items and, in many-item selections, whether the selection must be a continuous range of items.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setSelectionMode(com.trolltech.qt.gui.QAbstractItemView.SelectionMode)&quot;&gt;&lt;tt&gt;setSelectionMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SelectionMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionBehavior-enum&quot;&gt;&lt;tt&gt;SelectionBehavior&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QItemSelectionModel selectionModel()" doc="/**
&lt;p&gt;Returns the current selection model.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setSelectionModel(com.trolltech.qt.gui.QItemSelectionModel)&quot;&gt;&lt;tt&gt;setSelectionModel&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#selectedIndexes()&quot;&gt;&lt;tt&gt;selectedIndexes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAlternatingRowColors(boolean enable)" doc="/**
&lt;p&gt;Sets whether to draw the background using alternating colors to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is true, the item background will be drawn using QPalette::Base and QPalette::AlternateBase; otherwise the background will be drawn using the QPalette::Base color.&lt;/p&gt;
&lt;p&gt;By default, this property is false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#alternatingRowColors()&quot;&gt;&lt;tt&gt;alternatingRowColors&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAutoScroll(boolean enable)" doc="/**
&lt;p&gt;Sets whether autoscrolling in drag move events is enabled to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this property is set to true (the default), 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; automatically scrolls the contents of the view if the user drags within 16 pixels of the viewport edge. This only works if the viewport accepts drops. Autoscroll is switched off by setting this property to false.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#hasAutoScroll()&quot;&gt;&lt;tt&gt;hasAutoScroll&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Sets the current item to be the item at &lt;tt&gt;index&lt;/tt&gt;. Depending on the current selection mode, the item may also be selected. Note that this function also updates the starting position for any new selections the user performs.&lt;/p&gt;
&lt;p&gt;To set an item as the current item without selecting it, call&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;selectionModel()-&amp;gt;setCurrentIndex(index, QItemSelectionModel::NoUpdate);&lt;/tt&gt;&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#currentChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;currentChanged&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#selectionMode()&quot;&gt;&lt;tt&gt;selectionMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void setDirtyRegion(com.trolltech.qt.gui.QRegion region)" doc="/**
&lt;p&gt;Marks the given &lt;tt&gt;region&lt;/tt&gt; as dirty and schedules it to be updated. You only need to call this function if you are implementing your own view subclass.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#scrollDirtyRegion(int, int)&quot;&gt;&lt;tt&gt;scrollDirtyRegion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dirtyRegionOffset()&quot;&gt;&lt;tt&gt;dirtyRegionOffset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDragDropMode(com.trolltech.qt.gui.QAbstractItemView.DragDropMode behavior)" doc="/**
&lt;p&gt;Sets the drag and drop event the view will act upon to &lt;tt&gt;behavior&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#dragDropMode()&quot;&gt;&lt;tt&gt;dragDropMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#showDropIndicator()&quot;&gt;&lt;tt&gt;showDropIndicator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropOverwriteMode()&quot;&gt;&lt;tt&gt;dragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDragDropOverwriteMode(boolean overwrite)" doc="/**
&lt;p&gt;Sets the view's drag and drop behavior to &lt;tt&gt;overwrite&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If its value is &lt;tt&gt;true&lt;/tt&gt;, the selected data will overwrite the existing item data when dropped, while moving the data will clear the item. If its value is &lt;tt&gt;false&lt;/tt&gt;, the selected data will be inserted as a new item when the data is dropped. When the data is moved, the item is removed as well.&lt;/p&gt;
&lt;p&gt;The default value is &lt;tt&gt;false&lt;/tt&gt;, as in the &lt;a href=&quot;QListView.html&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTreeView.html&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; subclasses. In the &lt;a href=&quot;QTableView.html&quot;&gt;&lt;tt&gt;QTableView&lt;/tt&gt;&lt;/a&gt; subclass, on the other hand, the property has been set to &lt;tt&gt;true&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#dragDropOverwriteMode()&quot;&gt;&lt;tt&gt;dragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropMode()&quot;&gt;&lt;tt&gt;dragDropMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDragEnabled(boolean enable)" doc="/**
&lt;p&gt;Sets whether the view supports dragging of its own items to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#dragEnabled()&quot;&gt;&lt;tt&gt;dragEnabled&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#showDropIndicator()&quot;&gt;&lt;tt&gt;showDropIndicator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#DragDropMode-enum&quot;&gt;&lt;tt&gt;DragDropMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropOverwriteMode()&quot;&gt;&lt;tt&gt;dragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWidget.html#acceptDrops()&quot;&gt;&lt;tt&gt;acceptDrops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDropIndicatorShown(boolean enable)" doc="/**
&lt;p&gt;Sets whether the drop indicator is shown when dragging items and dropping. to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#dragEnabled()&quot;&gt;&lt;tt&gt;dragEnabled&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#DragDropMode-enum&quot;&gt;&lt;tt&gt;DragDropMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropOverwriteMode()&quot;&gt;&lt;tt&gt;dragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWidget.html#acceptDrops()&quot;&gt;&lt;tt&gt;acceptDrops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setEditTriggers(com.trolltech.qt.gui.QAbstractItemView.EditTriggers triggers)" doc="/**
&lt;p&gt;Sets which actions will initiate item editing to &lt;tt&gt;triggers&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property is a selection of flags defined by &lt;a href=&quot;QAbstractItemView.html#EditTrigger-enum&quot;&gt;&lt;tt&gt;EditTrigger&lt;/tt&gt;&lt;/a&gt;, combined using the OR operator. The view will only initiate the editing of an item if the action performed is set in this property.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#editTriggers()&quot;&gt;&lt;tt&gt;editTriggers&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHorizontalScrollMode(com.trolltech.qt.gui.QAbstractItemView.ScrollMode mode)" doc="/**
&lt;p&gt;Sets how the view scrolls its contents in the horizontal direction to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property controlls how the view scroll its contents horizontally. Scrolling can be done either per pixel or per item.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#horizontalScrollMode()&quot;&gt;&lt;tt&gt;horizontalScrollMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIconSize(com.trolltech.qt.core.QSize size)" doc="/**
&lt;p&gt;Sets the size of items to &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Setting this property when the view is visible will cause the items to be laid out again.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#iconSize()&quot;&gt;&lt;tt&gt;iconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIndexWidget(com.trolltech.qt.core.QModelIndex index, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Sets the given &lt;tt&gt;widget&lt;/tt&gt; on the item at the given &lt;tt&gt;index&lt;/tt&gt;, passing the ownership of the widget to the viewport.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;index&lt;/tt&gt; is invalid (e.g&amp;#x2e;, if you pass the root index), this function will do nothing.&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 item at the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function should only be used to display static content within the visible area corresponding to an item of data. If you want to display custom dynamic content or implement a custom editor widget, 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;QAbstractItemView.html#indexWidget(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;indexWidget&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 final void setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate delegate)" doc="/**
&lt;p&gt;Sets the item delegate for this view and its model to &lt;tt&gt;delegate&lt;/tt&gt;. This is useful if you want complete control over the editing and display of items.&lt;/p&gt;
&lt;p&gt;Any existing delegate will be removed, but not deleted. &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; does not take ownership of &lt;tt&gt;delegate&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; You should not share the same instance of a delegate between views. Doing so can cause incorrect or unintuitive editing behavior since each view connected to a given delegate may receive the closeEditor() signal, and attempt to access, modify or close an editor that has already been closed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemDelegateForColumn(int column, com.trolltech.qt.gui.QAbstractItemDelegate delegate)" doc="/**
&lt;p&gt;Sets the given item &lt;tt&gt;delegate&lt;/tt&gt; used by this view and model for the given &lt;tt&gt;column&lt;/tt&gt;. All items on &lt;tt&gt;column&lt;/tt&gt; will be drawn and managed by &lt;tt&gt;delegate&lt;/tt&gt; instead of using the default delegate (i.e&amp;#x2e;, &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Any existing column delegate for &lt;tt&gt;column&lt;/tt&gt; will be removed, but not deleted. &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; does not take ownership of &lt;tt&gt;delegate&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; If a delegate has been assigned to both a row and a column, the row delegate will take presedence and manage the intersecting cell index.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; You should not share the same instance of a delegate between views. Doing so can cause incorrect or unintuitive editing behavior since each view connected to a given delegate may receive the closeEditor() signal, and attempt to access, modify or close an editor that has already been closed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#itemDelegateForColumn(int)&quot;&gt;&lt;tt&gt;itemDelegateForColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#setItemDelegateForRow(int, com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegateForRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemDelegateForRow(int row, com.trolltech.qt.gui.QAbstractItemDelegate delegate)" doc="/**
&lt;p&gt;Sets the given item &lt;tt&gt;delegate&lt;/tt&gt; used by this view and model for the given &lt;tt&gt;row&lt;/tt&gt;. All items on &lt;tt&gt;row&lt;/tt&gt; will be drawn and managed by &lt;tt&gt;delegate&lt;/tt&gt; instead of using the default delegate (i.e&amp;#x2e;, &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Any existing row delegate for &lt;tt&gt;row&lt;/tt&gt; will be removed, but not deleted. &lt;a href=&quot;QAbstractItemView.html#QAbstractItemView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractItemView&lt;/tt&gt;&lt;/a&gt; does not take ownership of &lt;tt&gt;delegate&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; If a delegate has been assigned to both a row and a column, the row delegate (i.e&amp;#x2e;, this delegate) will take presedence and manage the intersecting cell index.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; You should not share the same instance of a delegate between views. Doing so can cause incorrect or unintuitive editing behavior since each view connected to a given delegate may receive the closeEditor() signal, and attempt to access, modify or close an editor that has already been closed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#itemDelegateForRow(int)&quot;&gt;&lt;tt&gt;itemDelegateForRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#setItemDelegateForColumn(int, com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegateForColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#itemDelegate(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;itemDelegate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSelectionBehavior(com.trolltech.qt.gui.QAbstractItemView.SelectionBehavior behavior)" doc="/**
&lt;p&gt;Sets which selection behavior the view uses to &lt;tt&gt;behavior&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property holds whether selections are done in terms of single items, rows or columns.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#selectionBehavior()&quot;&gt;&lt;tt&gt;selectionBehavior&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SelectionMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionBehavior-enum&quot;&gt;&lt;tt&gt;SelectionBehavior&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSelectionMode(com.trolltech.qt.gui.QAbstractItemView.SelectionMode mode)" doc="/**
&lt;p&gt;Sets which selection mode the view operates in to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property controls whether the user can select one or many items and, in many-item selections, whether the selection must be a continuous range of items.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#selectionMode()&quot;&gt;&lt;tt&gt;selectionMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SelectionMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#SelectionBehavior-enum&quot;&gt;&lt;tt&gt;SelectionBehavior&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void setState(com.trolltech.qt.gui.QAbstractItemView.State state)" doc="/**
&lt;p&gt;Sets the item view's state to the given &lt;tt&gt;state&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#state()&quot;&gt;&lt;tt&gt;state&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabKeyNavigation(boolean enable)" doc="/**
&lt;p&gt;Sets whether item navigation with tab and backtab is enabled. to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#tabKeyNavigation()&quot;&gt;&lt;tt&gt;tabKeyNavigation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTextElideMode(com.trolltech.qt.core.Qt.TextElideMode mode)" doc="/**
&lt;p&gt;Sets the the position of the &amp;quot;..&amp;#x2e;&amp;quot; in elided text. to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#textElideMode()&quot;&gt;&lt;tt&gt;textElideMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalScrollMode(com.trolltech.qt.gui.QAbstractItemView.ScrollMode mode)" doc="/**
&lt;p&gt;Sets how the view scrolls its contents in the vertical direction to &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property controlls how the view scroll its contents vertically. Scrolling can be done either per pixel or per item.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#verticalScrollMode()&quot;&gt;&lt;tt&gt;verticalScrollMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean showDropIndicator()" doc="/**
&lt;p&gt;Returns whether the drop indicator is shown when dragging items and dropping..&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#dragEnabled()&quot;&gt;&lt;tt&gt;dragEnabled&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#DragDropMode-enum&quot;&gt;&lt;tt&gt;DragDropMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#dragDropOverwriteMode()&quot;&gt;&lt;tt&gt;dragDropOverwriteMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWidget.html#acceptDrops()&quot;&gt;&lt;tt&gt;acceptDrops&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize sizeHintForIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns the size hint for the item with the specified &lt;tt&gt;index&lt;/tt&gt; or an invalid size for invalid indexes.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#sizeHintForRow(int)&quot;&gt;&lt;tt&gt;sizeHintForRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#sizeHintForColumn(int)&quot;&gt;&lt;tt&gt;sizeHintForColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void startAutoScroll()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="protected final com.trolltech.qt.gui.QAbstractItemView.State state()" doc="/**
&lt;p&gt;Returns the item view's state.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setState(com.trolltech.qt.gui.QAbstractItemView.State)&quot;&gt;&lt;tt&gt;setState&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void stopAutoScroll()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final boolean tabKeyNavigation()" doc="/**
&lt;p&gt;Returns whether item navigation with tab and backtab is enabled..&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setTabKeyNavigation(boolean)&quot;&gt;&lt;tt&gt;setTabKeyNavigation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.TextElideMode textElideMode()" doc="/**
&lt;p&gt;Returns the the position of the &amp;quot;..&amp;#x2e;&amp;quot; in elided text..&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setTextElideMode(com.trolltech.qt.core.Qt.TextElideMode)&quot;&gt;&lt;tt&gt;setTextElideMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void update(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Updates the area occupied by the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAbstractItemView.ScrollMode verticalScrollMode()" doc="/**
&lt;p&gt;Returns how the view scrolls its contents in the vertical direction.&lt;/p&gt;
&lt;p&gt;This property controlls how the view scroll its contents vertically. Scrolling can be done either per pixel or per item.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setVerticalScrollMode(com.trolltech.qt.gui.QAbstractItemView.ScrollMode)&quot;&gt;&lt;tt&gt;setVerticalScrollMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void closeEditor(com.trolltech.qt.gui.QWidget editor, com.trolltech.qt.gui.QAbstractItemDelegate.EndEditHint hint)" doc="/**
&lt;p&gt;Closes the given &lt;tt&gt;editor&lt;/tt&gt;, and releases it. The &lt;tt&gt;hint&lt;/tt&gt; is used to specify how the view should respond to the end of the editing operation. For example, the hint may indicate that the next item in the view should be opened for editing.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#edit(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QAbstractItemView.EditTrigger, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;edit&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#commitData(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;commitData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void commitData(com.trolltech.qt.gui.QWidget editor)" doc="/**
&lt;p&gt;Commit the data in the &lt;tt&gt;editor&lt;/tt&gt; to the model.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#closeEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAbstractItemDelegate.EndEditHint)&quot;&gt;&lt;tt&gt;closeEditor&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 slot is called when a new item becomes the current item. The previous current item is specified by the &lt;tt&gt;previous&lt;/tt&gt; index, and the new item by the &lt;tt&gt;current&lt;/tt&gt; index.&lt;/p&gt;
&lt;p&gt;If you want to know about changes to items see the &lt;a href=&quot;QAbstractItemView.html#dataChanged(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;dataChanged&lt;/tt&gt;&lt;/a&gt; signal.&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 slot is called when items are changed in the model. The changed items are those from &lt;tt&gt;topLeft&lt;/tt&gt; to &lt;tt&gt;bottomRight&lt;/tt&gt; inclusive. If just one item is changed &lt;tt&gt;topLeft&lt;/tt&gt; == &lt;tt&gt;bottomRight&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public void doItemsLayout()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="protected void dragEnterEvent(com.trolltech.qt.gui.QDragEnterEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a drag and drop operation enters the widget. If the drag is over a valid dropping place (e.g&amp;#x2e; over an item that accepts drops), the event is accepted; otherwise it is ignored.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#dropEvent(com.trolltech.qt.gui.QDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#startDrag(com.trolltech.qt.core.Qt.DropActions)&quot;&gt;&lt;tt&gt;startDrag&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void dragLeaveEvent(com.trolltech.qt.gui.QDragLeaveEvent event)" doc="/**
&lt;p&gt;This function is called when the item being dragged leaves the view. The &lt;tt&gt;event&lt;/tt&gt; describes the state of the drag and drop operation.&lt;/p&gt;
 */"/>
    <method name="protected void dragMoveEvent(com.trolltech.qt.gui.QDragMoveEvent event)" doc="/**
&lt;p&gt;This function is called continuously with the given &lt;tt&gt;event&lt;/tt&gt; during a drag and drop operation over the widget. It can cause the view to scroll if, for example, the user drags a selection to view's right or bottom edge. In this case, the event will be accepted; otherwise it will be ignored.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#dropEvent(com.trolltech.qt.gui.QDropEvent)&quot;&gt;&lt;tt&gt;dropEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#startDrag(com.trolltech.qt.core.Qt.DropActions)&quot;&gt;&lt;tt&gt;startDrag&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void dropEvent(com.trolltech.qt.gui.QDropEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a drop event occurs over the widget. If the model accepts the even position the drop event is accepted; otherwise it is ignored.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#startDrag(com.trolltech.qt.core.Qt.DropActions)&quot;&gt;&lt;tt&gt;startDrag&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected boolean edit(com.trolltech.qt.core.QModelIndex index, com.trolltech.qt.gui.QAbstractItemView.EditTrigger trigger, com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;Starts editing the item at &lt;tt&gt;index&lt;/tt&gt;, creating an editor if necessary, and returns true if the view's &lt;a href=&quot;QAbstractItemView.html#State-enum&quot;&gt;State&lt;/tt&gt;&lt;/a&gt; is now &lt;a href=&quot;QAbstractItemView.html#State-enum&quot;&gt;&lt;tt&gt;EditingState&lt;/tt&gt;&lt;/a&gt;; otherwise returns false.&lt;/p&gt;
&lt;p&gt;The action that caused the editing process is described by &lt;tt&gt;trigger&lt;/tt&gt;, and the associated event is specified by &lt;tt&gt;event&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Editing can be forced by specifying the &lt;tt&gt;trigger&lt;/tt&gt; to be QAbstractItemView::AllEditTriggers.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#closeEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAbstractItemDelegate.EndEditHint)&quot;&gt;&lt;tt&gt;closeEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void editorDestroyed(com.trolltech.qt.core.QObject editor)" doc="/**
&lt;p&gt;This function is called when the given &lt;tt&gt;editor&lt;/tt&gt; has been destroyed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#closeEditor(com.trolltech.qt.gui.QWidget, com.trolltech.qt.gui.QAbstractItemDelegate.EndEditHint)&quot;&gt;&lt;tt&gt;closeEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusInEvent(com.trolltech.qt.gui.QFocusEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when the widget obtains the focus. By default, the event is ignored.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#setFocus()&quot;&gt;&lt;tt&gt;setFocus&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#focusOutEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusOutEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected boolean focusNextPrevChild(boolean next)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void focusOutEvent(com.trolltech.qt.gui.QFocusEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when the widget looses the focus. By default, the event is ignored.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#clearFocus()&quot;&gt;&lt;tt&gt;clearFocus&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#focusInEvent(com.trolltech.qt.gui.QFocusEvent)&quot;&gt;&lt;tt&gt;focusInEvent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected abstract int horizontalOffset()" doc="/**
&lt;p&gt;Returns the horizontal offset of the view.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.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;&lt;/p&gt;
 */"/>
    <method name="protected void horizontalScrollbarValueChanged(int value)" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public abstract com.trolltech.qt.core.QModelIndex indexAt(com.trolltech.qt.core.QPoint point)" doc="/**
&lt;p&gt;Returns the model index of the item at the viewport coordinates &lt;tt&gt;point&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#visualRect(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;visualRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void inputMethodEvent(com.trolltech.qt.gui.QInputMethodEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public java.lang.Object inputMethodQuery(com.trolltech.qt.core.Qt.InputMethodQuery query)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected abstract boolean isIndexHidden(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns true if the item referred to by the given &lt;tt&gt;index&lt;/tt&gt; is hidden in the view, otherwise returns false.&lt;/p&gt;
&lt;p&gt;Hiding is a view specific feature. For example in TableView a column can be marked as hidden or a row in the TreeView.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a key event is sent to the widget. The default implementation handles basic cursor movement, e.g&amp;#x2e; Up, Down, Left, Right, Home, PageUp, and PageDown; the &lt;a href=&quot;QAbstractItemView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt; signal is emitted if the current index is valid and the activation key is pressed (e.g&amp;#x2e; Enter or Return, depending on the platform). This function is where editing is initiated by key press, e.g&amp;#x2e; if F2 is pressed.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#edit(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QAbstractItemView.EditTrigger, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;edit&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#moveCursor(com.trolltech.qt.gui.QAbstractItemView.CursorAction, com.trolltech.qt.core.Qt.KeyboardModifiers)&quot;&gt;&lt;tt&gt;moveCursor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#keyboardSearch(java.lang.String)&quot;&gt;&lt;tt&gt;keyboardSearch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#tabKeyNavigation()&quot;&gt;&lt;tt&gt;tabKeyNavigation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void keyboardSearch(java.lang.String search)" doc="/**
&lt;p&gt;Moves to and selects the item best matching the string &lt;tt&gt;search&lt;/tt&gt;. If no item is found nothing happens.&lt;/p&gt;
&lt;p&gt;In the default implementation, the search is reset if &lt;tt&gt;search&lt;/tt&gt; is empty, or the time interval since the last search has exceeded QApplication::keyboardInputInterval().&lt;/p&gt;
 */"/>
    <method name="protected void mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a mouse button is double clicked inside the widget. If the double-click is on a valid item it emits the &lt;a href=&quot;QAbstractItemView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt; signal and calls &lt;a href=&quot;QAbstractItemView.html#edit(com.trolltech.qt.core.QModelIndex, com.trolltech.qt.gui.QAbstractItemView.EditTrigger, com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;edit&lt;/tt&gt;&lt;/a&gt; on the item.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a mouse move event is sent to the widget. If a selection is in progress and new items are moved over the selection is extended; if a drag is in progress it is continued.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a mouse button is pressed while the cursor is inside the widget. If a valid item is pressed on it is made into the current item. This function emits the &lt;a href=&quot;QAbstractItemView.html#pressed(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;pressed&lt;/tt&gt;&lt;/a&gt; signal.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a mouse button is released, after a mouse press event on the widget. If a user presses the mouse inside your widget and then drags the mouse to another location before releasing the mouse button, your widget receives the release event. The function will emit the &lt;a href=&quot;QAbstractItemView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt; signal if an item was being pressed.&lt;/p&gt;
 */"/>
    <method name="protected abstract com.trolltech.qt.core.QModelIndex moveCursor(com.trolltech.qt.gui.QAbstractItemView.CursorAction cursorAction, com.trolltech.qt.core.Qt.KeyboardModifiers modifiers)" doc="/**
&lt;p&gt;Moves the cursor in the view according to the given &lt;tt&gt;cursorAction&lt;/tt&gt; and keyboard modifiers specified by &lt;tt&gt;modifiers&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;
 */"/>
    <method name="public void reset()" doc="/**
&lt;p&gt;Reset the internal state of the view.&lt;/p&gt;
 */"/>
    <method name="protected void resizeEvent(com.trolltech.qt.gui.QResizeEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a resize event is sent to the widget.&lt;/p&gt;

@see &lt;tt&gt;QWidget::resizeEvent&lt;/tt&gt; */"/>
    <method name="protected void rowsAboutToBeRemoved(com.trolltech.qt.core.QModelIndex parent, int start, int end)" doc="/**
&lt;p&gt;This slot is called when rows are about to be removed. The deleted rows are those under the given &lt;tt&gt;parent&lt;/tt&gt; from &lt;tt&gt;start&lt;/tt&gt; to &lt;tt&gt;end&lt;/tt&gt; inclusive.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#rowsInserted(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;rowsInserted&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void rowsInserted(com.trolltech.qt.core.QModelIndex parent, int start, int end)" doc="/**
&lt;p&gt;This slot is called when rows are inserted. The new rows are those under the given &lt;tt&gt;parent&lt;/tt&gt; from &lt;tt&gt;start&lt;/tt&gt; to &lt;tt&gt;end&lt;/tt&gt; inclusive. The base class implementation calls fetchMore() on the model to check for more data.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#rowsAboutToBeRemoved(com.trolltech.qt.core.QModelIndex, int, int)&quot;&gt;&lt;tt&gt;rowsAboutToBeRemoved&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public abstract void scrollTo(com.trolltech.qt.core.QModelIndex index, com.trolltech.qt.gui.QAbstractItemView.ScrollHint hint)" doc="/**
&lt;p&gt;Scrolls the view if necessary to ensure that the item at &lt;tt&gt;index&lt;/tt&gt; is visible. The view will try to position the item according to the given &lt;tt&gt;hint&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&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;QAbstractItemView.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 non-hidden items.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setSelection(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#selectedIndexes()&quot;&gt;&lt;tt&gt;selectedIndexes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#clearSelection()&quot;&gt;&lt;tt&gt;clearSelection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected java.util.List&lt;com.trolltech.qt.core.QModelIndex&gt; selectedIndexes()" doc="/**
&lt;p&gt;This convenience function returns a list of all selected and non-hidden item indexes in the view. The list contains no duplicates, and is not sorted.&lt;/p&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;

@see &lt;tt&gt;QItemSelectionModel::selectedIndexes&lt;/tt&gt; */"/>
    <method name="protected void selectionChanged(com.trolltech.qt.gui.QItemSelection selected, com.trolltech.qt.gui.QItemSelection deselected)" doc="/**
&lt;p&gt;This slot is called when the selection is changed. The previous selection (which may be empty), is specified by &lt;tt&gt;deselected&lt;/tt&gt;, and the new selection by &lt;tt&gt;selected&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setSelection(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags selectionCommand(com.trolltech.qt.core.QModelIndex index, com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;Returns the SelectionFlags to be used when updating a selection with to include the &lt;tt&gt;index&lt;/tt&gt; specified. The &lt;tt&gt;event&lt;/tt&gt; is a user input event, such as a mouse or keyboard event.&lt;/p&gt;
&lt;p&gt;Reimplement this function to define your own selection behavior.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setSelection(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags selectionCommand(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Equivalent to &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;(&lt;tt&gt;index&lt;/tt&gt;, 0). */"/>
    <method name="public void setModel(com.trolltech.qt.core.QAbstractItemModel model)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;model&lt;/tt&gt; for the view to present.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; This function will also create and set a new selection model, replacing any previously set with &lt;a href=&quot;QAbstractItemView.html#setSelectionModel(com.trolltech.qt.gui.QItemSelectionModel)&quot;&gt;&lt;tt&gt;setSelectionModel&lt;/tt&gt;&lt;/a&gt;, but the old selection model will not be deleted.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#model()&quot;&gt;&lt;tt&gt;model&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#selectionModel()&quot;&gt;&lt;tt&gt;selectionModel&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#setSelectionModel(com.trolltech.qt.gui.QItemSelectionModel)&quot;&gt;&lt;tt&gt;setSelectionModel&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void setRootIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Sets the root item to the item at the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#rootIndex()&quot;&gt;&lt;tt&gt;rootIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected abstract 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;
&lt;p&gt;When implementing your own itemview &lt;a href=&quot;QAbstractItemView.html#setSelection(com.trolltech.qt.core.QRect, com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags)&quot;&gt;&lt;tt&gt;setSelection&lt;/tt&gt;&lt;/a&gt; should call &lt;a href=&quot;QAbstractItemView.html#selectionModel()&quot;&gt;&lt;tt&gt;selectionModel&lt;/tt&gt;&lt;/a&gt;-&amp;gt;select(selection, flags) where selection is either an empty QModelIndex or a &lt;a href=&quot;QItemSelection.html&quot;&gt;&lt;tt&gt;QItemSelection&lt;/tt&gt;&lt;/a&gt; that contains all items that are contained in &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;
@see &lt;a href=&quot;QAbstractItemView.html#selectedIndexes()&quot;&gt;&lt;tt&gt;selectedIndexes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void setSelectionModel(com.trolltech.qt.gui.QItemSelectionModel selectionModel)" doc="/**
&lt;p&gt;Sets the current selection model to the given &lt;tt&gt;selectionModel&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that, if you call &lt;a href=&quot;QAbstractItemView.html#setModel(com.trolltech.qt.core.QAbstractItemModel)&quot;&gt;&lt;tt&gt;setModel&lt;/tt&gt;&lt;/a&gt; after this function, the given &lt;tt&gt;selectionModel&lt;/tt&gt; will be replaced by a one created by the view.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#selectionModel()&quot;&gt;&lt;tt&gt;selectionModel&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#setModel(com.trolltech.qt.core.QAbstractItemModel)&quot;&gt;&lt;tt&gt;setModel&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#clearSelection()&quot;&gt;&lt;tt&gt;clearSelection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int sizeHintForColumn(int column)" doc="/**
&lt;p&gt;Returns the width size hint for the specified &lt;tt&gt;column&lt;/tt&gt; or -1 if there is no model.&lt;/p&gt;
&lt;p&gt;This function is used in views with a horizontal header to find the size hint for a header section based on the contents of the given &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#sizeHintForRow(int)&quot;&gt;&lt;tt&gt;sizeHintForRow&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int sizeHintForRow(int row)" doc="/**
&lt;p&gt;Returns the height size hint for the specified &lt;tt&gt;row&lt;/tt&gt; or -1 if there is no model.&lt;/p&gt;
&lt;p&gt;The returned height is calculated using the size hints of the given &lt;tt&gt;row&lt;/tt&gt;'s items, i.e&amp;#x2e; the returned value is the maximum height among the items. Note that to control the height of a row, you must reimplement the QAbstractItemDelegate::sizeHint() function.&lt;/p&gt;
&lt;p&gt;This function is used in views with a vertical header to find the size hint for a header section based on the contents of the given &lt;tt&gt;row&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#sizeHintForColumn(int)&quot;&gt;&lt;tt&gt;sizeHintForColumn&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void startDrag(com.trolltech.qt.core.Qt.DropActions supportedActions)" doc="/**
&lt;p&gt;Starts a drag by calling drag-&amp;gt;start() using the given &lt;tt&gt;supportedActions&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected void timerEvent(com.trolltech.qt.core.QTimerEvent event)" doc="/**
&lt;p&gt;This function is called with the given &lt;tt&gt;event&lt;/tt&gt; when a timer event is sent to the widget.&lt;/p&gt;

@see &lt;tt&gt;QObject::timerEvent&lt;/tt&gt; */"/>
    <method name="protected void updateEditorData()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="protected void updateEditorGeometries()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="protected void updateGeometries()" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="protected abstract int verticalOffset()" doc="/**
&lt;p&gt;Returns the vertical offset of the view.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#horizontalOffset()&quot;&gt;&lt;tt&gt;horizontalOffset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void verticalScrollbarAction(int action)" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="protected void verticalScrollbarValueChanged(int value)" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="protected com.trolltech.qt.gui.QStyleOptionViewItem viewOptions()" doc="/**
&lt;p&gt;Returns a &lt;a href=&quot;QStyleOptionViewItem.html&quot;&gt;&lt;tt&gt;QStyleOptionViewItem&lt;/tt&gt;&lt;/a&gt; structure populated with the view's palette, font, state, alignments etc.&lt;/p&gt;
 */"/>
    <method name="protected boolean viewportEvent(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is used to handle tool tips, and What's This? mode, if the given &lt;tt&gt;event&lt;/tt&gt; is a QEvent::ToolTip,or a QEvent::WhatsThis. It passes all other events on to its base class &lt;a href=&quot;QAbstractItemView.html#viewportEvent(com.trolltech.qt.core.QEvent)&quot;&gt;&lt;tt&gt;viewportEvent&lt;/tt&gt;&lt;/a&gt; handler.&lt;/p&gt;
 */"/>
    <method name="public abstract 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;.&lt;/p&gt;
&lt;p&gt;If your item is displayed in several areas then &lt;a href=&quot;QAbstractItemView.html#visualRect(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;visualRect&lt;/tt&gt;&lt;/a&gt; should return the primary area that contains index and not the complete area that index might encompasses, touch or cause drawing.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#indexAt(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;indexAt&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#visualRegionForSelection(com.trolltech.qt.gui.QItemSelection)&quot;&gt;&lt;tt&gt;visualRegionForSelection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected abstract com.trolltech.qt.gui.QRegion visualRegionForSelection(com.trolltech.qt.gui.QItemSelection selection)" doc="/**
&lt;p&gt;Returns the region from the viewport of the items in the given &lt;tt&gt;selection&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#visualRect(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;visualRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAbstractItemView.html#selectedIndexes()&quot;&gt;&lt;tt&gt;selectedIndexes&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="DragDropMode" doc="/**
&lt;p&gt;Describes the various drag and drop events the view can act upon. By default the view does not support dragging or dropping (&lt;tt&gt;NoDragDrop&lt;/tt&gt;).&lt;/p&gt;
&lt;p&gt;Note that the model used needs to provide support for drag and drop operations.&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#setDragDropMode(com.trolltech.qt.gui.QAbstractItemView.DragDropMode)&quot;&gt;&lt;tt&gt;setDragDropMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-dnd.html&quot;&gt;Using Drag and Drop with Item Views&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="NoDragDrop" doc="/**
&lt;p&gt;Does not support dragging or dropping.&lt;/p&gt;
 */"/>
        <enum-value name="DragOnly" doc="/**
&lt;p&gt;The view supports dragging of its own items&lt;/p&gt;
 */"/>
        <enum-value name="DropOnly" doc="/**
&lt;p&gt;The view accepts drops&lt;/p&gt;
 */"/>
        <enum-value name="DragDrop" doc="/**
&lt;p&gt;The view supports both dragging and dropping&lt;/p&gt;
 */"/>
        <enum-value name="InternalMove" doc="/**
&lt;p&gt;only accepts move operations only from itself.&lt;/p&gt;
 */"/>
</enum>
    <enum name="SelectionBehavior">
        <enum-value name="SelectItems" doc="/**
&lt;p&gt;Selecting single items.&lt;/p&gt;
 */"/>
        <enum-value name="SelectRows" doc="/**
&lt;p&gt;Selecting only rows.&lt;/p&gt;
 */"/>
        <enum-value name="SelectColumns" doc="/**
&lt;p&gt;Selecting only columns.&lt;/p&gt;
 */"/>
</enum>
    <enum name="EditTrigger" doc="/**
&lt;p&gt;This enum describes actions which will initiate item editing.&lt;/p&gt;
 */">
        <enum-value name="NoEditTriggers" doc="/**
&lt;p&gt;No editing possible.&lt;/p&gt;
 */"/>
        <enum-value name="CurrentChanged" doc="/**
&lt;p&gt;Editing start whenever current item changes.&lt;/p&gt;
 */"/>
        <enum-value name="DoubleClicked" doc="/**
&lt;p&gt;Editing starts when an item is double clicked.&lt;/p&gt;
 */"/>
        <enum-value name="SelectedClicked" doc="/**
&lt;p&gt;Editing starts when clicking on an already selected item.&lt;/p&gt;
 */"/>
        <enum-value name="EditKeyPressed" doc="/**
&lt;p&gt;Editing starts when the platform edit key has been pressed over an item.&lt;/p&gt;
 */"/>
        <enum-value name="AnyKeyPressed" doc="/**
&lt;p&gt;Editing starts when any key is pressed over an item.&lt;/p&gt;
 */"/>
        <enum-value name="AllEditTriggers" doc="/**
&lt;p&gt;Editing starts for all above actions.&lt;/p&gt;
 */"/>
</enum>
    <enum name="ScrollMode">
        <enum-value name="ScrollPerItem" doc="/**
&lt;p&gt;The view will scroll the contents one item at a time.&lt;/p&gt;
 */"/>
        <enum-value name="ScrollPerPixel" doc="/**
&lt;p&gt;The view will scroll the contents one pixel at a time.&lt;/p&gt;
 */"/>
</enum>
    <enum name="CursorAction" doc="/**
&lt;p&gt;This enum describes the different ways to navigate between items,&lt;/p&gt;

@see &lt;a href=&quot;QAbstractItemView.html#moveCursor(com.trolltech.qt.gui.QAbstractItemView.CursorAction, com.trolltech.qt.core.Qt.KeyboardModifiers)&quot;&gt;&lt;tt&gt;moveCursor&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="MoveUp" doc="/**
&lt;p&gt;Move to the item above the current item.&lt;/p&gt;
 */"/>
        <enum-value name="MoveDown" doc="/**
&lt;p&gt;Move to the item below the current item.&lt;/p&gt;
 */"/>
        <enum-value name="MoveLeft" doc="/**
&lt;p&gt;Move to the item left of the current item.&lt;/p&gt;
 */"/>
        <enum-value name="MoveRight" doc="/**
&lt;p&gt;Move to the item right of the current item.&lt;/p&gt;
 */"/>
        <enum-value name="MoveHome" doc="/**
&lt;p&gt;Move to the top-left corner item.&lt;/p&gt;
 */"/>
        <enum-value name="MoveEnd" doc="/**
&lt;p&gt;Move to the bottom-right corner item.&lt;/p&gt;
 */"/>
        <enum-value name="MovePageUp" doc="/**
&lt;p&gt;Move one page up above the current item.&lt;/p&gt;
 */"/>
        <enum-value name="MovePageDown" doc="/**
&lt;p&gt;Move one page down below the current item.&lt;/p&gt;
 */"/>
        <enum-value name="MoveNext" doc="/**
&lt;p&gt;Move to the item after the current item.&lt;/p&gt;
 */"/>
        <enum-value name="MovePrevious" doc="/**
&lt;p&gt;Move to the item before the current item.&lt;/p&gt;
 */"/>
</enum>
    <enum name="DropIndicatorPosition" doc="/**
&lt;p&gt;This enum indicates the position of the drop indicator in relation to the index at the current mouse position:&lt;/p&gt;
&lt;p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;
&lt;tr&gt;&lt;th width=&quot;25%&quot;&gt;Constant&lt;/th&gt;&lt;th width=&quot;15%&quot;&gt;Value&lt;/th&gt;&lt;th width=&quot;60%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;OnItem&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;0&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The item will be dropped on the index.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;AboveItem&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;1&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The item will be dropped above the index.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;BelowItem&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;2&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The item will be dropped below the index.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;OnViewport&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;3&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The item will be dropped onto a region of the viewport with no items. The way each view handles items dropped onto the viewport depends on the behavior of the underlying model in use.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
 */">
        <enum-value name="OnItem" doc="/**
&lt;p&gt;The item will be dropped on the index.&lt;/p&gt;
 */"/>
        <enum-value name="AboveItem" doc="/**
&lt;p&gt;The item will be dropped above the index.&lt;/p&gt;
 */"/>
        <enum-value name="BelowItem" doc="/**
&lt;p&gt;The item will be dropped below the index.&lt;/p&gt;
 */"/>
        <enum-value name="OnViewport" doc="/**
&lt;p&gt;The item will be dropped onto a region of the viewport with no items. The way each view handles items dropped onto the viewport depends on the behavior of the underlying model in use.&lt;/p&gt;
 */"/>
</enum>
    <enum name="ScrollHint">
        <enum-value name="EnsureVisible" doc="/**
&lt;p&gt;Scroll to ensure that the item is visible.&lt;/p&gt;
 */"/>
        <enum-value name="PositionAtTop" doc="/**
&lt;p&gt;Scroll to position the item at the top of the viewport.&lt;/p&gt;
 */"/>
        <enum-value name="PositionAtBottom" doc="/**
&lt;p&gt;Scroll to position the item at the bottom of the viewport.&lt;/p&gt;
 */"/>
        <enum-value name="PositionAtCenter" doc="/**
&lt;p&gt;Scroll to position the item at the center of the viewport.&lt;/p&gt;
 */"/>
</enum>
    <enum name="SelectionMode" doc="/**
&lt;p&gt;This enum indicates how the view responds to user selections:&lt;/p&gt;
&lt;p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;
&lt;tr&gt;&lt;th width=&quot;25%&quot;&gt;Constant&lt;/th&gt;&lt;th width=&quot;15%&quot;&gt;Value&lt;/th&gt;&lt;th width=&quot;60%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;SingleSelection&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;1&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;When the user selects an item, any already-selected item becomes unselected, and the user cannot unselect the selected item.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ContiguousSelection&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;4&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;When the user selects an item in the usual way, the selection is cleared and the new item selected. However, if the user presses the Shift key while clicking on an item, all items between the current item and the clicked item are selected or unselected, depending on the state of the clicked item.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ExtendedSelection&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;3&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;When the user selects an item in the usual way, the selection is cleared and the new item selected. However, if the user presses the Ctrl key when clicking on an item, the clicked item gets toggled and all other items are left untouched. If the user presses the Shift key while clicking on an item, all items between the current item and the clicked item are selected or unselected, depending on the state of the clicked item. Multiple items can be selected by dragging the mouse over them.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;MultiSelection&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;2&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;When the user selects an item in the usual way, the selection status of that item is toggled and the other items are left alone. Multiple items can be toggled by dragging the mouse over them.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;NoSelection&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;0&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Items cannot be selected.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The most commonly used modes are &lt;a href=&quot;QAbstractItemView.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;SingleSelection&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractItemView.html#SelectionMode-enum&quot;&gt;&lt;tt&gt;ExtendedSelection&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
        <enum-value name="NoSelection" doc="/**
&lt;p&gt;Items cannot be selected.&lt;/p&gt;
 */"/>
        <enum-value name="SingleSelection" doc="/**
&lt;p&gt;When the user selects an item, any already-selected item becomes unselected, and the user cannot unselect the selected item.&lt;/p&gt;
 */"/>
        <enum-value name="MultiSelection" doc="/**
&lt;p&gt;When the user selects an item in the usual way, the selection status of that item is toggled and the other items are left alone. Multiple items can be toggled by dragging the mouse over them.&lt;/p&gt;
 */"/>
        <enum-value name="ExtendedSelection" doc="/**
&lt;p&gt;When the user selects an item in the usual way, the selection is cleared and the new item selected. However, if the user presses the Ctrl key when clicking on an item, the clicked item gets toggled and all other items are left untouched. If the user presses the Shift key while clicking on an item, all items between the current item and the clicked item are selected or unselected, depending on the state of the clicked item. Multiple items can be selected by dragging the mouse over them.&lt;/p&gt;
 */"/>
        <enum-value name="ContiguousSelection" doc="/**
&lt;p&gt;When the user selects an item in the usual way, the selection is cleared and the new item selected. However, if the user presses the Shift key while clicking on an item, all items between the current item and the clicked item are selected or unselected, depending on the state of the clicked item.&lt;/p&gt;
 */"/>
</enum>
    <enum name="State" doc="/**
&lt;p&gt;Describes the different states the view can be in. This is usually only interesting when reimplementing your own view.&lt;/p&gt;
 */">
        <enum-value name="NoState" doc="/**
&lt;p&gt;The is the default state.&lt;/p&gt;
 */"/>
        <enum-value name="DraggingState" doc="/**
&lt;p&gt;The user is dragging items.&lt;/p&gt;
 */"/>
        <enum-value name="DragSelectingState" doc="/**
&lt;p&gt;The user is selecting items.&lt;/p&gt;
 */"/>
        <enum-value name="EditingState" doc="/**
&lt;p&gt;The user is editing an item in a widget editor.&lt;/p&gt;
 */"/>
        <enum-value name="ExpandingState" doc="/**
&lt;p&gt;The user is opening a branch of items.&lt;/p&gt;
 */"/>
        <enum-value name="CollapsingState" doc="/**
&lt;p&gt;The user is closing a branch of items.&lt;/p&gt;
 */"/>
        <enum-value name="AnimatingState" doc="/**
&lt;p&gt;The item view is performing an animation.&lt;/p&gt;
 */"/>
</enum>
</class>
