Sophie

Sophie

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

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

<class name="QTableWidget" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTableWidget.html#QTableWidget(int, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt; class provides an item-based table view with a default model.&lt;/p&gt;
&lt;p&gt;Table widgets provide standard table display facilities for applications. The items in a &lt;a href=&quot;QTableWidget.html#QTableWidget(int, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt; are provided by &lt;a href=&quot;QTableWidgetItem.html&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you want a table that uses your own data model you should use &lt;a href=&quot;QTableView.html#QTableView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTableView&lt;/tt&gt;&lt;/a&gt; rather than this class.&lt;/p&gt;
&lt;p&gt;Table widgets can be constructed with the required numbers of rows and columns:&lt;/p&gt;
&lt;pre&gt;        tableWidget = new QTableWidget(12, 3, this);&lt;/pre&gt;
&lt;p&gt;Alternatively, tables can be constructed without a given size and resized later:&lt;/p&gt;
&lt;pre&gt;        tableWidget = new QTableWidget(this);
        tableWidget-&amp;gt;setRowCount(10);
        tableWidget-&amp;gt;setColumnCount(5);&lt;/pre&gt;
&lt;p&gt;Items are created ouside the table (with no parent widget) and inserted into the table with &lt;a href=&quot;QTableWidget.html#setItem(int, int, com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setItem&lt;/tt&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;        QTableWidgetItem *newItem = new QTableWidgetItem(tr(&amp;quot;%1&amp;quot;).arg(
            (row+1)*(column+1)));
        tableWidget-&amp;gt;setItem(row, column, newItem);&lt;/pre&gt;
