Home · All Classes · Modules

QTableView Class Reference
[QtGui module]

Inherits QAbstractItemView.

Inherited by QTableWidget.

Methods


Detailed Description


Method Documentation

QTableView.__init__ (self, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QTableView.clearSpans (self)

int QTableView.columnAt (self, int)

QTableView.columnCountChanged (self, int, int)

This method is also a Qt slot with the C++ signature void columnCountChanged(int,int).

QTableView.columnMoved (self, int, int, int)

This method is also a Qt slot with the C++ signature void columnMoved(int,int,int).

QTableView.columnResized (self, int, int, int)

This method is also a Qt slot with the C++ signature void columnResized(int,int,int).

int QTableView.columnSpan (self, int, int)

int QTableView.columnViewportPosition (self, int)

int QTableView.columnWidth (self, int)

QTableView.currentChanged (self, QModelIndex, QModelIndex)

Qt.PenStyle QTableView.gridStyle (self)

QTableView.hideColumn (self, int)

This method is also a Qt slot with the C++ signature void hideColumn(int).

QTableView.hideRow (self, int)

This method is also a Qt slot with the C++ signature void hideRow(int).

QHeaderView QTableView.horizontalHeader (self)

int QTableView.horizontalOffset (self)

QTableView.horizontalScrollbarAction (self, int)

QModelIndex QTableView.indexAt (self, QPoint)

bool QTableView.isColumnHidden (self, int)

bool QTableView.isCornerButtonEnabled (self)

bool QTableView.isIndexHidden (self, QModelIndex)

bool QTableView.isRowHidden (self, int)

bool QTableView.isSortingEnabled (self)

QModelIndex QTableView.moveCursor (self, QAbstractItemView.CursorAction, Qt.KeyboardModifiers)

QTableView.paintEvent (self, QPaintEvent)

QTableView.resizeColumnsToContents (self)

This method is also a Qt slot with the C++ signature void resizeColumnsToContents().

QTableView.resizeColumnToContents (self, int)

This method is also a Qt slot with the C++ signature void resizeColumnToContents(int).

QTableView.resizeRowsToContents (self)

This method is also a Qt slot with the C++ signature void resizeRowsToContents().

QTableView.resizeRowToContents (self, int)

This method is also a Qt slot with the C++ signature void resizeRowToContents(int).

int QTableView.rowAt (self, int)

QTableView.rowCountChanged (self, int, int)

This method is also a Qt slot with the C++ signature void rowCountChanged(int,int).

int QTableView.rowHeight (self, int)

QTableView.rowMoved (self, int, int, int)

This method is also a Qt slot with the C++ signature void rowMoved(int,int,int).

QTableView.rowResized (self, int, int, int)

This method is also a Qt slot with the C++ signature void rowResized(int,int,int).

int QTableView.rowSpan (self, int, int)

int QTableView.rowViewportPosition (self, int)

QTableView.scrollContentsBy (self, int, int)

QTableView.scrollTo (self, QModelIndex, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)

QTableView.selectColumn (self, int)

This method is also a Qt slot with the C++ signature void selectColumn(int).

list-of-QModelIndex QTableView.selectedIndexes (self)

QTableView.selectionChanged (self, QItemSelection, QItemSelection)

QTableView.selectRow (self, int)

This method is also a Qt slot with the C++ signature void selectRow(int).

QTableView.setColumnHidden (self, int, bool)

QTableView.setColumnWidth (self, int, int)

QTableView.setCornerButtonEnabled (self, bool)

QTableView.setGridStyle (self, Qt.PenStyle)

QTableView.setHorizontalHeader (self, QHeaderView)

The QHeaderView argument has it's ownership transferred to Qt.

QTableView.setModel (self, QAbstractItemModel)

QTableView.setRootIndex (self, QModelIndex)

QTableView.setRowHeight (self, int, int)

QTableView.setRowHidden (self, int, bool)

QTableView.setSelection (self, QRect, QItemSelectionModel.SelectionFlags)

QTableView.setSelectionModel (self, QItemSelectionModel)

QTableView.setShowGrid (self, bool)

QTableView.setSortingEnabled (self, bool)

QTableView.setSpan (self, int, int, int, int)

QTableView.setVerticalHeader (self, QHeaderView)

The QHeaderView argument has it's ownership transferred to Qt.

QTableView.setWordWrap (self, bool)

QTableView.showColumn (self, int)

This method is also a Qt slot with the C++ signature void showColumn(int).

bool QTableView.showGrid (self)

QTableView.showRow (self, int)

This method is also a Qt slot with the C++ signature void showRow(int).

int QTableView.sizeHintForColumn (self, int)

int QTableView.sizeHintForRow (self, int)

QTableView.sortByColumn (self, int)

This method is also a Qt slot with the C++ signature void sortByColumn(int).

QTableView.sortByColumn (self, int, Qt.SortOrder)

QTableView.timerEvent (self, QTimerEvent)

QTableView.updateGeometries (self)

QHeaderView QTableView.verticalHeader (self)

int QTableView.verticalOffset (self)

QTableView.verticalScrollbarAction (self, int)

QStyleOptionViewItem QTableView.viewOptions (self)

QRect QTableView.visualRect (self, QModelIndex)

QRegion QTableView.visualRegionForSelection (self, QItemSelection)

bool QTableView.wordWrap (self)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0