QHeaderView¶
- PyQt5.QtWidgets.QHeaderView
Inherits from QAbstractItemView.
Description¶
TODO
Enums¶
- ResizeMode
TODO
Member
Value
Description
Custom TODO
TODO
Fixed TODO
TODO
Interactive TODO
TODO
ResizeToContents TODO
TODO
Stretch TODO
TODO
Methods¶
- __init__(Orientation, parent: QWidget = None)
TODO
- cascadingSectionResizes() → bool
TODO
- count() → int
TODO
- currentChanged(QModelIndex, QModelIndex)
TODO
- dataChanged(QModelIndex, QModelIndex, roles: Iterable[int] = [])
TODO
- defaultAlignment() → Alignment
TODO
- defaultSectionSize() → int
TODO
- event(QEvent) → bool
TODO
- headerDataChanged(Orientation, int, int)
TODO
TODO
- hideSection(int)
TODO
- highlightSections() → bool
TODO
- horizontalOffset() → int
TODO
- indexAt(QPoint) → QModelIndex
TODO
- initialize()
TODO
- initializeSections()
TODO
- initializeSections(int, int)
TODO
- initStyleOption(QStyleOptionHeader)
TODO
- isFirstSectionMovable() → bool
TODO
- isIndexHidden(QModelIndex) → bool
TODO
- isSectionHidden(int) → bool
TODO
- isSortIndicatorShown() → bool
TODO
- __len__() → int
TODO
- length() → int
TODO
- logicalIndex(int) → int
TODO
- logicalIndexAt(int) → int
TODO
- logicalIndexAt(QPoint) → int
TODO
- logicalIndexAt(int, int) → int
TODO
- maximumSectionSize() → int
TODO
- minimumSectionSize() → int
TODO
- mouseDoubleClickEvent(QMouseEvent)
TODO
- mouseMoveEvent(QMouseEvent)
TODO
- mousePressEvent(QMouseEvent)
TODO
- mouseReleaseEvent(QMouseEvent)
TODO
- moveCursor(CursorAction, Union[KeyboardModifiers, KeyboardModifier]) → QModelIndex
TODO
- moveSection(int, int)
TODO
- offset() → int
TODO
- orientation() → Orientation
TODO
- paintEvent(QPaintEvent)
TODO
- reset()
TODO
- resetDefaultSectionSize()
TODO
- resizeContentsPrecision() → int
TODO
- resizeSection(int, int)
TODO
- resizeSections()
TODO
- resizeSections(ResizeMode)
TODO
- restoreState(Union[QByteArray, bytes, bytearray]) → bool
TODO
- rowsInserted(QModelIndex, int, int)
TODO
- saveState() → QByteArray
TODO
- scrollContentsBy(int, int)
TODO
- scrollTo(QModelIndex, ScrollHint)
TODO
- sectionPosition(int) → int
TODO
- sectionResizeMode(int) → ResizeMode
TODO
- sectionsAboutToBeRemoved(QModelIndex, int, int)
TODO
- sectionsClickable() → bool
TODO
- sectionsHidden() → bool
TODO
- sectionsInserted(QModelIndex, int, int)
TODO
- sectionSize(int) → int
TODO
- sectionSizeFromContents(int) → QSize
TODO
- sectionSizeHint(int) → int
TODO
- sectionsMovable() → bool
TODO
- sectionsMoved() → bool
TODO
- sectionViewportPosition(int) → int
TODO
- setCascadingSectionResizes(bool)
TODO
- setDefaultAlignment(Union[Alignment, AlignmentFlag])
TODO
- setDefaultSectionSize(int)
TODO
- setFirstSectionMovable(bool)
TODO
- setHighlightSections(bool)
TODO
- setMaximumSectionSize(int)
TODO
- setMinimumSectionSize(int)
TODO
- setModel(QAbstractItemModel)
TODO
- setOffset(int)
TODO
- setOffsetToLastSection()
TODO
- setOffsetToSectionPosition(int)
TODO
- setResizeContentsPrecision(int)
TODO
- setSectionHidden(int, bool)
TODO
- setSectionResizeMode(ResizeMode)
TODO
- setSectionResizeMode(int, ResizeMode)
TODO
- setSectionsClickable(bool)
TODO
- setSectionsMovable(bool)
TODO
- setSelection(QRect, Union[SelectionFlags, SelectionFlag])
TODO
- setSortIndicator(int, SortOrder)
TODO
- setSortIndicatorShown(bool)
TODO
- setStretchLastSection(bool)
TODO
- setVisible(bool)
TODO
- showSection(int)
TODO
- sizeHint() → QSize
TODO
- sortIndicatorOrder() → SortOrder
TODO
- sortIndicatorSection() → int
TODO
- stretchLastSection() → bool
TODO
- stretchSectionCount() → int
TODO
- swapSections(int, int)
TODO
- updateGeometries()
TODO
- updateSection(int)
TODO
- verticalOffset() → int
TODO
- viewportEvent(QEvent) → bool
TODO
- visualIndex(int) → int
TODO
- visualIndexAt(int) → int
TODO
- visualRect(QModelIndex) → QRect
TODO
- visualRegionForSelection(QItemSelection) → QRegion
TODO
Signals¶
- geometriesChanged()
TODO
- sectionClicked(int)
TODO
- sectionCountChanged(int, int)
TODO
- sectionDoubleClicked(int)
TODO
- sectionEntered(int)
TODO
- sectionHandleDoubleClicked(int)
TODO
- sectionMoved(int, int, int)
TODO
- sectionPressed(int)
TODO
- sectionResized(int, int, int)
TODO
- sortIndicatorChanged(int, SortOrder)
TODO