&lt;p&gt;If you want to enable sorting in your table widget, do so after you have populated it with items, otherwise sorting may interfere with the insertion order (see &lt;a href=&quot;QTableWidget.html#setItem(int, int, com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setItem&lt;/tt&gt;&lt;/a&gt; for details).&lt;/p&gt;
&lt;p&gt;Tables can be given both horizontal and vertical headers. The simplest way to create the headers is to supply a list of strings to the &lt;a href=&quot;QTableWidget.html#setHorizontalHeaderLabels(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setHorizontalHeaderLabels&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTableWidget.html#setVerticalHeaderLabels(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setVerticalHeaderLabels&lt;/tt&gt;&lt;/a&gt; functions. These will provide simple textual headers for the table's columns and rows. More sophisticated headers can be created from existing table items that are usually constructed outside the table. For example, we can construct a table item with an icon and aligned text, and use it as the header for a particular column:&lt;/p&gt;
&lt;pre&gt;        QTableWidgetItem *cubesHeaderItem = new QTableWidgetItem(tr(&amp;quot;Cubes&amp;quot;));
        cubesHeaderItem-&amp;gt;setIcon(QIcon(QPixmap(&amp;quot;:/Images/cubed.png&amp;quot;)));
        cubesHeaderItem-&amp;gt;setTextAlignment(Qt::AlignVCenter);&lt;/pre&gt;
&lt;p&gt;The number of rows in the table can be found with &lt;a href=&quot;QTableWidget.html#rowCount()&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt;, and the number of columns with &lt;a href=&quot;QTableWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt;. The table can be cleared with the &lt;a href=&quot;QTableWidget.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/windowsxp-tableview.png&quot; alt=&quot;Screenshot of a Windows XP style table widget&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/macintosh-tableview.png&quot; alt=&quot;Screenshot of a Macintosh style table widget&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/plastique-tableview.png&quot; alt=&quot;Screenshot of a Plastique style table widget&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;A &lt;a href=&quot;%2E%2E/gallery-windowsxp.html&quot;&gt;Windows XP style&lt;/tt&gt;&lt;/a&gt; table widget.&lt;/td&gt;&lt;td&gt;A &lt;a href=&quot;%2E%2E/gallery-macintosh.html&quot;&gt;Macintosh style&lt;/tt&gt;&lt;/a&gt; table widget.&lt;/td&gt;&lt;td&gt;A &lt;a href=&quot;%2E%2E/gallery-plastique.html&quot;&gt;Plastique style&lt;/tt&gt;&lt;/a&gt; table widget.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableView.html#QTableView(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTableView&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; */">
    <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;QTableWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.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 cellActivated(int row, int column)" doc="/**
&lt;p&gt;This signal is emitted when the cell specified by &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; has been activated&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 row, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void cellChanged(int row, int column)" doc="/**
&lt;p&gt;This signal is emitted whenever the data of the item in the cell specified by &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; has changed.&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 row, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void cellClicked(int row, int column)" doc="/**
&lt;p&gt;This signal is emitted whenever a cell in the table is clicked. The &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; specified is the cell that was clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void cellDoubleClicked(int row, int column)" doc="/**
&lt;p&gt;This signal is emitted whenever a cell in the table is double clicked. The &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; specified is the cell that was double clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void cellEntered(int row, int column)" doc="/**
&lt;p&gt;This signal is emitted when the mouse cursor enters a cell. The cell is specified by &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This signal is only emitted when mouseTracking is turned on, or when a mouse button is pressed while moving into an item.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void cellPressed(int row, int column)" doc="/**
&lt;p&gt;This signal is emitted whenever a cell the table is pressed. The &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; specified is the cell that was pressed.&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 row, int column)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int row)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void 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;QTableWidget.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#entered(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;entered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.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 currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn)" doc="/**
&lt;p&gt;This signal is emitted whenever the current cell changes. The cell specified by &lt;tt&gt;previousRow&lt;/tt&gt; and &lt;tt&gt;previousColumn&lt;/tt&gt; is the cell that previously had the focus, the cell specified by &lt;tt&gt;currentRow&lt;/tt&gt; and &lt;tt&gt;currentColumn&lt;/tt&gt; is the new current cell.&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 currentRow, int currentColumn, int previousRow, int previousColumn)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int currentRow, int currentColumn, int previousRow)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int currentRow, int currentColumn)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int currentRow)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentItemChanged(com.trolltech.qt.gui.QTableWidgetItem current, com.trolltech.qt.gui.QTableWidgetItem previous)" doc="/**
&lt;p&gt;This signal is emitted whenever the current item changes. The &lt;tt&gt;previous&lt;/tt&gt; item is the item that previously had the focus, &lt;tt&gt;current&lt;/tt&gt; is the new current item.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem current, com.trolltech.qt.gui.QTableWidgetItem previous)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem current)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html#QAbstractScrollArea(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void doubleClicked(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;This signal is emitted when a mouse button is double-clicked. The item the mouse was double-clicked on is specified by &lt;tt&gt;index&lt;/tt&gt;. The signal is only emitted when the index is valid.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QModelIndex index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QTableWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.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;QTableWidget.html#viewportEntered()&quot;&gt;&lt;tt&gt;viewportEntered&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.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 itemActivated(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted when the specified &lt;tt&gt;item&lt;/tt&gt; has been activated&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemChanged(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted whenever the data of &lt;tt&gt;item&lt;/tt&gt; has changed.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemClicked(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted whenever an item in the table is clicked. The &lt;tt&gt;item&lt;/tt&gt; specified is the item that was clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemDoubleClicked(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted whenever an item in the table is double clicked. The &lt;tt&gt;item&lt;/tt&gt; specified is the item that was double clicked.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemEntered(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted when the mouse cursor enters an item. The &lt;tt&gt;item&lt;/tt&gt; is the item entered.&lt;/p&gt;
&lt;p&gt;This signal is only emitted when mouseTracking is turned on, or when a mouse button is pressed while moving into an item.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemPressed(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;This signal is emitted whenever an item in the table is pressed. The &lt;tt&gt;item&lt;/tt&gt; specified is the item that was pressed.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QTableWidgetItem item)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void itemSelectionChanged()" doc="/**
&lt;p&gt;This signal is emitted whenever the selection changes.&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;QTableWidget.html#selectedItems()&quot;&gt;&lt;tt&gt;selectedItems&lt;/tt&gt;&lt;/a&gt;, &lt;tt&gt;isItemSelected&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;QTableWidget.html#activated(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;activated&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#clicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;clicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.html#doubleClicked(com.trolltech.qt.core.QModelIndex)&quot;&gt;&lt;tt&gt;doubleClicked&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTableWidget.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;QTableWidget.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 QTableWidget(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Creates a new table view with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QTableWidget()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTableWidget.html#QTableWidget(int, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QTableWidget(int rows, int columns, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Creates a new table view with the given &lt;tt&gt;rows&lt;/tt&gt; and &lt;tt&gt;columns&lt;/tt&gt;, and with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QTableWidget(int rows, int columns)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTableWidget.html#QTableWidget(int, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;rows&lt;/tt&gt;, &lt;tt&gt;columns&lt;/tt&gt;, 0). */"/>
    <method name="public final com.trolltech.qt.gui.QWidget cellWidget(int row, int column)" doc="/**
&lt;p&gt;Returns the widget displayed in the cell in the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#setCellWidget(int, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;setCellWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Removes all items in the view. This will also remove all selections. The table dimentions stay the same.&lt;/p&gt;
 */"/>
    <method name="public final void clearContents()" doc="/**
&lt;p&gt;Removes all items not in the headers from the view. This will also remove all selections. The table dimensions stay the same.&lt;/p&gt;
 */"/>
    <method name="public final void closePersistentEditor(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Closes the persistent editor for &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#openPersistentEditor(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;openPersistentEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int column(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Returns the column for the &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final int columnCount()" doc="/**
&lt;p&gt;Returns the number of columns in the table.&lt;/p&gt;

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

@see &lt;a href=&quot;QTableWidget.html#currentRow()&quot;&gt;&lt;tt&gt;currentRow&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidget.html#setCurrentCell(int, int)&quot;&gt;&lt;tt&gt;setCurrentCell&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem currentItem()" doc="/**
&lt;p&gt;Returns the current item.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#setCurrentItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setCurrentItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int currentRow()" doc="/**
&lt;p&gt;Returns the row of the current item.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#currentColumn()&quot;&gt;&lt;tt&gt;currentColumn&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidget.html#setCurrentCell(int, int)&quot;&gt;&lt;tt&gt;setCurrentCell&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void editItem(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Starts editing the &lt;tt&gt;item&lt;/tt&gt; if it is editable.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QTableWidgetItem&gt; findItems(java.lang.String text, com.trolltech.qt.core.Qt.MatchFlags flags)" doc="/**
&lt;p&gt;Finds items that matches the &lt;tt&gt;text&lt;/tt&gt; using the given &lt;tt&gt;flags&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem horizontalHeaderItem(int column)" doc="/**
&lt;p&gt;Returns the horizontal header item for column &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#setHorizontalHeaderItem(int, com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setHorizontalHeaderItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.core.QModelIndex indexFromItem(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Returns the QModelIndex assocated with the given &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void insertColumn(int column)" doc="/**
&lt;p&gt;Inserts an empty column into the table at &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void insertRow(int row)" doc="/**
&lt;p&gt;Inserts an empty row into the table at &lt;tt&gt;row&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem item(int row, int column)" doc="/**
&lt;p&gt;Returns the item for the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; if one has been set; otherwise returns 0.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#setItem(int, int, com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem itemAt(int x, int y)" doc="/**
&lt;p&gt;Returns the item at the position equivalent to &lt;a href=&quot;%2E%2E/core/QPoint.html&quot;&gt;&lt;tt&gt;QPoint&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;) in the table widget's coordinate system, or returns 0 if the specified point is not covered by an item in the table widget.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#item(int, int)&quot;&gt;&lt;tt&gt;item&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem itemAt(com.trolltech.qt.core.QPoint p)" doc="/**
&lt;p&gt;Returns a pointer to the item at the given &lt;tt&gt;p&lt;/tt&gt;, or returns 0 if the point is not covered by an item in the table widget.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#item(int, int)&quot;&gt;&lt;tt&gt;item&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.gui.QTableWidgetItem itemFromIndex(com.trolltech.qt.core.QModelIndex index)" doc="/**
&lt;p&gt;Returns a pointer to the &lt;a href=&quot;QTableWidgetItem.html&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt; assocated with the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem itemPrototype()" doc="/**
&lt;p&gt;Returns the item prototype used by the table.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#setItemPrototype(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setItemPrototype&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final java.util.List&lt;com.trolltech.qt.gui.QTableWidgetItem&gt; items(com.trolltech.qt.gui.QMimeData data)" doc="/**
&lt;p&gt;Returns a list of pointers to the items contained in the &lt;tt&gt;data&lt;/tt&gt; object. If the object was not created by a &lt;a href=&quot;QTreeWidget.html&quot;&gt;&lt;tt&gt;QTreeWidget&lt;/tt&gt;&lt;/a&gt; in the same process, the list is empty.&lt;/p&gt;
 */"/>
    <method name="public final void openPersistentEditor(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Opens an editor for the give &lt;tt&gt;item&lt;/tt&gt;. The editor remains open after editing.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#closePersistentEditor(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;closePersistentEditor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void removeCellWidget(int row, int column)" doc="/**
&lt;p&gt;Removes the widget set on the cell indicated by &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void removeColumn(int column)" doc="/**
&lt;p&gt;Removes the column &lt;tt&gt;column&lt;/tt&gt; and all its items from the table.&lt;/p&gt;
 */"/>
    <method name="public final void removeRow(int row)" doc="/**
&lt;p&gt;Removes the row &lt;tt&gt;row&lt;/tt&gt; and all its items from the table.&lt;/p&gt;
 */"/>
    <method name="public final int row(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Returns the row for the &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final int rowCount()" doc="/**
&lt;p&gt;Returns the number of rows in the table.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#setRowCount(int)&quot;&gt;&lt;tt&gt;setRowCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void scrollToItem(com.trolltech.qt.gui.QTableWidgetItem item, com.trolltech.qt.gui.QAbstractItemView.ScrollHint hint)" doc="/**
&lt;p&gt;Scrolls the view if necessary to ensure that the &lt;tt&gt;item&lt;/tt&gt; is visible. The &lt;tt&gt;hint&lt;/tt&gt; parameter specifies more precisely where the &lt;tt&gt;item&lt;/tt&gt; should be located after the operation.&lt;/p&gt;
 */"/>
    <method name="public final void scrollToItem(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTableWidget.html#scrollToItem(com.trolltech.qt.gui.QTableWidgetItem, com.trolltech.qt.gui.QAbstractItemView.ScrollHint)&quot;&gt;&lt;tt&gt;scrollToItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, EnsureVisible). */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QTableWidgetItem&gt; selectedItems()" doc="/**
&lt;p&gt;Returns a list of all selected items.&lt;/p&gt;
&lt;p&gt;This function returns a list of pointers to the contents of the selected cells. Use the &lt;a href=&quot;QTableView.html#selectedIndexes()&quot;&gt;&lt;tt&gt;selectedIndexes&lt;/tt&gt;&lt;/a&gt; function to retrieve the complete selection &lt;i&gt;including&lt;/i&gt; empty cells.&lt;/p&gt;

@see &lt;a href=&quot;QTableView.html#selectedIndexes()&quot;&gt;&lt;tt&gt;selectedIndexes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.gui.QTableWidgetSelectionRange&gt; selectedRanges()" doc="/**
&lt;p&gt;Returns a list of all selected ranges.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetSelectionRange.html&quot;&gt;&lt;tt&gt;QTableWidgetSelectionRange&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCellWidget(int row, int column, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;widget&lt;/tt&gt; to be displayed in the cell in the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

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

@see &lt;a href=&quot;QTableWidget.html#columnCount()&quot;&gt;&lt;tt&gt;columnCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentCell(int row, int column)" doc="/**
&lt;p&gt;Sets the current cell to be the cell at position (&lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;).&lt;/p&gt;
&lt;p&gt;Depending on the current selection mode, the cell may also be selected.&lt;/p&gt;

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

@see &lt;a href=&quot;QTableWidget.html#currentItem()&quot;&gt;&lt;tt&gt;currentItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidget.html#setCurrentCell(int, int)&quot;&gt;&lt;tt&gt;setCurrentCell&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHorizontalHeaderItem(int column, com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Sets the horizontal header item for column &lt;tt&gt;column&lt;/tt&gt; to &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#horizontalHeaderItem(int)&quot;&gt;&lt;tt&gt;horizontalHeaderItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHorizontalHeaderLabels(java.util.List&lt;java.lang.String&gt; labels)" doc="/**
&lt;p&gt;Sets the horizontal header labels using &lt;tt&gt;labels&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void setItem(int row, int column, com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Sets the item for the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; to &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The table takes ownership of the item.&lt;/p&gt;
&lt;p&gt;Note that if sorting is enabled (see &lt;tt&gt;sortingEnabled&lt;/tt&gt;) and &lt;tt&gt;column&lt;/tt&gt; is the current sort column, the &lt;tt&gt;row&lt;/tt&gt; will be moved to the sorted position determined by &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If you want to set several items of a particular row (say, by calling &lt;a href=&quot;QTableWidget.html#setItem(int, int, com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setItem&lt;/tt&gt;&lt;/a&gt; in a loop), you may want to turn off sorting before doing so, and turn it back on afterwards; this will allow you to use the same &lt;tt&gt;row&lt;/tt&gt; argument for all items in the same row (i.e&amp;#x2e; &lt;a href=&quot;QTableWidget.html#setItem(int, int, com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setItem&lt;/tt&gt;&lt;/a&gt; will not move the row).&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#item(int, int)&quot;&gt;&lt;tt&gt;item&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidget.html#takeItem(int, int)&quot;&gt;&lt;tt&gt;takeItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setItemPrototype(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Sets the item prototype for the table to the specified &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The table widget will use the item prototype clone function when it needs to create a new table item. For example when the user is editing editing in an empty cell. This is useful when you have a &lt;a href=&quot;QTableWidgetItem.html&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt; subclass and want to make sure that &lt;a href=&quot;QTableWidget.html#QTableWidget(int, int, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt; creates instances of your subclass.&lt;/p&gt;
&lt;p&gt;The table takes ownership of the prototype.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#itemPrototype()&quot;&gt;&lt;tt&gt;itemPrototype&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public @Deprecated public final void setModel(com.trolltech.qt.core.QAbstractItemModel model)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public final void setRangeSelected(com.trolltech.qt.gui.QTableWidgetSelectionRange range, boolean select)" doc="/**
&lt;p&gt;Selects or deselects the &lt;tt&gt;range&lt;/tt&gt; depending on &lt;tt&gt;select&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void setRowCount(int rows)" doc="/**
&lt;p&gt;Sets the number of rows in the table to &lt;tt&gt;rows&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#rowCount()&quot;&gt;&lt;tt&gt;rowCount&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalHeaderItem(int row, com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Sets the vertical header item for row &lt;tt&gt;row&lt;/tt&gt; to &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#verticalHeaderItem(int)&quot;&gt;&lt;tt&gt;verticalHeaderItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalHeaderLabels(java.util.List&lt;java.lang.String&gt; labels)" doc="/**
&lt;p&gt;Sets the vertical header labels using &lt;tt&gt;labels&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void sortItems(int column, com.trolltech.qt.core.Qt.SortOrder order)" doc="/**
&lt;p&gt;Sorts all the rows in the table widget based on &lt;tt&gt;column&lt;/tt&gt; and &lt;tt&gt;order&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void sortItems(int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTableWidget.html#sortItems(int, com.trolltech.qt.core.Qt.SortOrder)&quot;&gt;&lt;tt&gt;sortItems&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;column&lt;/tt&gt;, Qt::AscendingOrder). */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem takeHorizontalHeaderItem(int column)" doc="/**
&lt;p&gt;Removes the horizontal header item at &lt;tt&gt;column&lt;/tt&gt; from the header without deleting it.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem takeItem(int row, int column)" doc="/**
&lt;p&gt;Removes the item at &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt; from the table without deleting it.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem takeVerticalHeaderItem(int row)" doc="/**
&lt;p&gt;Removes the vertical header item at &lt;tt&gt;row&lt;/tt&gt; from the header without deleting it.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidgetItem verticalHeaderItem(int row)" doc="/**
&lt;p&gt;Returns the vertical header item for row &lt;tt&gt;row&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html#setVerticalHeaderItem(int, com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;setVerticalHeaderItem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int visualColumn(int logicalColumn)" doc="/**
&lt;p&gt;Returns the visual column of the given &lt;tt&gt;logicalColumn&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRect visualItemRect(com.trolltech.qt.gui.QTableWidgetItem item)" doc="/**
&lt;p&gt;Returns the rectangle on the viewport occupied by the item at &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final int visualRow(int logicalRow)" doc="/**
&lt;p&gt;Returns the visual row of the given &lt;tt&gt;logicalRow&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="protected void dropEvent(com.trolltech.qt.gui.QDropEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected boolean dropMimeData(int row, int column, com.trolltech.qt.gui.QMimeData data, com.trolltech.qt.core.Qt.DropAction action)" doc="/**
&lt;p&gt;Handles the &lt;tt&gt;data&lt;/tt&gt; supplied by a drag and drop operation that ended with the given &lt;tt&gt;action&lt;/tt&gt; in the given &lt;tt&gt;row&lt;/tt&gt; and &lt;tt&gt;column&lt;/tt&gt;. Returns true if the data and action can be handled by the model; otherwise returns false.&lt;/p&gt;

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

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

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