Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2062

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QHeaderView" doc="/**
&lt;p&gt;The &lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; class provides a header row or header column for item views.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; displays the headers used in item views such as the &lt;a href=&quot;QTableView.html&quot;&gt;&lt;tt&gt;QTableView&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; classes. It takes the place of the &lt;tt&gt;QHeader&lt;/tt&gt; class previously used for the same purpose, but uses the Qt's model/view architecture for consistency with the item view classes.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&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 header gets the data for each section from the model using the QAbstractItemModel::headerData() function. You can set the data by using QAbstractItemModel::setHeaderData().&lt;/p&gt;
&lt;p&gt;Each header has an &lt;a href=&quot;QHeaderView.html#orientation()&quot;&gt;&lt;tt&gt;orientation&lt;/tt&gt;&lt;/a&gt; and a number of sections, given by the &lt;a href=&quot;QHeaderView.html#count()&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt; function. A section refers to a part of the header - either a row or a column, depending on the orientation.&lt;/p&gt;
&lt;p&gt;Sections can be moved and resized using &lt;a href=&quot;QHeaderView.html#moveSection(int, int)&quot;&gt;&lt;tt&gt;moveSection&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHeaderView.html#resizeSection(int, int)&quot;&gt;&lt;tt&gt;resizeSection&lt;/tt&gt;&lt;/a&gt;; they can also be hidden and shown with &lt;a href=&quot;QHeaderView.html#hideSection(int)&quot;&gt;&lt;tt&gt;hideSection&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHeaderView.html#showSection(int)&quot;&gt;&lt;tt&gt;showSection&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Each section of a header is described by a section ID, specified by its section(), and can be located at a particular &lt;a href=&quot;QHeaderView.html#visualIndex(int)&quot;&gt;&lt;tt&gt;visualIndex&lt;/tt&gt;&lt;/a&gt; in the header. A section can have a sort indicator set with &lt;a href=&quot;QHeaderView.html#setSortIndicator(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;setSortIndicator&lt;/tt&gt;&lt;/a&gt;; this indicates whether the items in the associated item view will be sorted in the order given by the section.&lt;/p&gt;
&lt;p&gt;For a horizontal header the section is equivalent to a column in the model, and for a vertical header the section is equivalent to a row in the model.&lt;/p&gt;
&lt;a name=&quot;moving-header-sections&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Moving Header Sections&lt;/h3&gt;
&lt;p&gt;A header can be fixed in place, or made movable with &lt;a href=&quot;QHeaderView.html#setMovable(boolean)&quot;&gt;&lt;tt&gt;setMovable&lt;/tt&gt;&lt;/a&gt;. It can be made clickable with &lt;a href=&quot;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt;, and has resizing behavior in accordance with &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A header emits &lt;a href=&quot;QHeaderView.html#sectionMoved(int, int, int)&quot;&gt;&lt;tt&gt;sectionMoved&lt;/tt&gt;&lt;/a&gt; if the user moves a section, &lt;a href=&quot;QHeaderView.html#sectionResized(int, int, int)&quot;&gt;&lt;tt&gt;sectionResized&lt;/tt&gt;&lt;/a&gt; if the user resizes a section, and &lt;a href=&quot;QHeaderView.html#sectionClicked(int)&quot;&gt;&lt;tt&gt;sectionClicked&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHeaderView.html#sectionHandleDoubleClicked(int)&quot;&gt;&lt;tt&gt;sectionHandleDoubleClicked&lt;/tt&gt;&lt;/a&gt; in response to mouse clicks. A header also emits &lt;a href=&quot;QHeaderView.html#sectionCountChanged(int, int)&quot;&gt;&lt;tt&gt;sectionCountChanged&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHeaderView.html#sectionAutoResize(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;sectionAutoResize&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can identify a section using the &lt;a href=&quot;QHeaderView.html#logicalIndex(int)&quot;&gt;&lt;tt&gt;logicalIndex&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHeaderView.html#logicalIndexAt(int, int)&quot;&gt;&lt;tt&gt;logicalIndexAt&lt;/tt&gt;&lt;/a&gt; functions, or by its index position, using the &lt;a href=&quot;QHeaderView.html#visualIndex(int)&quot;&gt;&lt;tt&gt;visualIndex&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHeaderView.html#visualIndexAt(int)&quot;&gt;&lt;tt&gt;visualIndexAt&lt;/tt&gt;&lt;/a&gt; functions. The visual index will change if a section is moved, but the logical index will not change.&lt;/p&gt;
&lt;a name=&quot;appearance&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Appearance&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;QTableWidget.html&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTableView.html&quot;&gt;&lt;tt&gt;QTableView&lt;/tt&gt;&lt;/a&gt; create default headers. If you want the headers to be visible, you can use setVisible().&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Each header renders the data for each section itself, and does not rely on a delegate. As a result, calling a header's &lt;a href=&quot;QAbstractItemView.html#setItemDelegate(com.trolltech.qt.gui.QAbstractItemDelegate)&quot;&gt;&lt;tt&gt;setItemDelegate&lt;/tt&gt;&lt;/a&gt; function will have no effect.&lt;/p&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;QListView.html&quot;&gt;&lt;tt&gt;QListView&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableView.html&quot;&gt;&lt;tt&gt;QTableView&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeView.html&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&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;QHeaderView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.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;QHeaderView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.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;QHeaderView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.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;QHeaderView.html#viewportEntered()&quot;&gt;&lt;tt&gt;viewportEntered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.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 geometriesChanged()" doc="/**
&lt;p&gt;This signal is emitted when the header geometries has changed.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void pressed(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is pressed. The item the mouse was pressed on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QHeaderView.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.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 sectionAutoResize(int logicalIndex, com.trolltech.qt.gui.QHeaderView.ResizeMode mode)" doc="/**
&lt;p&gt;This signal is emitted when a section is automatically resized. The section's logical index is specified by &lt;tt&gt;logicalIndex&lt;/tt&gt;, and the resize mode by &lt;tt&gt;mode&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(int logicalIndex, com.trolltech.qt.gui.QHeaderView.ResizeMode mode)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int logicalIndex)&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;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#stretchLastSection()&quot;&gt;&lt;tt&gt;stretchLastSection&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionClicked(int logicalIndex)" doc="/**
&lt;p&gt;This signal is emitted when a section is clicked. The section's logical index is specified by &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that the &lt;a href=&quot;QHeaderView.html#sectionPressed(int)&quot;&gt;&lt;tt&gt;sectionPressed&lt;/tt&gt;&lt;/a&gt; signal will also be emitted.&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(int logicalIndex)&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;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#sectionPressed(int)&quot;&gt;&lt;tt&gt;sectionPressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionCountChanged(int oldCount, int newCount)" doc="/**
&lt;p&gt;This signal is emitted when the number of sections changes; i.e&amp;#x2e; when sections are added or deleted. The original count is specified by &lt;tt&gt;oldCount&lt;/tt&gt;, and the new count by &lt;tt&gt;newCount&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(int oldCount, int newCount)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int oldCount)&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;QHeaderView.html#count()&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#headerDataChanged(com.trolltech.qt.core.Qt.Orientation, int, int)&quot;&gt;&lt;tt&gt;headerDataChanged&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionDoubleClicked(int logicalIndex)" doc="/**
&lt;p&gt;This signal is emitted when a section is double-clicked. The section's logical index is specified by &lt;tt&gt;logicalIndex&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(int logicalIndex)&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;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionEntered(int logicalIndex)" doc="/**
&lt;p&gt;This signal is emitted when the cursor moves over the section and the left mouse button is pressed. The section's logical index is specified by &lt;tt&gt;logicalIndex&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(int logicalIndex)&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;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHeaderView.html#sectionPressed(int)&quot;&gt;&lt;tt&gt;sectionPressed&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionHandleDoubleClicked(int logicalIndex)" doc="/**
&lt;p&gt;This signal is emitted when a section is double-clicked. The section's logical index is specified by &lt;tt&gt;logicalIndex&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(int logicalIndex)&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;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)" doc="/**
&lt;p&gt;This signal is emitted when a section is moved. The section's logical index is specified by &lt;tt&gt;logicalIndex&lt;/tt&gt;, the old index by &lt;tt&gt;oldVisualIndex&lt;/tt&gt;, and the new index position by &lt;tt&gt;newVisualIndex&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(int logicalIndex, int oldVisualIndex, int newVisualIndex)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int logicalIndex, int oldVisualIndex)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int logicalIndex)&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;QHeaderView.html#moveSection(int, int)&quot;&gt;&lt;tt&gt;moveSection&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionPressed(int logicalIndex)" doc="/**
&lt;p&gt;This signal is emitted when a section is pressed. The section's logical index is specified by &lt;tt&gt;logicalIndex&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(int logicalIndex)&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;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sectionResized(int logicalIndex, int oldSize, int newSize)" doc="/**
&lt;p&gt;This signal is emitted when a section is resized. The section's logical number is specified by &lt;tt&gt;logicalIndex&lt;/tt&gt;, the old size by &lt;tt&gt;oldSize&lt;/tt&gt;, and the new size by &lt;tt&gt;newSize&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(int logicalIndex, int oldSize, int newSize)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int logicalIndex, int oldSize)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int logicalIndex)&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;QHeaderView.html#resizeSection(int, int)&quot;&gt;&lt;tt&gt;resizeSection&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void sortIndicatorChanged(int logicalIndex, com.trolltech.qt.core.Qt.SortOrder order)" doc="/**
&lt;p&gt;This signal is emitted when the section containing the sort indicator or the order indicated is changed. The section's logical index is specified by &lt;tt&gt;logicalIndex&lt;/tt&gt; and the sort order is specified by &lt;tt&gt;order&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(int logicalIndex, com.trolltech.qt.core.Qt.SortOrder order)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int logicalIndex)&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;QHeaderView.html#setSortIndicator(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;setSortIndicator&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;QHeaderView.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 QHeaderView(com.trolltech.qt.core.Qt.Orientation orientation, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Creates a new generic header with the given &lt;tt&gt;orientation&lt;/tt&gt; and &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QHeaderView(com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;orientation&lt;/tt&gt;, 0). */"/>
    <method name="public final boolean cascadingSectionResizes()" doc="/**
