Home · All Classes · Modules

QHeaderView Class Reference
[QtGui module]

Inherits QAbstractItemView.

Types

Methods

Special Methods

Qt Signals


Detailed Description


Type Documentation

QHeaderView.ResizeMode


Method Documentation

QHeaderView.__init__ (self, Qt.Orientation, QWidget parent = None)

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

bool QHeaderView.cascadingSectionResizes (self)

int QHeaderView.count (self)

QHeaderView.currentChanged (self, QModelIndex, QModelIndex)

QHeaderView.dataChanged (self, QModelIndex, QModelIndex)

Qt.Alignment QHeaderView.defaultAlignment (self)

int QHeaderView.defaultSectionSize (self)

QHeaderView.doItemsLayout (self)

bool QHeaderView.event (self, QEvent)

QHeaderView.headerDataChanged (self, Qt.Orientation, int, int)

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

int QHeaderView.hiddenSectionCount (self)

QHeaderView.hideSection (self, int)

bool QHeaderView.highlightSections (self)

int QHeaderView.horizontalOffset (self)

QModelIndex QHeaderView.indexAt (self, QPoint)

QHeaderView.initialize (self)

QHeaderView.initializeSections (self)

QHeaderView.initializeSections (self, int, int)

QHeaderView.initStyleOption (self, QStyleOptionHeader)

bool QHeaderView.isClickable (self)

bool QHeaderView.isIndexHidden (self, QModelIndex)

bool QHeaderView.isMovable (self)

bool QHeaderView.isSectionHidden (self, int)

bool QHeaderView.isSortIndicatorShown (self)

int QHeaderView.length (self)

int QHeaderView.logicalIndex (self, int)

int QHeaderView.logicalIndexAt (self, int)

int QHeaderView.logicalIndexAt (self, int, int)

int QHeaderView.logicalIndexAt (self, QPoint)

int QHeaderView.minimumSectionSize (self)

QHeaderView.mouseDoubleClickEvent (self, QMouseEvent)

QHeaderView.mouseMoveEvent (self, QMouseEvent)

QHeaderView.mousePressEvent (self, QMouseEvent)

QHeaderView.mouseReleaseEvent (self, QMouseEvent)

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

QHeaderView.moveSection (self, int, int)

int QHeaderView.offset (self)

Qt.Orientation QHeaderView.orientation (self)

QHeaderView.paintEvent (self, QPaintEvent)

QHeaderView.paintSection (self, QPainter, QRect, int)

QHeaderView.reset (self)

ResizeMode QHeaderView.resizeMode (self, int)

QHeaderView.resizeSection (self, int, int)

QHeaderView.resizeSections (self)

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

QHeaderView.resizeSections (self, ResizeMode)

bool QHeaderView.restoreState (self, QByteArray)

QHeaderView.rowsInserted (self, QModelIndex, int, int)

QByteArray QHeaderView.saveState (self)

QHeaderView.scrollContentsBy (self, int, int)

QHeaderView.scrollTo (self, QModelIndex, QAbstractItemView.ScrollHint)

int QHeaderView.sectionPosition (self, int)

QHeaderView.sectionsAboutToBeRemoved (self, QModelIndex, int, int)

This method is also a Qt slot with the C++ signature void sectionsAboutToBeRemoved(const QModelIndex&,int,int).

bool QHeaderView.sectionsHidden (self)

QHeaderView.sectionsInserted (self, QModelIndex, int, int)

This method is also a Qt slot with the C++ signature void sectionsInserted(const QModelIndex&,int,int).

int QHeaderView.sectionSize (self, int)

QSize QHeaderView.sectionSizeFromContents (self, int)

int QHeaderView.sectionSizeHint (self, int)

bool QHeaderView.sectionsMoved (self)

int QHeaderView.sectionViewportPosition (self, int)

QHeaderView.setCascadingSectionResizes (self, bool)

QHeaderView.setClickable (self, bool)

QHeaderView.setDefaultAlignment (self, Qt.Alignment)

QHeaderView.setDefaultSectionSize (self, int)

QHeaderView.setHighlightSections (self, bool)

QHeaderView.setMinimumSectionSize (self, int)

QHeaderView.setModel (self, QAbstractItemModel)

QHeaderView.setMovable (self, bool)

QHeaderView.setOffset (self, int)

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

QHeaderView.setOffsetToLastSection (self)

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

QHeaderView.setOffsetToSectionPosition (self, int)

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

QHeaderView.setResizeMode (self, ResizeMode)

QHeaderView.setResizeMode (self, int, ResizeMode)

QHeaderView.setSectionHidden (self, int, bool)

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

QHeaderView.setSortIndicator (self, int, Qt.SortOrder)

QHeaderView.setSortIndicatorShown (self, bool)

QHeaderView.setStretchLastSection (self, bool)

QHeaderView.showSection (self, int)

QSize QHeaderView.sizeHint (self)

Qt.SortOrder QHeaderView.sortIndicatorOrder (self)

int QHeaderView.sortIndicatorSection (self)

bool QHeaderView.stretchLastSection (self)

int QHeaderView.stretchSectionCount (self)

QHeaderView.swapSections (self, int, int)

QHeaderView.updateGeometries (self)

QHeaderView.updateSection (self, int)

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

int QHeaderView.verticalOffset (self)

bool QHeaderView.viewportEvent (self, QEvent)

int QHeaderView.visualIndex (self, int)

int QHeaderView.visualIndexAt (self, int)

QRect QHeaderView.visualRect (self, QModelIndex)

QRegion QHeaderView.visualRegionForSelection (self, QItemSelection)

QHeaderView.__len__ (self)


Qt Signal Documentation

void geometriesChanged ()

This is the default overload of this signal.

void sectionAutoResize (int,QHeaderView::ResizeMode)

This is the default overload of this signal.

void sectionClicked (int)

This is the default overload of this signal.

void sectionCountChanged (int,int)

This is the default overload of this signal.

void sectionDoubleClicked (int)

This is the default overload of this signal.

void sectionEntered (int)

This is the default overload of this signal.

void sectionHandleDoubleClicked (int)

This is the default overload of this signal.

void sectionMoved (int,int,int)

This is the default overload of this signal.

void sectionPressed (int)

This is the default overload of this signal.

void sectionResized (int,int,int)

This is the default overload of this signal.

void sortIndicatorChanged (int,Qt::SortOrder)

This is the default overload of this signal.


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