&lt;p&gt;Returns whether interactive resizing will be cascaded to the following sections once the section being resized by the user has reached its minimum size.&lt;/p&gt;
&lt;p&gt;This property only affects sections that have &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;Interactive&lt;/tt&gt;&lt;/a&gt; as the resize mode.&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setCascadingSectionResizes(boolean)&quot;&gt;&lt;tt&gt;setCascadingSectionResizes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int count()" doc="/**
&lt;p&gt;Returns the number of sections in the header.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sectionCountChanged(int, int)&quot;&gt;&lt;tt&gt;sectionCountChanged&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Alignment defaultAlignment()" doc="/**
&lt;p&gt;Returns the default alignment of the text in each header section.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setDefaultAlignment(com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;setDefaultAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int defaultSectionSize()" doc="/**
&lt;p&gt;Returns the default size of the header sections before resizing..&lt;/p&gt;
&lt;p&gt;This property only affects sections that have &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;Interactive&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;Fixed&lt;/tt&gt;&lt;/a&gt; as the resize mode.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setDefaultSectionSize(int)&quot;&gt;&lt;tt&gt;setDefaultSectionSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#minimumSectionSize()&quot;&gt;&lt;tt&gt;minimumSectionSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void headerDataChanged(com.trolltech.qt.core.Qt.Orientation orientation, int logicalFirst, int logicalLast)" doc="/**
&lt;p&gt;Updates the changed header sections with the given &lt;tt&gt;orientation&lt;/tt&gt;, from &lt;tt&gt;logicalFirst&lt;/tt&gt; to &lt;tt&gt;logicalLast&lt;/tt&gt; inclusive.&lt;/p&gt;
 */"/>
    <method name="public final int hiddenSectionCount()" doc="/**
&lt;p&gt;Returns the number of sections in the header that has been hidden.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setSectionHidden(int, boolean)&quot;&gt;&lt;tt&gt;setSectionHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#isSectionHidden(int)&quot;&gt;&lt;tt&gt;isSectionHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void hideSection(int logicalIndex)" doc="/**
&lt;p&gt;Hides the section specified by &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#showSection(int)&quot;&gt;&lt;tt&gt;showSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#isSectionHidden(int)&quot;&gt;&lt;tt&gt;isSectionHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#hiddenSectionCount()&quot;&gt;&lt;tt&gt;hiddenSectionCount&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setSectionHidden(int, boolean)&quot;&gt;&lt;tt&gt;setSectionHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean highlightSections()" doc="/**
&lt;p&gt;Returns whether the sections containing selected items are highlighted.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setHighlightSections(boolean)&quot;&gt;&lt;tt&gt;setHighlightSections&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void initialize()" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="protected final void initializeSections()" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="protected final void initializeSections(int start, int end)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public final boolean isClickable()" doc="/**
&lt;p&gt;Returns true if the header is clickable; otherwise returns false. A clickable header could be set up to allow the user to change the representation of the data in the view related to the header.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isMovable()" doc="/**
&lt;p&gt;Returns true if the header can be moved by the user; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setMovable(boolean)&quot;&gt;&lt;tt&gt;setMovable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isSectionHidden(int logicalIndex)" doc="/**
&lt;p&gt;Returns true if the section specified by &lt;tt&gt;logicalIndex&lt;/tt&gt; is explicitly hidden from the user; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#hideSection(int)&quot;&gt;&lt;tt&gt;hideSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#showSection(int)&quot;&gt;&lt;tt&gt;showSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setSectionHidden(int, boolean)&quot;&gt;&lt;tt&gt;setSectionHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#hiddenSectionCount()&quot;&gt;&lt;tt&gt;hiddenSectionCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isSortIndicatorShown()" doc="/**
&lt;p&gt;Returns whether the sort indicator is shown.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int length()" doc="/**
&lt;p&gt;Returns the length along the orientation of the header.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sizeHint()&quot;&gt;&lt;tt&gt;sizeHint&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#offset()&quot;&gt;&lt;tt&gt;offset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int logicalIndex(int visualIndex)" doc="/**
&lt;p&gt;Returns the &lt;a href=&quot;QHeaderView.html#logicalIndex(int)&quot;&gt;&lt;tt&gt;logicalIndex&lt;/tt&gt;&lt;/a&gt; for the section at the given &lt;tt&gt;visualIndex&lt;/tt&gt; position, or -1 otherwise.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#visualIndex(int)&quot;&gt;&lt;tt&gt;visualIndex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionPosition(int)&quot;&gt;&lt;tt&gt;sectionPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int logicalIndexAt(int position)" doc="/**
&lt;p&gt;Returns the section that covers the given &lt;tt&gt;position&lt;/tt&gt; in the viewport.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#visualIndexAt(int)&quot;&gt;&lt;tt&gt;visualIndexAt&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#isSectionHidden(int)&quot;&gt;&lt;tt&gt;isSectionHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int logicalIndexAt(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;Returns the logical index of the section at the position given in &lt;tt&gt;pos&lt;/tt&gt;. If the header is horizontal the x-coordinate will be used to find the logical index; otherwise the y-coordinate will be used.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sectionPosition(int)&quot;&gt;&lt;tt&gt;sectionPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int logicalIndexAt(int x, int y)" doc="/**
&lt;p&gt;Returns the logical index of the section at the given coordinate. If the header is horizontal &lt;tt&gt;x&lt;/tt&gt; will be used, otherwise &lt;tt&gt;y&lt;/tt&gt; will be used to find the logical index.&lt;/p&gt;
 */"/>
    <method name="public final int minimumSectionSize()" doc="/**
&lt;p&gt;Returns the minimum size of the header sections..&lt;/p&gt;
&lt;p&gt;The minimum section size is the smallest section size allowed. If the minimum section size is set to -1, &lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; will use the maximum of the global strut&lt;/tt&gt; or the &lt;a href=&quot;QWidget.html#fontMetrics()&quot;&gt;font metrics&lt;/tt&gt;&lt;/a&gt; size.&lt;/p&gt;
&lt;p&gt;This property is honored by all &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;resize modes&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setMinimumSectionSize(int)&quot;&gt;&lt;tt&gt;setMinimumSectionSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveSection(int from, int to)" doc="/**
&lt;p&gt;Moves the section at visual index &lt;tt&gt;from&lt;/tt&gt; to occupy visual index &lt;tt&gt;to&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sectionsMoved()&quot;&gt;&lt;tt&gt;sectionsMoved&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int offset()" doc="/**
&lt;p&gt;Returns the offset of the header: this is the header's left-most (or top-most for vertical headers) visible pixel.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setOffset(int)&quot;&gt;&lt;tt&gt;setOffset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Orientation orientation()" doc="/**
&lt;p&gt;Returns the orientation of the header.&lt;/p&gt;

@see Qt::Orientation&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QHeaderView.ResizeMode resizeMode(int logicalIndex)" doc="/**
&lt;p&gt;Returns the resize mode that applies to the section specified by the given &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void resizeSection(int logicalIndex, int size)" doc="/**
&lt;p&gt;Resizes the section specified by &lt;tt&gt;logicalIndex&lt;/tt&gt; to the &lt;tt&gt;size&lt;/tt&gt; measured in pixels.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sectionResized(int, int, int)&quot;&gt;&lt;tt&gt;sectionResized&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#resizeMode(int)&quot;&gt;&lt;tt&gt;resizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionSize(int)&quot;&gt;&lt;tt&gt;sectionSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void resizeSections()" doc="/**
&lt;p&gt;Resizes the sections according to their size hints. You should not normally need to call this function.&lt;/p&gt;
 */"/>
    <method name="public final void resizeSections(com.trolltech.qt.gui.QHeaderView.ResizeMode mode)" doc="/**
&lt;p&gt;Resizes the sections according to the given &lt;tt&gt;mode&lt;/tt&gt;, ignoring the current resize mode.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#resizeMode(int)&quot;&gt;&lt;tt&gt;resizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionResized(int, int, int)&quot;&gt;&lt;tt&gt;sectionResized&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean restoreState(com.trolltech.qt.core.QByteArray state)" doc="/**
&lt;p&gt;Restores the &lt;tt&gt;state&lt;/tt&gt; of this header view. This function returns &lt;tt&gt;true&lt;/tt&gt; if the state was restored, otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#saveState()&quot;&gt;&lt;tt&gt;saveState&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QByteArray saveState()" doc="/**
&lt;p&gt;Saves the current state of this header view.&lt;/p&gt;
&lt;p&gt;To restore the saved state, pass the return value to &lt;a href=&quot;QHeaderView.html#restoreState(com.trolltech.qt.core.QByteArray)&quot;&gt;&lt;tt&gt;restoreState&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#restoreState(com.trolltech.qt.core.QByteArray)&quot;&gt;&lt;tt&gt;restoreState&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int sectionPosition(int logicalIndex)" doc="/**
&lt;p&gt;Returns the section position of the given &lt;tt&gt;logicalIndex&lt;/tt&gt;, or -1 if the section is hidden.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sectionViewportPosition(int)&quot;&gt;&lt;tt&gt;sectionViewportPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int sectionSize(int logicalIndex)" doc="/**
&lt;p&gt;Returns the width (or height for vertical headers) of the given &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int sectionSizeHint(int logicalIndex)" doc="/**
&lt;p&gt;Returns a suitable size hint for the section specified by &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sizeHint()&quot;&gt;&lt;tt&gt;sizeHint&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#minimumSectionSize()&quot;&gt;&lt;tt&gt;minimumSectionSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::SizeHintRole&lt;/tt&gt; */"/>
    <method name="public final int sectionViewportPosition(int logicalIndex)" doc="/**
&lt;p&gt;Returns the section viewport position of the given &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If the section is hidden, this function returns an undefined value.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sectionPosition(int)&quot;&gt;&lt;tt&gt;sectionPosition&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#isSectionHidden(int)&quot;&gt;&lt;tt&gt;isSectionHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void sectionsAboutToBeRemoved(com.trolltech.qt.core.QModelIndex parent, int logicalFirst, int logicalLast)" doc="/**
&lt;p&gt;This slot is called when sections are removed from the &lt;tt&gt;parent&lt;/tt&gt;, &lt;tt&gt;logicalFirst&lt;/tt&gt; and &lt;tt&gt;logicalLast&lt;/tt&gt; signify where the sections are removed from. (&lt;tt&gt;logicalFirst&lt;/tt&gt; and &lt;tt&gt;logicalLast&lt;/tt&gt; will be the same if just one section is removed.)&lt;/p&gt;
 */"/>
    <method name="public final boolean sectionsHidden()" doc="/**
&lt;p&gt;Returns true if sections in the header has been hidden; otherwise returns false;&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setSectionHidden(int, boolean)&quot;&gt;&lt;tt&gt;setSectionHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void sectionsInserted(com.trolltech.qt.core.QModelIndex parent, int logicalFirst, int logicalLast)" doc="/**
&lt;p&gt;This slot is called when sections are inserted into the &lt;tt&gt;parent&lt;/tt&gt;, &lt;tt&gt;logicalFirst&lt;/tt&gt; and &lt;tt&gt;logicalLast&lt;/tt&gt; indexes signify where the new sections are inserted.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;logicalFirst&lt;/tt&gt; and &lt;tt&gt;logicalLast&lt;/tt&gt; will be the same if just one section is inserted.&lt;/p&gt;
 */"/>
    <method name="public final boolean sectionsMoved()" doc="/**
&lt;p&gt;Returns true if sections in the header has been moved; otherwise returns false;&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#moveSection(int, int)&quot;&gt;&lt;tt&gt;moveSection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCascadingSectionResizes(boolean enable)" doc="/**
&lt;p&gt;Sets whether interactive resizing will be cascaded to the following sections once the section being resized by the user has reached its minimum size to &lt;tt&gt;enable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property only affects sections that have &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;Interactive&lt;/tt&gt;&lt;/a&gt; as the resize mode.&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#cascadingSectionResizes()&quot;&gt;&lt;tt&gt;cascadingSectionResizes&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setClickable(boolean clickable)" doc="/**
&lt;p&gt;If &lt;tt&gt;clickable&lt;/tt&gt; is true, the header will respond to single clicks.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#isClickable()&quot;&gt;&lt;tt&gt;isClickable&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionClicked(int)&quot;&gt;&lt;tt&gt;sectionClicked&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionPressed(int)&quot;&gt;&lt;tt&gt;sectionPressed&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setSortIndicatorShown(boolean)&quot;&gt;&lt;tt&gt;setSortIndicatorShown&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDefaultAlignment(com.trolltech.qt.core.Qt.Alignment alignment)" doc="/**
&lt;p&gt;Sets the default alignment of the text in each header section to &lt;tt&gt;alignment&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#defaultAlignment()&quot;&gt;&lt;tt&gt;defaultAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDefaultSectionSize(int size)" doc="/**
&lt;p&gt;Sets the default size of the header sections before resizing. to &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property only affects sections that have &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;Interactive&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;Fixed&lt;/tt&gt;&lt;/a&gt; as the resize mode.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#minimumSectionSize()&quot;&gt;&lt;tt&gt;minimumSectionSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHighlightSections(boolean highlight)" doc="/**
&lt;p&gt;Sets whether the sections containing selected items are highlighted to &lt;tt&gt;highlight&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#highlightSections()&quot;&gt;&lt;tt&gt;highlightSections&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMinimumSectionSize(int size)" doc="/**
&lt;p&gt;Sets the minimum size of the header sections. to &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The minimum section size is the smallest section size allowed. If the minimum section size is set to -1, &lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; will use the maximum of the global strut&lt;/tt&gt; or the &lt;a href=&quot;QWidget.html#fontMetrics()&quot;&gt;font metrics&lt;/tt&gt;&lt;/a&gt; size.&lt;/p&gt;
&lt;p&gt;This property is honored by all &lt;a href=&quot;QHeaderView.html#ResizeMode-enum&quot;&gt;resize modes&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#minimumSectionSize()&quot;&gt;&lt;tt&gt;minimumSectionSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMovable(boolean movable)" doc="/**
&lt;p&gt;If &lt;tt&gt;movable&lt;/tt&gt; is true, the header may be moved by the user; otherwise it is fixed in place.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#isMovable()&quot;&gt;&lt;tt&gt;isMovable&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionMoved(int, int, int)&quot;&gt;&lt;tt&gt;sectionMoved&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOffset(int offset)" doc="/**
&lt;p&gt;Sets the header's offset to &lt;tt&gt;offset&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#offset()&quot;&gt;&lt;tt&gt;offset&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOffsetToLastSection()" doc="/**
&lt;p&gt;Sets the offset to make the last section visible.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setOffset(int)&quot;&gt;&lt;tt&gt;setOffset&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionPosition(int)&quot;&gt;&lt;tt&gt;sectionPosition&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setOffsetToSectionPosition(int)&quot;&gt;&lt;tt&gt;setOffsetToSectionPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOffsetToSectionPosition(int visualIndex)" doc="/**
&lt;p&gt;Sets the offset to the start of the section at the given &lt;tt&gt;visualIndex&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setOffset(int)&quot;&gt;&lt;tt&gt;setOffset&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionPosition(int)&quot;&gt;&lt;tt&gt;sectionPosition&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setResizeMode(com.trolltech.qt.gui.QHeaderView.ResizeMode mode)" doc="/**
&lt;p&gt;Sets the constraints on how the header can be resized to those described by the given &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#resizeMode(int)&quot;&gt;&lt;tt&gt;resizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionResized(int, int, int)&quot;&gt;&lt;tt&gt;sectionResized&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sectionAutoResize(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;sectionAutoResize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setResizeMode(int logicalIndex, com.trolltech.qt.gui.QHeaderView.ResizeMode mode)" doc="/**
&lt;p&gt;Sets the constraints on how the section specified by &lt;tt&gt;logicalIndex&lt;/tt&gt; in the header can be resized to those described by the given &lt;tt&gt;mode&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#resizeMode(int)&quot;&gt;&lt;tt&gt;resizeMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSectionHidden(int logicalIndex, boolean hide)" doc="/**
&lt;p&gt;If &lt;tt&gt;hide&lt;/tt&gt; is true the section specified by &lt;tt&gt;logicalIndex&lt;/tt&gt; is hidden, otherwise the section is shown.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#isSectionHidden(int)&quot;&gt;&lt;tt&gt;isSectionHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#hiddenSectionCount()&quot;&gt;&lt;tt&gt;hiddenSectionCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSortIndicator(int logicalIndex, com.trolltech.qt.core.Qt.SortOrder order)" doc="/**
&lt;p&gt;Sets the sort indicator for the section specified by the given &lt;tt&gt;logicalIndex&lt;/tt&gt; in the direction specified by &lt;tt&gt;order&lt;/tt&gt;, and removes the sort indicator from any other section that was showing it.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sortIndicatorSection()&quot;&gt;&lt;tt&gt;sortIndicatorSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sortIndicatorOrder()&quot;&gt;&lt;tt&gt;sortIndicatorOrder&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSortIndicatorShown(boolean show)" doc="/**
&lt;p&gt;Sets whether the sort indicator is shown to &lt;tt&gt;show&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#isSortIndicatorShown()&quot;&gt;&lt;tt&gt;isSortIndicatorShown&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setClickable(boolean)&quot;&gt;&lt;tt&gt;setClickable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setStretchLastSection(boolean stretch)" doc="/**
&lt;p&gt;Sets whether the last visible section in the header takes up all the available space to &lt;tt&gt;stretch&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; The horizontal headers provided by &lt;a href=&quot;QTreeView.html&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; are configured with this property set to true, ensuring that the view does not waste any of the space assigned to it for its header.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Also note:&lt;/b&gt; If the value is set to true, this property will override the resize mode set on the last section in the header.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#stretchLastSection()&quot;&gt;&lt;tt&gt;stretchLastSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void showSection(int logicalIndex)" doc="/**
&lt;p&gt;Shows the section specified by &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#hideSection(int)&quot;&gt;&lt;tt&gt;hideSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#isSectionHidden(int)&quot;&gt;&lt;tt&gt;isSectionHidden&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#hiddenSectionCount()&quot;&gt;&lt;tt&gt;hiddenSectionCount&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setSectionHidden(int, boolean)&quot;&gt;&lt;tt&gt;setSectionHidden&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.SortOrder sortIndicatorOrder()" doc="/**
&lt;p&gt;Returns the order for the sort indicator. If no section has a sort indicator the return value of this function is undefined.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setSortIndicator(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;setSortIndicator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sortIndicatorSection()&quot;&gt;&lt;tt&gt;sortIndicatorSection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int sortIndicatorSection()" doc="/**
&lt;p&gt;Returns the logical index of the section that has a sort indicator. By default this is section 0.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setSortIndicator(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;setSortIndicator&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#sortIndicatorOrder()&quot;&gt;&lt;tt&gt;sortIndicatorOrder&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setSortIndicatorShown(boolean)&quot;&gt;&lt;tt&gt;setSortIndicatorShown&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean stretchLastSection()" doc="/**
&lt;p&gt;Returns whether the last visible section in the header takes up all the available space.&lt;/p&gt;
&lt;p&gt;The default value is false.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; The horizontal headers provided by &lt;a href=&quot;QTreeView.html&quot;&gt;&lt;tt&gt;QTreeView&lt;/tt&gt;&lt;/a&gt; are configured with this property set to true, ensuring that the view does not waste any of the space assigned to it for its header.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Also note:&lt;/b&gt; If the value is set to true, this property will override the resize mode set on the last section in the header.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setStretchLastSection(boolean)&quot;&gt;&lt;tt&gt;setStretchLastSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int stretchSectionCount()" doc="/**
&lt;p&gt;Returns the number of sections that are set to resize mode stretch. In views this can be used to see if the headerview needs to resize the sections when the view geometry changes.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#stretchLastSection()&quot;&gt;&lt;tt&gt;stretchLastSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#resizeMode(int)&quot;&gt;&lt;tt&gt;resizeMode&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void swapSections(int first, int second)" doc="/**
&lt;p&gt;Swaps the section at visual index &lt;tt&gt;first&lt;/tt&gt; with the section at visual index &lt;tt&gt;second&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#moveSection(int, int)&quot;&gt;&lt;tt&gt;moveSection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void updateSection(int logicalIndex)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public final int visualIndex(int logicalIndex)" doc="/**
&lt;p&gt;Returns the visual index position of the section specified by the given &lt;tt&gt;logicalIndex&lt;/tt&gt;, or -1 otherwise. Hidden sections still have valid visual indexes.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#logicalIndex(int)&quot;&gt;&lt;tt&gt;logicalIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int visualIndexAt(int position)" doc="/**
&lt;p&gt;Returns the visual index of the section that covers the given &lt;tt&gt;position&lt;/tt&gt; in the viewport.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#logicalIndexAt(int, int)&quot;&gt;&lt;tt&gt;logicalIndexAt&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void currentChanged(com.trolltech.qt.core.QModelIndex current, com.trolltech.qt.core.QModelIndex old)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void dataChanged(com.trolltech.qt.core.QModelIndex topLeft, com.trolltech.qt.core.QModelIndex bottomRight)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void doItemsLayout()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected int horizontalOffset()" doc="/**
&lt;p&gt;Returns the horizontal offset of the header. This is 0 for vertical headers.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#offset()&quot;&gt;&lt;tt&gt;offset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.QModelIndex indexAt(com.trolltech.qt.core.QPoint p)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected boolean isIndexHidden(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseDoubleClickEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected com.trolltech.qt.core.QModelIndex moveCursor(com.trolltech.qt.gui.QAbstractItemView.CursorAction arg__1, com.trolltech.qt.core.Qt.KeyboardModifiers arg__2)" doc="/**
&lt;p&gt;Moves the cursor in the view according to the given &lt;tt&gt;arg__1&lt;/tt&gt; and keyboard modifiers specified by &lt;tt&gt;arg__2&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;In the base class this is a pure virtual function.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintSection(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.core.QRect rect, int logicalIndex)" doc="/**
&lt;p&gt;Paints the section specified by the given &lt;tt&gt;logicalIndex&lt;/tt&gt;, using the given &lt;tt&gt;painter&lt;/tt&gt; and &lt;tt&gt;rect&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;You normally would not need to use this function.&lt;/p&gt;
 */"/>
    <method name="public void reset()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void rowsInserted(com.trolltech.qt.core.QModelIndex parent, int start, int end)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void scrollContentsBy(int dx, int dy)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void scrollTo(com.trolltech.qt.core.QModelIndex index, com.trolltech.qt.gui.QAbstractItemView.ScrollHint hint)" doc="/**
&lt;p&gt;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="protected com.trolltech.qt.core.QSize sectionSizeFromContents(int logicalIndex)" doc="/**
&lt;p&gt;Returns the size of the contents of the section specified by the give &lt;tt&gt;logicalIndex&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void setModel(com.trolltech.qt.core.QAbstractItemModel model)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void setSelection(com.trolltech.qt.core.QRect arg__1, com.trolltech.qt.gui.QItemSelectionModel.SelectionFlags arg__2)" doc="/**
&lt;p&gt;Applies the selection &lt;tt&gt;arg__2&lt;/tt&gt; to the items in or touched by the rectangle, &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When implementing your own itemview &lt;a href=&quot;QHeaderView.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;arg__1&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 com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;Returns a suitable size hint for this header.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#sectionSizeHint(int)&quot;&gt;&lt;tt&gt;sectionSizeHint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void updateGeometries()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected int verticalOffset()" doc="/**
&lt;p&gt;Returns the vertical offset of the header. This is 0 for horizontal headers.&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#offset()&quot;&gt;&lt;tt&gt;offset&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected boolean viewportEvent(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QRect visualRect(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected com.trolltech.qt.gui.QRegion visualRegionForSelection(com.trolltech.qt.gui.QItemSelection selection)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="ResizeMode" doc="/**
&lt;p&gt;The resize mode specifies the behavior of the header sections. It can be set on the entire header view or on individual sections using &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;.&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;Interactive&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 user can resize the section. The section can also be resized programmatically using &lt;a href=&quot;QHeaderView.html#resizeSection(int, int)&quot;&gt;&lt;tt&gt;resizeSection&lt;/tt&gt;&lt;/a&gt;. The section size defaults to &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt;. (See also &lt;a href=&quot;QHeaderView.html#cascadingSectionResizes()&quot;&gt;&lt;tt&gt;cascadingSectionResizes&lt;/tt&gt;&lt;/a&gt;.)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Fixed&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 user cannot resize the section. The section can only be resized programmatically using &lt;a href=&quot;QHeaderView.html#resizeSection(int, int)&quot;&gt;&lt;tt&gt;resizeSection&lt;/tt&gt;&lt;/a&gt;. The section size defaults to &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Stretch&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;&lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; will automatically resize the section to fill the available space. The size cannot be changed by the user or programmatically.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ResizeToContents&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;&lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; will automatically resize the section to its optimal size based on the contents of the entire column or row. The size cannot be changed by the user or programmatically. (This value was introduced in 4.2)&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The following values are obsolete:&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;Custom&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;Use Fixed instead.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QHeaderView.html#setResizeMode(int, com.trolltech.qt.gui.QHeaderView.ResizeMode)&quot;&gt;&lt;tt&gt;setResizeMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#stretchLastSection()&quot;&gt;&lt;tt&gt;stretchLastSection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHeaderView.html#minimumSectionSize()&quot;&gt;&lt;tt&gt;minimumSectionSize&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Interactive" doc="/**
&lt;p&gt;The user can resize the section. The section can also be resized programmatically using &lt;a href=&quot;QHeaderView.html#resizeSection(int, int)&quot;&gt;&lt;tt&gt;resizeSection&lt;/tt&gt;&lt;/a&gt;. The section size defaults to &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt;. (See also &lt;a href=&quot;QHeaderView.html#cascadingSectionResizes()&quot;&gt;&lt;tt&gt;cascadingSectionResizes&lt;/tt&gt;&lt;/a&gt;.)&lt;/p&gt;
 */"/>
        <enum-value name="Stretch" doc="/**
&lt;p&gt;&lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; will automatically resize the section to fill the available space. The size cannot be changed by the user or programmatically.&lt;/p&gt;
 */"/>
        <enum-value name="Fixed" doc="/**
&lt;p&gt;The user cannot resize the section. The section can only be resized programmatically using &lt;a href=&quot;QHeaderView.html#resizeSection(int, int)&quot;&gt;&lt;tt&gt;resizeSection&lt;/tt&gt;&lt;/a&gt;. The section size defaults to &lt;a href=&quot;QHeaderView.html#defaultSectionSize()&quot;&gt;&lt;tt&gt;defaultSectionSize&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
        <enum-value name="ResizeToContents" doc="/**
&lt;p&gt;&lt;a href=&quot;QHeaderView.html#QHeaderView(com.trolltech.qt.core.Qt.Orientation, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QHeaderView&lt;/tt&gt;&lt;/a&gt; will automatically resize the section to its optimal size based on the contents of the entire column or row. The size cannot be changed by the user or programmatically. (This value was introduced in 4.2)&lt;/p&gt;
 */"/>
        <enum-value name="Custom" doc="/**
&lt;p&gt;Use Fixed instead.&lt;/p&gt;
 */"/>
</enum>
</class>