KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QHeaderView

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QHeaderView

Class hierarchy: QHeaderView » QAbstractItemView » QAbstractScrollArea » QFrame » QWidget » QObject

Sub-classes: ResizeMode, QFlags_ResizeMode

Public constructors

new QHeaderViewnew(const Qt_Orientation orientation,
QWidget ptr parent = nullptr)
Constructor QHeaderView::QHeaderView(Qt::Orientation orientation, QWidget *parent)

Public methods

[const]QHeaderView ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidactivated(const QModelIndex index)Signal declaration for QHeaderView::activated(const QModelIndex &index)
[const]boolcascadingSectionResizesMethod bool QHeaderView::cascadingSectionResizes()
voidcascadingSectionResizes=(bool enable)Method void QHeaderView::setCascadingSectionResizes(bool enable)
[signal]voidclicked(const QModelIndex index)Signal declaration for QHeaderView::clicked(const QModelIndex &index)
[const]intcountMethod int QHeaderView::count()
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QHeaderView::customContextMenuRequested(const QPoint &pos)
[const]Qt_QFlags_AlignmentFlagdefaultAlignmentMethod QFlags<Qt::AlignmentFlag> QHeaderView::defaultAlignment()
voiddefaultAlignment=(Qt_QFlags_AlignmentFlag alignment)Method void QHeaderView::setDefaultAlignment(QFlags<Qt::AlignmentFlag> alignment)
[const]intdefaultSectionSizeMethod int QHeaderView::defaultSectionSize()
voiddefaultSectionSize=(int size)Method void QHeaderView::setDefaultSectionSize(int size)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QHeaderView::destroyed(QObject *)
voiddoItemsLayoutVirtual method void QHeaderView::doItemsLayout()
[signal]voiddoubleClicked(const QModelIndex index)Signal declaration for QHeaderView::doubleClicked(const QModelIndex &index)
voidemit_activated(const QModelIndex index)Emitter for signal void QHeaderView::activated(const QModelIndex &index)
voidemit_clicked(const QModelIndex index)Emitter for signal void QHeaderView::clicked(const QModelIndex &index)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QHeaderView::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QHeaderView::destroyed(QObject *)
voidemit_doubleClicked(const QModelIndex index)Emitter for signal void QHeaderView::doubleClicked(const QModelIndex &index)
voidemit_entered(const QModelIndex index)Emitter for signal void QHeaderView::entered(const QModelIndex &index)
voidemit_geometriesChangedEmitter for signal void QHeaderView::geometriesChanged()
voidemit_iconSizeChanged(const QSize size)Emitter for signal void QHeaderView::iconSizeChanged(const QSize &size)
voidemit_objectNameChanged(string objectName)Emitter for signal void QHeaderView::objectNameChanged(const QString &objectName)
voidemit_pressed(const QModelIndex index)Emitter for signal void QHeaderView::pressed(const QModelIndex &index)
voidemit_sectionClicked(int logicalIndex)Emitter for signal void QHeaderView::sectionClicked(int logicalIndex)
voidemit_sectionCountChanged(int oldCount,
int newCount)
Emitter for signal void QHeaderView::sectionCountChanged(int oldCount, int newCount)
voidemit_sectionDoubleClicked(int logicalIndex)Emitter for signal void QHeaderView::sectionDoubleClicked(int logicalIndex)
voidemit_sectionEntered(int logicalIndex)Emitter for signal void QHeaderView::sectionEntered(int logicalIndex)
voidemit_sectionHandleDoubleClicked(int logicalIndex)Emitter for signal void QHeaderView::sectionHandleDoubleClicked(int logicalIndex)
voidemit_sectionMoved(int logicalIndex,
int oldVisualIndex,
int newVisualIndex)
Emitter for signal void QHeaderView::sectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)
voidemit_sectionPressed(int logicalIndex)Emitter for signal void QHeaderView::sectionPressed(int logicalIndex)
voidemit_sectionResized(int logicalIndex,
int oldSize,
int newSize)
Emitter for signal void QHeaderView::sectionResized(int logicalIndex, int oldSize, int newSize)
voidemit_sortIndicatorChanged(int logicalIndex,
const Qt_SortOrder order)
Emitter for signal void QHeaderView::sortIndicatorChanged(int logicalIndex, Qt::SortOrder order)
voidemit_viewportEnteredEmitter for signal void QHeaderView::viewportEntered()
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QHeaderView::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QHeaderView::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QHeaderView::windowTitleChanged(const QString &title)
[signal]voidentered(const QModelIndex index)Signal declaration for QHeaderView::entered(const QModelIndex &index)
[const]boolfirstSectionMovableMethod bool QHeaderView::isFirstSectionMovable()
voidfirstSectionMovable=(bool movable)Method void QHeaderView::setFirstSectionMovable(bool movable)
[signal]voidgeometriesChangedSignal declaration for QHeaderView::geometriesChanged()
[const]boolhasHeightForWidthVirtual method bool QHeaderView::hasHeightForWidth()
voidheaderDataChanged(const Qt_Orientation orientation,
int logicalFirst,
int logicalLast)
Method void QHeaderView::headerDataChanged(Qt::Orientation orientation, int logicalFirst, int logicalLast)
[const]intheightForWidth(int arg1)Virtual method int QHeaderView::heightForWidth(int)
[const]inthiddenSectionCountMethod int QHeaderView::hiddenSectionCount()
voidhideSection(int logicalIndex)Method void QHeaderView::hideSection(int logicalIndex)
[const]boolhighlightSectionsMethod bool QHeaderView::highlightSections()
voidhighlightSections=(bool highlight)Method void QHeaderView::setHighlightSections(bool highlight)
[signal]voidiconSizeChanged(const QSize size)Signal declaration for QHeaderView::iconSizeChanged(const QSize &size)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QHeaderView::inputMethodQuery(Qt::InputMethodQuery query)
[const]boolisFirstSectionMovable?Method bool QHeaderView::isFirstSectionMovable()
[const]boolisSectionHidden?(int logicalIndex)Method bool QHeaderView::isSectionHidden(int logicalIndex)
[const]boolisSortIndicatorShown?Method bool QHeaderView::isSortIndicatorShown()
voidkeyboardSearch(string search)Virtual method void QHeaderView::keyboardSearch(const QString &search)
[const]intlengthMethod int QHeaderView::length()
[const]intlogicalIndex(int visualIndex)Method int QHeaderView::logicalIndex(int visualIndex)
[const]intlogicalIndexAt(int position)Method int QHeaderView::logicalIndexAt(int position)
[const]intlogicalIndexAt(int x,
int y)
Method int QHeaderView::logicalIndexAt(int x, int y)
[const]intlogicalIndexAt(const QPoint pos)Method int QHeaderView::logicalIndexAt(const QPoint &pos)
[const]intmaximumSectionSizeMethod int QHeaderView::maximumSectionSize()
voidmaximumSectionSize=(int size)Method void QHeaderView::setMaximumSectionSize(int size)
[const]intminimumSectionSizeMethod int QHeaderView::minimumSectionSize()
voidminimumSectionSize=(int size)Method void QHeaderView::setMinimumSectionSize(int size)
[const]QSizeminimumSizeHintVirtual method QSize QHeaderView::minimumSizeHint()
voidmodel=(QAbstractItemModel ptr model)Method void QHeaderView::setModel(QAbstractItemModel *model)
voidmoveSection(int from,
int to)
Method void QHeaderView::moveSection(int from, int to)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QHeaderView::objectNameChanged(const QString &objectName)
[const]intoffsetMethod int QHeaderView::offset()
voidoffset=(int offset)Method void QHeaderView::setOffset(int offset)
[const]Qt_OrientationorientationMethod Qt::Orientation QHeaderView::orientation()
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QHeaderView::paintEngine()
[signal]voidpressed(const QModelIndex index)Signal declaration for QHeaderView::pressed(const QModelIndex &index)
voidresetVirtual method void QHeaderView::reset()
voidresetDefaultSectionSizeMethod void QHeaderView::resetDefaultSectionSize()
[const]intresizeContentsPrecisionMethod int QHeaderView::resizeContentsPrecision()
voidresizeContentsPrecision=(int precision)Method void QHeaderView::setResizeContentsPrecision(int precision)
voidresizeSection(int logicalIndex,
int size)
Method void QHeaderView::resizeSection(int logicalIndex, int size)
boolrestoreState(bytes state)Method bool QHeaderView::restoreState(const QByteArray &state)
[const]bytessaveStateMethod QByteArray QHeaderView::saveState()
[signal]voidsectionClicked(int logicalIndex)Signal declaration for QHeaderView::sectionClicked(int logicalIndex)
[signal]voidsectionCountChanged(int oldCount,
int newCount)
Signal declaration for QHeaderView::sectionCountChanged(int oldCount, int newCount)
[signal]voidsectionDoubleClicked(int logicalIndex)Signal declaration for QHeaderView::sectionDoubleClicked(int logicalIndex)
[signal]voidsectionEntered(int logicalIndex)Signal declaration for QHeaderView::sectionEntered(int logicalIndex)
[signal]voidsectionHandleDoubleClicked(int logicalIndex)Signal declaration for QHeaderView::sectionHandleDoubleClicked(int logicalIndex)
[signal]voidsectionMoved(int logicalIndex,
int oldVisualIndex,
int newVisualIndex)
Signal declaration for QHeaderView::sectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)
[const]intsectionPosition(int logicalIndex)Method int QHeaderView::sectionPosition(int logicalIndex)
[signal]voidsectionPressed(int logicalIndex)Signal declaration for QHeaderView::sectionPressed(int logicalIndex)
[const]QHeaderView_ResizeModesectionResizeMode(int logicalIndex)Method QHeaderView::ResizeMode QHeaderView::sectionResizeMode(int logicalIndex)
[signal]voidsectionResized(int logicalIndex,
int oldSize,
int newSize)
Signal declaration for QHeaderView::sectionResized(int logicalIndex, int oldSize, int newSize)
[const]intsectionSize(int logicalIndex)Method int QHeaderView::sectionSize(int logicalIndex)
[const]intsectionSizeHint(int logicalIndex)Method int QHeaderView::sectionSizeHint(int logicalIndex)
[const]intsectionViewportPosition(int logicalIndex)Method int QHeaderView::sectionViewportPosition(int logicalIndex)
[const]boolsectionsClickableMethod bool QHeaderView::sectionsClickable()
voidsectionsClickable=(bool clickable)Method void QHeaderView::setSectionsClickable(bool clickable)
[const]boolsectionsHiddenMethod bool QHeaderView::sectionsHidden()
[const]boolsectionsMovableMethod bool QHeaderView::sectionsMovable()
voidsectionsMovable=(bool movable)Method void QHeaderView::setSectionsMovable(bool movable)
[const]boolsectionsMovedMethod bool QHeaderView::sectionsMoved()
voidselectAllVirtual method void QHeaderView::selectAll()
voidsetCascadingSectionResizes(bool enable)Method void QHeaderView::setCascadingSectionResizes(bool enable)
voidsetDefaultAlignment(Qt_QFlags_AlignmentFlag alignment)Method void QHeaderView::setDefaultAlignment(QFlags<Qt::AlignmentFlag> alignment)
voidsetDefaultSectionSize(int size)Method void QHeaderView::setDefaultSectionSize(int size)
voidsetFirstSectionMovable(bool movable)Method void QHeaderView::setFirstSectionMovable(bool movable)
voidsetHighlightSections(bool highlight)Method void QHeaderView::setHighlightSections(bool highlight)
voidsetMaximumSectionSize(int size)Method void QHeaderView::setMaximumSectionSize(int size)
voidsetMinimumSectionSize(int size)Method void QHeaderView::setMinimumSectionSize(int size)
voidsetModel(QAbstractItemModel ptr model)Virtual method void QHeaderView::setModel(QAbstractItemModel *model)
voidsetOffset(int offset)Method void QHeaderView::setOffset(int offset)
voidsetOffsetToLastSectionMethod void QHeaderView::setOffsetToLastSection()
voidsetOffsetToSectionPosition(int visualIndex)Method void QHeaderView::setOffsetToSectionPosition(int visualIndex)
voidsetResizeContentsPrecision(int precision)Method void QHeaderView::setResizeContentsPrecision(int precision)
voidsetRootIndex(const QModelIndex index)Virtual method void QHeaderView::setRootIndex(const QModelIndex &index)
voidsetSectionHidden(int logicalIndex,
bool hide)
Method void QHeaderView::setSectionHidden(int logicalIndex, bool hide)
voidsetSectionResizeMode(const QHeaderView_ResizeMode mode)Method void QHeaderView::setSectionResizeMode(QHeaderView::ResizeMode mode)
voidsetSectionResizeMode(int logicalIndex,
const QHeaderView_ResizeMode mode)
Method void QHeaderView::setSectionResizeMode(int logicalIndex, QHeaderView::ResizeMode mode)
voidsetSectionsClickable(bool clickable)Method void QHeaderView::setSectionsClickable(bool clickable)
voidsetSectionsMovable(bool movable)Method void QHeaderView::setSectionsMovable(bool movable)
voidsetSelectionModel(QItemSelectionModel ptr selectionModel)Virtual method void QHeaderView::setSelectionModel(QItemSelectionModel *selectionModel)
voidsetSortIndicator(int logicalIndex,
const Qt_SortOrder order)
Method void QHeaderView::setSortIndicator(int logicalIndex, Qt::SortOrder order)
voidsetSortIndicatorShown(bool show)Method void QHeaderView::setSortIndicatorShown(bool show)
voidsetStretchLastSection(bool stretch)Method void QHeaderView::setStretchLastSection(bool stretch)
voidsetVisible(bool v)Virtual method void QHeaderView::setVisible(bool v)
voidsetupViewport(QWidget ptr viewport)Virtual method void QHeaderView::setupViewport(QWidget *viewport)
voidshowSection(int logicalIndex)Method void QHeaderView::showSection(int logicalIndex)
[const]QSizesizeHintVirtual method QSize QHeaderView::sizeHint()
[const]intsizeHintForColumn(int column)Virtual method int QHeaderView::sizeHintForColumn(int column)
[const]intsizeHintForRow(int row)Virtual method int QHeaderView::sizeHintForRow(int row)
[signal]voidsortIndicatorChanged(int logicalIndex,
const Qt_SortOrder order)
Signal declaration for QHeaderView::sortIndicatorChanged(int logicalIndex, Qt::SortOrder order)
[const]Qt_SortOrdersortIndicatorOrderMethod Qt::SortOrder QHeaderView::sortIndicatorOrder()
[const]intsortIndicatorSectionMethod int QHeaderView::sortIndicatorSection()
[const]boolsortIndicatorShownMethod bool QHeaderView::isSortIndicatorShown()
voidsortIndicatorShown=(bool show)Method void QHeaderView::setSortIndicatorShown(bool show)
[const]boolstretchLastSectionMethod bool QHeaderView::stretchLastSection()
voidstretchLastSection=(bool stretch)Method void QHeaderView::setStretchLastSection(bool stretch)
[const]intstretchSectionCountMethod int QHeaderView::stretchSectionCount()
voidswapSections(int first,
int second)
Method void QHeaderView::swapSections(int first, int second)
[signal]voidviewportEnteredSignal declaration for QHeaderView::viewportEntered()
voidvisible=(bool v)Method void QHeaderView::setVisible(bool v)
[const]intvisualIndex(int logicalIndex)Method int QHeaderView::visualIndex(int logicalIndex)
[const]intvisualIndexAt(int position)Method int QHeaderView::visualIndexAt(int position)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QHeaderView::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QHeaderView::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QHeaderView::windowTitleChanged(const QString &title)

Public static methods and constants

[static,const]QHeaderView_ResizeModeCustomEnum constant QHeaderView::Custom
[static,const]QHeaderView_ResizeModeFixedEnum constant QHeaderView::Fixed
[static,const]QHeaderView_ResizeModeInteractiveEnum constant QHeaderView::Interactive
[static,const]QHeaderView_ResizeModeResizeToContentsEnum constant QHeaderView::ResizeToContents
[static,const]QHeaderView_ResizeModeStretchEnum constant QHeaderView::Stretch
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QHeaderView::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QHeaderView::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QHeaderView::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr arg1)Virtual method void QHeaderView::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr event)Virtual method void QHeaderView::childEvent(QChildEvent *event)
voidcloseEditor(QWidget ptr editor,
const QAbstractItemDelegate_EndEditHint hint)
Virtual method void QHeaderView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QHeaderView::closeEvent(QCloseEvent *event)
voidcommitData(QWidget ptr editor)Virtual method void QHeaderView::commitData(QWidget *editor)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QHeaderView::contextMenuEvent(QContextMenuEvent *)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QHeaderView::create(WId, bool initializeWindow, bool destroyOldWindow)
voidcurrentChanged(const QModelIndex current,
const QModelIndex old)
Virtual method void QHeaderView::currentChanged(const QModelIndex &current, const QModelIndex &old)
voidcustomEvent(QEvent ptr event)Virtual method void QHeaderView::customEvent(QEvent *event)
voiddataChanged(const QModelIndex topLeft,
const QModelIndex bottomRight,
int[] roles)
Virtual method void QHeaderView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QHeaderView::destroy(bool destroyWindow, bool destroySubWindows)
[const]QPointdirtyRegionOffsetMethod QPoint QHeaderView::dirtyRegionOffset()
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QHeaderView::disconnectNotify(const QMetaMethod &signal)
voiddoAutoScrollMethod void QHeaderView::doAutoScroll()
voiddragEnterEvent(QDragEnterEvent ptr event)Virtual method void QHeaderView::dragEnterEvent(QDragEnterEvent *event)
voiddragLeaveEvent(QDragLeaveEvent ptr event)Virtual method void QHeaderView::dragLeaveEvent(QDragLeaveEvent *event)
voiddragMoveEvent(QDragMoveEvent ptr event)Virtual method void QHeaderView::dragMoveEvent(QDragMoveEvent *event)
voiddrawFrame(QPainter ptr arg1)Method void QHeaderView::drawFrame(QPainter *)
voiddropEvent(QDropEvent ptr event)Virtual method void QHeaderView::dropEvent(QDropEvent *event)
[const]unsigned intdropIndicatorPositionMethod QAbstractItemView::DropIndicatorPosition QHeaderView::dropIndicatorPosition()
booledit(const QModelIndex index,
const QAbstractItemView_EditTrigger trigger,
QEvent ptr event)
Virtual method bool QHeaderView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)
voideditorDestroyed(QObject ptr editor)Virtual method void QHeaderView::editorDestroyed(QObject *editor)
voidenterEvent(QEvent ptr event)Virtual method void QHeaderView::enterEvent(QEvent *event)
boolevent(QEvent ptr e)Virtual method bool QHeaderView::event(QEvent *e)
booleventFilter(QObject ptr object,
QEvent ptr event)
Virtual method bool QHeaderView::eventFilter(QObject *object, QEvent *event)
voidexecuteDelayedItemsLayoutMethod void QHeaderView::executeDelayedItemsLayout()
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QHeaderView::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QHeaderView::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QHeaderView::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QHeaderView::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QHeaderView::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QHeaderView::hideEvent(QHideEvent *event)
[const]inthorizontalOffsetVirtual method int QHeaderView::horizontalOffset()
voidhorizontalScrollbarAction(int action)Virtual method void QHeaderView::horizontalScrollbarAction(int action)
voidhorizontalScrollbarValueChanged(int value)Virtual method void QHeaderView::horizontalScrollbarValueChanged(int value)
[const]inthorizontalStepsPerItemMethod int QHeaderView::horizontalStepsPerItem()
[const]QModelIndexindexAt(const QPoint p)Virtual method QModelIndex QHeaderView::indexAt(const QPoint &p)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QHeaderView::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionHeader ptr option)Method void QHeaderView::initStyleOption(QStyleOptionHeader *option)
voidinitializeMethod void QHeaderView::initialize()
voidinitializeSectionsMethod void QHeaderView::initializeSections()
voidinitializeSections(int start,
int end)
Method void QHeaderView::initializeSections(int start, int end)
voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QHeaderView::inputMethodEvent(QInputMethodEvent *event)
[const]boolisIndexHidden(const QModelIndex index)Virtual method bool QHeaderView::isIndexHidden(const QModelIndex &index)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QHeaderView::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QHeaderView::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QHeaderView::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr event)Virtual method void QHeaderView::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QHeaderView::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr e)Virtual method void QHeaderView::mouseDoubleClickEvent(QMouseEvent *e)
voidmouseMoveEvent(QMouseEvent ptr e)Virtual method void QHeaderView::mouseMoveEvent(QMouseEvent *e)
voidmousePressEvent(QMouseEvent ptr e)Virtual method void QHeaderView::mousePressEvent(QMouseEvent *e)
voidmouseReleaseEvent(QMouseEvent ptr e)Virtual method void QHeaderView::mouseReleaseEvent(QMouseEvent *e)
QModelIndexmoveCursor(unsigned int arg1,
Qt_QFlags_KeyboardModifier arg2)
Virtual method QModelIndex QHeaderView::moveCursor(QAbstractItemView::CursorAction, QFlags<Qt::KeyboardModifier>)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QHeaderView::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QHeaderView::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr e)Virtual method void QHeaderView::paintEvent(QPaintEvent *e)
[const]voidpaintSection(QPainter ptr painter,
const QRect rect,
int logicalIndex)
Virtual method void QHeaderView::paintSection(QPainter *painter, const QRect &rect, int logicalIndex)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QHeaderView::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QHeaderView::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QHeaderView::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QHeaderView::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr event)Virtual method void QHeaderView::resizeEvent(QResizeEvent *event)
voidresizeSectionsMethod void QHeaderView::resizeSections()
voidrowsAboutToBeRemoved(const QModelIndex parent,
int start,
int end)
Virtual method void QHeaderView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
voidrowsInserted(const QModelIndex parent,
int start,
int end)
Virtual method void QHeaderView::rowsInserted(const QModelIndex &parent, int start, int end)
voidscheduleDelayedItemsLayoutMethod void QHeaderView::scheduleDelayedItemsLayout()
voidscrollContentsBy(int dx,
int dy)
Virtual method void QHeaderView::scrollContentsBy(int dx, int dy)
voidscrollDirtyRegion(int dx,
int dy)
Method void QHeaderView::scrollDirtyRegion(int dx, int dy)
voidscrollTo(const QModelIndex index,
const QAbstractItemView_ScrollHint hint)
Virtual method void QHeaderView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)
[const]QSizesectionSizeFromContents(int logicalIndex)Virtual method QSize QHeaderView::sectionSizeFromContents(int logicalIndex)
voidsectionsAboutToBeRemoved(const QModelIndex parent,
int logicalFirst,
int logicalLast)
Method void QHeaderView::sectionsAboutToBeRemoved(const QModelIndex &parent, int logicalFirst, int logicalLast)
voidsectionsInserted(const QModelIndex parent,
int logicalFirst,
int logicalLast)
Method void QHeaderView::sectionsInserted(const QModelIndex &parent, int logicalFirst, int logicalLast)
[const]QModelIndex[]selectedIndexesVirtual method QList<QModelIndex> QHeaderView::selectedIndexes()
voidselectionChanged(const QItemSelection selected,
const QItemSelection deselected)
Virtual method void QHeaderView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
[const]QItemSelectionModel_QFlags_SelectionFlagselectionCommand(const QModelIndex index,
const QEvent ptr event)
Virtual method QFlags<QItemSelectionModel::SelectionFlag> QHeaderView::selectionCommand(const QModelIndex &index, const QEvent *event)
[const]QObject ptrsenderMethod QObject *QHeaderView::sender()
[const]intsenderSignalIndexMethod int QHeaderView::senderSignalIndex()
voidsetDirtyRegion(const QRegion region)Method void QHeaderView::setDirtyRegion(const QRegion &region)
voidsetHorizontalStepsPerItem(int steps)Method void QHeaderView::setHorizontalStepsPerItem(int steps)
voidsetSelection(const QRect rect,
QItemSelectionModel_QFlags_SelectionFlag flags)
Virtual method void QHeaderView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> flags)
voidsetState(unsigned int state)Method void QHeaderView::setState(QAbstractItemView::State state)
voidsetVerticalStepsPerItem(int steps)Method void QHeaderView::setVerticalStepsPerItem(int steps)
voidsetViewportMargins(int left,
int top,
int right,
int bottom)
Method void QHeaderView::setViewportMargins(int left, int top, int right, int bottom)
voidsetViewportMargins(const QMargins margins)Method void QHeaderView::setViewportMargins(const QMargins &margins)
[const]QPainter ptrsharedPainterVirtual method QPainter *QHeaderView::sharedPainter()
voidshowEvent(QShowEvent ptr event)Virtual method void QHeaderView::showEvent(QShowEvent *event)
voidstartAutoScrollMethod void QHeaderView::startAutoScroll()
voidstartDrag(Qt_QFlags_DropAction supportedActions)Virtual method void QHeaderView::startDrag(QFlags<Qt::DropAction> supportedActions)
[const]unsigned intstateMethod QAbstractItemView::State QHeaderView::state()
voidstopAutoScrollMethod void QHeaderView::stopAutoScroll()
voidtabletEvent(QTabletEvent ptr event)Virtual method void QHeaderView::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QHeaderView::timerEvent(QTimerEvent *event)
voidupdateEditorDataVirtual method void QHeaderView::updateEditorData()
voidupdateEditorGeometriesVirtual method void QHeaderView::updateEditorGeometries()
voidupdateGeometriesVirtual method void QHeaderView::updateGeometries()
voidupdateMicroFocusMethod void QHeaderView::updateMicroFocus()
voidupdateSection(int logicalIndex)Method void QHeaderView::updateSection(int logicalIndex)
[const]intverticalOffsetVirtual method int QHeaderView::verticalOffset()
voidverticalScrollbarAction(int action)Virtual method void QHeaderView::verticalScrollbarAction(int action)
voidverticalScrollbarValueChanged(int value)Virtual method void QHeaderView::verticalScrollbarValueChanged(int value)
[const]intverticalStepsPerItemMethod int QHeaderView::verticalStepsPerItem()
[const]QStyleOptionViewItemviewOptionsVirtual method QStyleOptionViewItem QHeaderView::viewOptions()
boolviewportEvent(QEvent ptr e)Virtual method bool QHeaderView::viewportEvent(QEvent *e)
[const]QMarginsviewportMarginsMethod QMargins QHeaderView::viewportMargins()
[const]QSizeviewportSizeHintVirtual method QSize QHeaderView::viewportSizeHint()
[const]QRectvisualRect(const QModelIndex index)Virtual method QRect QHeaderView::visualRect(const QModelIndex &index)
[const]QRegionvisualRegionForSelection(const QItemSelection selection)Virtual method QRegion QHeaderView::visualRegionForSelection(const QItemSelection &selection)
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QHeaderView::wheelEvent(QWheelEvent *)

Detailed description

Custom

Signature: [static,const] QHeaderView_ResizeMode Custom

Description: Enum constant QHeaderView::Custom

Python specific notes:
The object exposes a readable attribute 'Custom'. This is the getter.

Fixed

Signature: [static,const] QHeaderView_ResizeMode Fixed

Description: Enum constant QHeaderView::Fixed

Python specific notes:
The object exposes a readable attribute 'Fixed'. This is the getter.

Interactive

Signature: [static,const] QHeaderView_ResizeMode Interactive

Description: Enum constant QHeaderView::Interactive

Python specific notes:
The object exposes a readable attribute 'Interactive'. This is the getter.

ResizeToContents

Signature: [static,const] QHeaderView_ResizeMode ResizeToContents

Description: Enum constant QHeaderView::ResizeToContents

Python specific notes:
The object exposes a readable attribute 'ResizeToContents'. This is the getter.

Stretch

Signature: [static,const] QHeaderView_ResizeMode Stretch

Description: Enum constant QHeaderView::Stretch

Python specific notes:
The object exposes a readable attribute 'Stretch'. This is the getter.

_const_cast

Signature: [const] QHeaderView ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QHeaderView::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

activated

Signature: [signal] void activated (const QModelIndex index)

Description: Signal declaration for QHeaderView::activated(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'activated'. This is the getter.
The object exposes a writable attribute 'activated'. This is the setter.

cascadingSectionResizes

Signature: [const] bool cascadingSectionResizes

Description: Method bool QHeaderView::cascadingSectionResizes()

Python specific notes:
The object exposes a readable attribute 'cascadingSectionResizes'. This is the getter.

cascadingSectionResizes=

Signature: void cascadingSectionResizes= (bool enable)

Description: Method void QHeaderView::setCascadingSectionResizes(bool enable)

Python specific notes:
The object exposes a writable attribute 'cascadingSectionResizes'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QHeaderView::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QHeaderView::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clicked

Signature: [signal] void clicked (const QModelIndex index)

Description: Signal declaration for QHeaderView::clicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'clicked'. This is the getter.
The object exposes a writable attribute 'clicked'. This is the setter.

closeEditor

Signature: void closeEditor (QWidget ptr editor, const QAbstractItemDelegate_EndEditHint hint)

Description: Virtual method void QHeaderView::closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint)

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QHeaderView::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

commitData

Signature: void commitData (QWidget ptr editor)

Description: Virtual method void QHeaderView::commitData(QWidget *editor)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QHeaderView::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

count

Signature: [const] int count

Description: Method int QHeaderView::count()

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QHeaderView::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

currentChanged

Signature: void currentChanged (const QModelIndex current, const QModelIndex old)

Description: Virtual method void QHeaderView::currentChanged(const QModelIndex &current, const QModelIndex &old)

This method can be reimplemented in a derived class.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QHeaderView::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QHeaderView::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

dataChanged

Signature: void dataChanged (const QModelIndex topLeft, const QModelIndex bottomRight, int[] roles)

Description: Virtual method void QHeaderView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)

This method can be reimplemented in a derived class.

defaultAlignment

Signature: [const] Qt_QFlags_AlignmentFlag defaultAlignment

Description: Method QFlags<Qt::AlignmentFlag> QHeaderView::defaultAlignment()

Python specific notes:
The object exposes a readable attribute 'defaultAlignment'. This is the getter.

defaultAlignment=

Signature: void defaultAlignment= (Qt_QFlags_AlignmentFlag alignment)

Description: Method void QHeaderView::setDefaultAlignment(QFlags<Qt::AlignmentFlag> alignment)

Python specific notes:
The object exposes a writable attribute 'defaultAlignment'. This is the setter.

defaultSectionSize

Signature: [const] int defaultSectionSize

Description: Method int QHeaderView::defaultSectionSize()

Python specific notes:
The object exposes a readable attribute 'defaultSectionSize'. This is the getter.

defaultSectionSize=

Signature: void defaultSectionSize= (int size)

Description: Method void QHeaderView::setDefaultSectionSize(int size)

Python specific notes:
The object exposes a writable attribute 'defaultSectionSize'. This is the setter.

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QHeaderView::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QHeaderView::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

dirtyRegionOffset

Signature: [const] QPoint dirtyRegionOffset

Description: Method QPoint QHeaderView::dirtyRegionOffset()

This method is protected and can only be called from inside a derived class.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QHeaderView::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doAutoScroll

Signature: void doAutoScroll

Description: Method void QHeaderView::doAutoScroll()

This method is protected and can only be called from inside a derived class.

doItemsLayout

Signature: void doItemsLayout

Description: Virtual method void QHeaderView::doItemsLayout()

This method can be reimplemented in a derived class.

doubleClicked

Signature: [signal] void doubleClicked (const QModelIndex index)

Description: Signal declaration for QHeaderView::doubleClicked(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'doubleClicked'. This is the getter.
The object exposes a writable attribute 'doubleClicked'. This is the setter.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr event)

Description: Virtual method void QHeaderView::dragEnterEvent(QDragEnterEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr event)

Description: Virtual method void QHeaderView::dragLeaveEvent(QDragLeaveEvent *event)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr event)

Description: Virtual method void QHeaderView::dragMoveEvent(QDragMoveEvent *event)

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

Description: Method void QHeaderView::drawFrame(QPainter *)

This method is protected and can only be called from inside a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr event)

Description: Virtual method void QHeaderView::dropEvent(QDropEvent *event)

This method can be reimplemented in a derived class.

dropIndicatorPosition

Signature: [const] unsigned int dropIndicatorPosition

Description: Method QAbstractItemView::DropIndicatorPosition QHeaderView::dropIndicatorPosition()

This method is protected and can only be called from inside a derived class.

edit

Signature: bool edit (const QModelIndex index, const QAbstractItemView_EditTrigger trigger, QEvent ptr event)

Description: Virtual method bool QHeaderView::edit(const QModelIndex &index, QAbstractItemView::EditTrigger trigger, QEvent *event)

This method can be reimplemented in a derived class.

editorDestroyed

Signature: void editorDestroyed (QObject ptr editor)

Description: Virtual method void QHeaderView::editorDestroyed(QObject *editor)

This method can be reimplemented in a derived class.

emit_activated

Signature: void emit_activated (const QModelIndex index)

Description: Emitter for signal void QHeaderView::activated(const QModelIndex &index)

Call this method to emit this signal.

emit_clicked

Signature: void emit_clicked (const QModelIndex index)

Description: Emitter for signal void QHeaderView::clicked(const QModelIndex &index)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QHeaderView::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QHeaderView::destroyed(QObject *)

Call this method to emit this signal.

emit_doubleClicked

Signature: void emit_doubleClicked (const QModelIndex index)

Description: Emitter for signal void QHeaderView::doubleClicked(const QModelIndex &index)

Call this method to emit this signal.

emit_entered

Signature: void emit_entered (const QModelIndex index)

Description: Emitter for signal void QHeaderView::entered(const QModelIndex &index)

Call this method to emit this signal.

emit_geometriesChanged

Signature: void emit_geometriesChanged

Description: Emitter for signal void QHeaderView::geometriesChanged()

Call this method to emit this signal.

emit_iconSizeChanged

Signature: void emit_iconSizeChanged (const QSize size)

Description: Emitter for signal void QHeaderView::iconSizeChanged(const QSize &size)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QHeaderView::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_pressed

Signature: void emit_pressed (const QModelIndex index)

Description: Emitter for signal void QHeaderView::pressed(const QModelIndex &index)

Call this method to emit this signal.

emit_sectionClicked

Signature: void emit_sectionClicked (int logicalIndex)

Description: Emitter for signal void QHeaderView::sectionClicked(int logicalIndex)

Call this method to emit this signal.

emit_sectionCountChanged

Signature: void emit_sectionCountChanged (int oldCount, int newCount)

Description: Emitter for signal void QHeaderView::sectionCountChanged(int oldCount, int newCount)

Call this method to emit this signal.

emit_sectionDoubleClicked

Signature: void emit_sectionDoubleClicked (int logicalIndex)

Description: Emitter for signal void QHeaderView::sectionDoubleClicked(int logicalIndex)

Call this method to emit this signal.

emit_sectionEntered

Signature: void emit_sectionEntered (int logicalIndex)

Description: Emitter for signal void QHeaderView::sectionEntered(int logicalIndex)

Call this method to emit this signal.

emit_sectionHandleDoubleClicked

Signature: void emit_sectionHandleDoubleClicked (int logicalIndex)

Description: Emitter for signal void QHeaderView::sectionHandleDoubleClicked(int logicalIndex)

Call this method to emit this signal.

emit_sectionMoved

Signature: void emit_sectionMoved (int logicalIndex, int oldVisualIndex, int newVisualIndex)

Description: Emitter for signal void QHeaderView::sectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)

Call this method to emit this signal.

emit_sectionPressed

Signature: void emit_sectionPressed (int logicalIndex)

Description: Emitter for signal void QHeaderView::sectionPressed(int logicalIndex)

Call this method to emit this signal.

emit_sectionResized

Signature: void emit_sectionResized (int logicalIndex, int oldSize, int newSize)

Description: Emitter for signal void QHeaderView::sectionResized(int logicalIndex, int oldSize, int newSize)

Call this method to emit this signal.

emit_sortIndicatorChanged

Signature: void emit_sortIndicatorChanged (int logicalIndex, const Qt_SortOrder order)

Description: Emitter for signal void QHeaderView::sortIndicatorChanged(int logicalIndex, Qt::SortOrder order)

Call this method to emit this signal.

emit_viewportEntered

Signature: void emit_viewportEntered

Description: Emitter for signal void QHeaderView::viewportEntered()

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QHeaderView::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QHeaderView::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QHeaderView::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QHeaderView::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

entered

Signature: [signal] void entered (const QModelIndex index)

Description: Signal declaration for QHeaderView::entered(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'entered'. This is the getter.
The object exposes a writable attribute 'entered'. This is the setter.

event

Signature: bool event (QEvent ptr e)

Description: Virtual method bool QHeaderView::event(QEvent *e)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr object, QEvent ptr event)

Description: Virtual method bool QHeaderView::eventFilter(QObject *object, QEvent *event)

This method can be reimplemented in a derived class.

executeDelayedItemsLayout

Signature: void executeDelayedItemsLayout

Description: Method void QHeaderView::executeDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

firstSectionMovable

Signature: [const] bool firstSectionMovable

Description: Method bool QHeaderView::isFirstSectionMovable()

Python specific notes:
The object exposes a readable attribute 'firstSectionMovable'. This is the getter.

firstSectionMovable=

Signature: void firstSectionMovable= (bool movable)

Description: Method void QHeaderView::setFirstSectionMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'firstSectionMovable'. This is the setter.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QHeaderView::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QHeaderView::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QHeaderView::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QHeaderView::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QHeaderView::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

geometriesChanged

Signature: [signal] void geometriesChanged

Description: Signal declaration for QHeaderView::geometriesChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'geometriesChanged'. This is the getter.
The object exposes a writable attribute 'geometriesChanged'. This is the setter.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QHeaderView::hasHeightForWidth()

This method can be reimplemented in a derived class.

headerDataChanged

Signature: void headerDataChanged (const Qt_Orientation orientation, int logicalFirst, int logicalLast)

Description: Method void QHeaderView::headerDataChanged(Qt::Orientation orientation, int logicalFirst, int logicalLast)

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QHeaderView::heightForWidth(int)

This method can be reimplemented in a derived class.

hiddenSectionCount

Signature: [const] int hiddenSectionCount

Description: Method int QHeaderView::hiddenSectionCount()

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QHeaderView::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

hideSection

Signature: void hideSection (int logicalIndex)

Description: Method void QHeaderView::hideSection(int logicalIndex)

highlightSections

Signature: [const] bool highlightSections

Description: Method bool QHeaderView::highlightSections()

Python specific notes:
The object exposes a readable attribute 'highlightSections'. This is the getter.

highlightSections=

Signature: void highlightSections= (bool highlight)

Description: Method void QHeaderView::setHighlightSections(bool highlight)

Python specific notes:
The object exposes a writable attribute 'highlightSections'. This is the setter.

horizontalOffset

Signature: [const] int horizontalOffset

Description: Virtual method int QHeaderView::horizontalOffset()

This method can be reimplemented in a derived class.

horizontalScrollbarAction

Signature: void horizontalScrollbarAction (int action)

Description: Virtual method void QHeaderView::horizontalScrollbarAction(int action)

This method can be reimplemented in a derived class.

horizontalScrollbarValueChanged

Signature: void horizontalScrollbarValueChanged (int value)

Description: Virtual method void QHeaderView::horizontalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

horizontalStepsPerItem

Signature: [const] int horizontalStepsPerItem

Description: Method int QHeaderView::horizontalStepsPerItem()

This method is protected and can only be called from inside a derived class.

iconSizeChanged

Signature: [signal] void iconSizeChanged (const QSize size)

Description: Signal declaration for QHeaderView::iconSizeChanged(const QSize &size)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'iconSizeChanged'. This is the getter.
The object exposes a writable attribute 'iconSizeChanged'. This is the setter.

indexAt

Signature: [const] QModelIndex indexAt (const QPoint p)

Description: Virtual method QModelIndex QHeaderView::indexAt(const QPoint &p)

This method can be reimplemented in a derived class.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QHeaderView::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionHeader ptr option)

Description: Method void QHeaderView::initStyleOption(QStyleOptionHeader *option)

This method is protected and can only be called from inside a derived class.

initialize

Signature: void initialize

Description: Method void QHeaderView::initialize()

This method is protected and can only be called from inside a derived class.

initializeSections

(1) Signature: void initializeSections

Description: Method void QHeaderView::initializeSections()

This method is protected and can only be called from inside a derived class.

(2) Signature: void initializeSections (int start, int end)

Description: Method void QHeaderView::initializeSections(int start, int end)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QHeaderView::inputMethodEvent(QInputMethodEvent *event)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery query)

Description: Virtual method QVariant QHeaderView::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

isFirstSectionMovable?

Signature: [const] bool isFirstSectionMovable?

Description: Method bool QHeaderView::isFirstSectionMovable()

Python specific notes:
The object exposes a readable attribute 'firstSectionMovable'. This is the getter.

isIndexHidden

Signature: [const] bool isIndexHidden (const QModelIndex index)

Description: Virtual method bool QHeaderView::isIndexHidden(const QModelIndex &index)

This method can be reimplemented in a derived class.

isSectionHidden?

Signature: [const] bool isSectionHidden? (int logicalIndex)

Description: Method bool QHeaderView::isSectionHidden(int logicalIndex)

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QHeaderView::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

isSortIndicatorShown?

Signature: [const] bool isSortIndicatorShown?

Description: Method bool QHeaderView::isSortIndicatorShown()

Python specific notes:
The object exposes a readable attribute 'sortIndicatorShown'. This is the getter.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

Description: Virtual method void QHeaderView::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QHeaderView::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyboardSearch

Signature: void keyboardSearch (string search)

Description: Virtual method void QHeaderView::keyboardSearch(const QString &search)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QHeaderView::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

length

Signature: [const] int length

Description: Method int QHeaderView::length()

logicalIndex

Signature: [const] int logicalIndex (int visualIndex)

Description: Method int QHeaderView::logicalIndex(int visualIndex)

logicalIndexAt

(1) Signature: [const] int logicalIndexAt (int position)

Description: Method int QHeaderView::logicalIndexAt(int position)

(2) Signature: [const] int logicalIndexAt (int x, int y)

Description: Method int QHeaderView::logicalIndexAt(int x, int y)

(3) Signature: [const] int logicalIndexAt (const QPoint pos)

Description: Method int QHeaderView::logicalIndexAt(const QPoint &pos)

maximumSectionSize

Signature: [const] int maximumSectionSize

Description: Method int QHeaderView::maximumSectionSize()

Python specific notes:
The object exposes a readable attribute 'maximumSectionSize'. This is the getter.

maximumSectionSize=

Signature: void maximumSectionSize= (int size)

Description: Method void QHeaderView::setMaximumSectionSize(int size)

Python specific notes:
The object exposes a writable attribute 'maximumSectionSize'. This is the setter.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QHeaderView::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSectionSize

Signature: [const] int minimumSectionSize

Description: Method int QHeaderView::minimumSectionSize()

Python specific notes:
The object exposes a readable attribute 'minimumSectionSize'. This is the getter.

minimumSectionSize=

Signature: void minimumSectionSize= (int size)

Description: Method void QHeaderView::setMinimumSectionSize(int size)

Python specific notes:
The object exposes a writable attribute 'minimumSectionSize'. This is the setter.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QHeaderView::minimumSizeHint()

This method can be reimplemented in a derived class.

model=

Signature: void model= (QAbstractItemModel ptr model)

Description: Method void QHeaderView::setModel(QAbstractItemModel *model)

This is a reimplementation of QAbstractItemView::setModel

Python specific notes:
The object exposes a writable attribute 'model'. This is the setter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr e)

Description: Virtual method void QHeaderView::mouseDoubleClickEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr e)

Description: Virtual method void QHeaderView::mouseMoveEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr e)

Description: Virtual method void QHeaderView::mousePressEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr e)

Description: Virtual method void QHeaderView::mouseReleaseEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

moveCursor

Signature: QModelIndex moveCursor (unsigned int arg1, Qt_QFlags_KeyboardModifier arg2)

Description: Virtual method QModelIndex QHeaderView::moveCursor(QAbstractItemView::CursorAction, QFlags<Qt::KeyboardModifier>)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QHeaderView::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

moveSection

Signature: void moveSection (int from, int to)

Description: Method void QHeaderView::moveSection(int from, int to)

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QHeaderView::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QHeaderView new (const Qt_Orientation orientation, QWidget ptr parent = nullptr)

Description: Constructor QHeaderView::QHeaderView(Qt::Orientation orientation, QWidget *parent)

This method creates an object of class QHeaderView.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QHeaderView::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

offset

Signature: [const] int offset

Description: Method int QHeaderView::offset()

Python specific notes:
The object exposes a readable attribute 'offset'. This is the getter.

offset=

Signature: void offset= (int offset)

Description: Method void QHeaderView::setOffset(int offset)

Python specific notes:
The object exposes a writable attribute 'offset'. This is the setter.

orientation

Signature: [const] Qt_Orientation orientation

Description: Method Qt::Orientation QHeaderView::orientation()

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QHeaderView::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

Description: Virtual method void QHeaderView::paintEvent(QPaintEvent *e)

This method can be reimplemented in a derived class.

paintSection

Signature: [const] void paintSection (QPainter ptr painter, const QRect rect, int logicalIndex)

Description: Virtual method void QHeaderView::paintSection(QPainter *painter, const QRect &rect, int logicalIndex)

This method can be reimplemented in a derived class.

pressed

Signature: [signal] void pressed (const QModelIndex index)

Description: Signal declaration for QHeaderView::pressed(const QModelIndex &index)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'pressed'. This is the getter.
The object exposes a writable attribute 'pressed'. This is the setter.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QHeaderView::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QHeaderView::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QHeaderView::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QHeaderView::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

reset

Signature: void reset

Description: Virtual method void QHeaderView::reset()

This method can be reimplemented in a derived class.

resetDefaultSectionSize

Signature: void resetDefaultSectionSize

Description: Method void QHeaderView::resetDefaultSectionSize()

resizeContentsPrecision

Signature: [const] int resizeContentsPrecision

Description: Method int QHeaderView::resizeContentsPrecision()

Python specific notes:
The object exposes a readable attribute 'resizeContentsPrecision'. This is the getter.

resizeContentsPrecision=

Signature: void resizeContentsPrecision= (int precision)

Description: Method void QHeaderView::setResizeContentsPrecision(int precision)

Python specific notes:
The object exposes a writable attribute 'resizeContentsPrecision'. This is the setter.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr event)

Description: Virtual method void QHeaderView::resizeEvent(QResizeEvent *event)

This method can be reimplemented in a derived class.

resizeSection

Signature: void resizeSection (int logicalIndex, int size)

Description: Method void QHeaderView::resizeSection(int logicalIndex, int size)

resizeSections

Signature: void resizeSections

Description: Method void QHeaderView::resizeSections()

This method is protected and can only be called from inside a derived class.

restoreState

Signature: bool restoreState (bytes state)

Description: Method bool QHeaderView::restoreState(const QByteArray &state)

rowsAboutToBeRemoved

Signature: void rowsAboutToBeRemoved (const QModelIndex parent, int start, int end)

Description: Virtual method void QHeaderView::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

rowsInserted

Signature: void rowsInserted (const QModelIndex parent, int start, int end)

Description: Virtual method void QHeaderView::rowsInserted(const QModelIndex &parent, int start, int end)

This method can be reimplemented in a derived class.

saveState

Signature: [const] bytes saveState

Description: Method QByteArray QHeaderView::saveState()

scheduleDelayedItemsLayout

Signature: void scheduleDelayedItemsLayout

Description: Method void QHeaderView::scheduleDelayedItemsLayout()

This method is protected and can only be called from inside a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

Description: Virtual method void QHeaderView::scrollContentsBy(int dx, int dy)

This method can be reimplemented in a derived class.

scrollDirtyRegion

Signature: void scrollDirtyRegion (int dx, int dy)

Description: Method void QHeaderView::scrollDirtyRegion(int dx, int dy)

This method is protected and can only be called from inside a derived class.

scrollTo

Signature: void scrollTo (const QModelIndex index, const QAbstractItemView_ScrollHint hint)

Description: Virtual method void QHeaderView::scrollTo(const QModelIndex &index, QAbstractItemView::ScrollHint hint)

This method can be reimplemented in a derived class.

sectionClicked

Signature: [signal] void sectionClicked (int logicalIndex)

Description: Signal declaration for QHeaderView::sectionClicked(int logicalIndex)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionClicked'. This is the getter.
The object exposes a writable attribute 'sectionClicked'. This is the setter.

sectionCountChanged

Signature: [signal] void sectionCountChanged (int oldCount, int newCount)

Description: Signal declaration for QHeaderView::sectionCountChanged(int oldCount, int newCount)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionCountChanged'. This is the getter.
The object exposes a writable attribute 'sectionCountChanged'. This is the setter.

sectionDoubleClicked

Signature: [signal] void sectionDoubleClicked (int logicalIndex)

Description: Signal declaration for QHeaderView::sectionDoubleClicked(int logicalIndex)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionDoubleClicked'. This is the getter.
The object exposes a writable attribute 'sectionDoubleClicked'. This is the setter.

sectionEntered

Signature: [signal] void sectionEntered (int logicalIndex)

Description: Signal declaration for QHeaderView::sectionEntered(int logicalIndex)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionEntered'. This is the getter.
The object exposes a writable attribute 'sectionEntered'. This is the setter.

sectionHandleDoubleClicked

Signature: [signal] void sectionHandleDoubleClicked (int logicalIndex)

Description: Signal declaration for QHeaderView::sectionHandleDoubleClicked(int logicalIndex)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionHandleDoubleClicked'. This is the getter.
The object exposes a writable attribute 'sectionHandleDoubleClicked'. This is the setter.

sectionMoved

Signature: [signal] void sectionMoved (int logicalIndex, int oldVisualIndex, int newVisualIndex)

Description: Signal declaration for QHeaderView::sectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionMoved'. This is the getter.
The object exposes a writable attribute 'sectionMoved'. This is the setter.

sectionPosition

Signature: [const] int sectionPosition (int logicalIndex)

Description: Method int QHeaderView::sectionPosition(int logicalIndex)

sectionPressed

Signature: [signal] void sectionPressed (int logicalIndex)

Description: Signal declaration for QHeaderView::sectionPressed(int logicalIndex)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionPressed'. This is the getter.
The object exposes a writable attribute 'sectionPressed'. This is the setter.

sectionResizeMode

Signature: [const] QHeaderView_ResizeMode sectionResizeMode (int logicalIndex)

Description: Method QHeaderView::ResizeMode QHeaderView::sectionResizeMode(int logicalIndex)

sectionResized

Signature: [signal] void sectionResized (int logicalIndex, int oldSize, int newSize)

Description: Signal declaration for QHeaderView::sectionResized(int logicalIndex, int oldSize, int newSize)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sectionResized'. This is the getter.
The object exposes a writable attribute 'sectionResized'. This is the setter.

sectionSize

Signature: [const] int sectionSize (int logicalIndex)

Description: Method int QHeaderView::sectionSize(int logicalIndex)

sectionSizeFromContents

Signature: [const] QSize sectionSizeFromContents (int logicalIndex)

Description: Virtual method QSize QHeaderView::sectionSizeFromContents(int logicalIndex)

This method can be reimplemented in a derived class.

sectionSizeHint

Signature: [const] int sectionSizeHint (int logicalIndex)

Description: Method int QHeaderView::sectionSizeHint(int logicalIndex)

sectionViewportPosition

Signature: [const] int sectionViewportPosition (int logicalIndex)

Description: Method int QHeaderView::sectionViewportPosition(int logicalIndex)

sectionsAboutToBeRemoved

Signature: void sectionsAboutToBeRemoved (const QModelIndex parent, int logicalFirst, int logicalLast)

Description: Method void QHeaderView::sectionsAboutToBeRemoved(const QModelIndex &parent, int logicalFirst, int logicalLast)

This method is protected and can only be called from inside a derived class.

sectionsClickable

Signature: [const] bool sectionsClickable

Description: Method bool QHeaderView::sectionsClickable()

Python specific notes:
The object exposes a readable attribute 'sectionsClickable'. This is the getter.

sectionsClickable=

Signature: void sectionsClickable= (bool clickable)

Description: Method void QHeaderView::setSectionsClickable(bool clickable)

Python specific notes:
The object exposes a writable attribute 'sectionsClickable'. This is the setter.

sectionsHidden

Signature: [const] bool sectionsHidden

Description: Method bool QHeaderView::sectionsHidden()

sectionsInserted

Signature: void sectionsInserted (const QModelIndex parent, int logicalFirst, int logicalLast)

Description: Method void QHeaderView::sectionsInserted(const QModelIndex &parent, int logicalFirst, int logicalLast)

This method is protected and can only be called from inside a derived class.

sectionsMovable

Signature: [const] bool sectionsMovable

Description: Method bool QHeaderView::sectionsMovable()

Python specific notes:
The object exposes a readable attribute 'sectionsMovable'. This is the getter.

sectionsMovable=

Signature: void sectionsMovable= (bool movable)

Description: Method void QHeaderView::setSectionsMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'sectionsMovable'. This is the setter.

sectionsMoved

Signature: [const] bool sectionsMoved

Description: Method bool QHeaderView::sectionsMoved()

selectAll

Signature: void selectAll

Description: Virtual method void QHeaderView::selectAll()

This method can be reimplemented in a derived class.

selectedIndexes

Signature: [const] QModelIndex[] selectedIndexes

Description: Virtual method QList<QModelIndex> QHeaderView::selectedIndexes()

This method can be reimplemented in a derived class.

selectionChanged

Signature: void selectionChanged (const QItemSelection selected, const QItemSelection deselected)

Description: Virtual method void QHeaderView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)

This method can be reimplemented in a derived class.

selectionCommand

Signature: [const] QItemSelectionModel_QFlags_SelectionFlag selectionCommand (const QModelIndex index, const QEvent ptr event)

Description: Virtual method QFlags<QItemSelectionModel::SelectionFlag> QHeaderView::selectionCommand(const QModelIndex &index, const QEvent *event)

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QHeaderView::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QHeaderView::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setCascadingSectionResizes

Signature: void setCascadingSectionResizes (bool enable)

Description: Method void QHeaderView::setCascadingSectionResizes(bool enable)

Python specific notes:
The object exposes a writable attribute 'cascadingSectionResizes'. This is the setter.

setDefaultAlignment

Signature: void setDefaultAlignment (Qt_QFlags_AlignmentFlag alignment)

Description: Method void QHeaderView::setDefaultAlignment(QFlags<Qt::AlignmentFlag> alignment)

Python specific notes:
The object exposes a writable attribute 'defaultAlignment'. This is the setter.

setDefaultSectionSize

Signature: void setDefaultSectionSize (int size)

Description: Method void QHeaderView::setDefaultSectionSize(int size)

Python specific notes:
The object exposes a writable attribute 'defaultSectionSize'. This is the setter.

setDirtyRegion

Signature: void setDirtyRegion (const QRegion region)

Description: Method void QHeaderView::setDirtyRegion(const QRegion &region)

This method is protected and can only be called from inside a derived class.

setFirstSectionMovable

Signature: void setFirstSectionMovable (bool movable)

Description: Method void QHeaderView::setFirstSectionMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'firstSectionMovable'. This is the setter.

setHighlightSections

Signature: void setHighlightSections (bool highlight)

Description: Method void QHeaderView::setHighlightSections(bool highlight)

Python specific notes:
The object exposes a writable attribute 'highlightSections'. This is the setter.

setHorizontalStepsPerItem

Signature: void setHorizontalStepsPerItem (int steps)

Description: Method void QHeaderView::setHorizontalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setMaximumSectionSize

Signature: void setMaximumSectionSize (int size)

Description: Method void QHeaderView::setMaximumSectionSize(int size)

Python specific notes:
The object exposes a writable attribute 'maximumSectionSize'. This is the setter.

setMinimumSectionSize

Signature: void setMinimumSectionSize (int size)

Description: Method void QHeaderView::setMinimumSectionSize(int size)

Python specific notes:
The object exposes a writable attribute 'minimumSectionSize'. This is the setter.

setModel

Signature: void setModel (QAbstractItemModel ptr model)

Description: Virtual method void QHeaderView::setModel(QAbstractItemModel *model)

This method can be reimplemented in a derived class.

setOffset

Signature: void setOffset (int offset)

Description: Method void QHeaderView::setOffset(int offset)

Python specific notes:
The object exposes a writable attribute 'offset'. This is the setter.

setOffsetToLastSection

Signature: void setOffsetToLastSection

Description: Method void QHeaderView::setOffsetToLastSection()

setOffsetToSectionPosition

Signature: void setOffsetToSectionPosition (int visualIndex)

Description: Method void QHeaderView::setOffsetToSectionPosition(int visualIndex)

setResizeContentsPrecision

Signature: void setResizeContentsPrecision (int precision)

Description: Method void QHeaderView::setResizeContentsPrecision(int precision)

Python specific notes:
The object exposes a writable attribute 'resizeContentsPrecision'. This is the setter.

setRootIndex

Signature: void setRootIndex (const QModelIndex index)

Description: Virtual method void QHeaderView::setRootIndex(const QModelIndex &index)

This method can be reimplemented in a derived class.

setSectionHidden

Signature: void setSectionHidden (int logicalIndex, bool hide)

Description: Method void QHeaderView::setSectionHidden(int logicalIndex, bool hide)

setSectionResizeMode

(1) Signature: void setSectionResizeMode (const QHeaderView_ResizeMode mode)

Description: Method void QHeaderView::setSectionResizeMode(QHeaderView::ResizeMode mode)

(2) Signature: void setSectionResizeMode (int logicalIndex, const QHeaderView_ResizeMode mode)

Description: Method void QHeaderView::setSectionResizeMode(int logicalIndex, QHeaderView::ResizeMode mode)

setSectionsClickable

Signature: void setSectionsClickable (bool clickable)

Description: Method void QHeaderView::setSectionsClickable(bool clickable)

Python specific notes:
The object exposes a writable attribute 'sectionsClickable'. This is the setter.

setSectionsMovable

Signature: void setSectionsMovable (bool movable)

Description: Method void QHeaderView::setSectionsMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'sectionsMovable'. This is the setter.

setSelection

Signature: void setSelection (const QRect rect, QItemSelectionModel_QFlags_SelectionFlag flags)

Description: Virtual method void QHeaderView::setSelection(const QRect &rect, QFlags<QItemSelectionModel::SelectionFlag> flags)

This method can be reimplemented in a derived class.

setSelectionModel

Signature: void setSelectionModel (QItemSelectionModel ptr selectionModel)

Description: Virtual method void QHeaderView::setSelectionModel(QItemSelectionModel *selectionModel)

This method can be reimplemented in a derived class.

setSortIndicator

Signature: void setSortIndicator (int logicalIndex, const Qt_SortOrder order)

Description: Method void QHeaderView::setSortIndicator(int logicalIndex, Qt::SortOrder order)

setSortIndicatorShown

Signature: void setSortIndicatorShown (bool show)

Description: Method void QHeaderView::setSortIndicatorShown(bool show)

Python specific notes:
The object exposes a writable attribute 'sortIndicatorShown'. This is the setter.

setState

Signature: void setState (unsigned int state)

Description: Method void QHeaderView::setState(QAbstractItemView::State state)

This method is protected and can only be called from inside a derived class.

setStretchLastSection

Signature: void setStretchLastSection (bool stretch)

Description: Method void QHeaderView::setStretchLastSection(bool stretch)

Python specific notes:
The object exposes a writable attribute 'stretchLastSection'. This is the setter.

setVerticalStepsPerItem

Signature: void setVerticalStepsPerItem (int steps)

Description: Method void QHeaderView::setVerticalStepsPerItem(int steps)

This method is protected and can only be called from inside a derived class.

setViewportMargins

(1) Signature: void setViewportMargins (int left, int top, int right, int bottom)

Description: Method void QHeaderView::setViewportMargins(int left, int top, int right, int bottom)

This method is protected and can only be called from inside a derived class.

(2) Signature: void setViewportMargins (const QMargins margins)

Description: Method void QHeaderView::setViewportMargins(const QMargins &margins)

This method is protected and can only be called from inside a derived class.

setVisible

Signature: void setVisible (bool v)

Description: Virtual method void QHeaderView::setVisible(bool v)

This method can be reimplemented in a derived class.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

Description: Virtual method void QHeaderView::setupViewport(QWidget *viewport)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QHeaderView::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr event)

Description: Virtual method void QHeaderView::showEvent(QShowEvent *event)

This method can be reimplemented in a derived class.

showSection

Signature: void showSection (int logicalIndex)

Description: Method void QHeaderView::showSection(int logicalIndex)

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QHeaderView::sizeHint()

This method can be reimplemented in a derived class.

sizeHintForColumn

Signature: [const] int sizeHintForColumn (int column)

Description: Virtual method int QHeaderView::sizeHintForColumn(int column)

This method can be reimplemented in a derived class.

sizeHintForRow

Signature: [const] int sizeHintForRow (int row)

Description: Virtual method int QHeaderView::sizeHintForRow(int row)

This method can be reimplemented in a derived class.

sortIndicatorChanged

Signature: [signal] void sortIndicatorChanged (int logicalIndex, const Qt_SortOrder order)

Description: Signal declaration for QHeaderView::sortIndicatorChanged(int logicalIndex, Qt::SortOrder order)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sortIndicatorChanged'. This is the getter.
The object exposes a writable attribute 'sortIndicatorChanged'. This is the setter.

sortIndicatorOrder

Signature: [const] Qt_SortOrder sortIndicatorOrder

Description: Method Qt::SortOrder QHeaderView::sortIndicatorOrder()

sortIndicatorSection

Signature: [const] int sortIndicatorSection

Description: Method int QHeaderView::sortIndicatorSection()

sortIndicatorShown

Signature: [const] bool sortIndicatorShown

Description: Method bool QHeaderView::isSortIndicatorShown()

Python specific notes:
The object exposes a readable attribute 'sortIndicatorShown'. This is the getter.

sortIndicatorShown=

Signature: void sortIndicatorShown= (bool show)

Description: Method void QHeaderView::setSortIndicatorShown(bool show)

Python specific notes:
The object exposes a writable attribute 'sortIndicatorShown'. This is the setter.

startAutoScroll

Signature: void startAutoScroll

Description: Method void QHeaderView::startAutoScroll()

This method is protected and can only be called from inside a derived class.

startDrag

Signature: void startDrag (Qt_QFlags_DropAction supportedActions)

Description: Virtual method void QHeaderView::startDrag(QFlags<Qt::DropAction> supportedActions)

This method can be reimplemented in a derived class.

state

Signature: [const] unsigned int state

Description: Method QAbstractItemView::State QHeaderView::state()

This method is protected and can only be called from inside a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

stopAutoScroll

Signature: void stopAutoScroll

Description: Method void QHeaderView::stopAutoScroll()

This method is protected and can only be called from inside a derived class.

stretchLastSection

Signature: [const] bool stretchLastSection

Description: Method bool QHeaderView::stretchLastSection()

Python specific notes:
The object exposes a readable attribute 'stretchLastSection'. This is the getter.

stretchLastSection=

Signature: void stretchLastSection= (bool stretch)

Description: Method void QHeaderView::setStretchLastSection(bool stretch)

Python specific notes:
The object exposes a writable attribute 'stretchLastSection'. This is the setter.

stretchSectionCount

Signature: [const] int stretchSectionCount

Description: Method int QHeaderView::stretchSectionCount()

swapSections

Signature: void swapSections (int first, int second)

Description: Method void QHeaderView::swapSections(int first, int second)

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QHeaderView::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QHeaderView::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QHeaderView::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QHeaderView::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateEditorData

Signature: void updateEditorData

Description: Virtual method void QHeaderView::updateEditorData()

This method can be reimplemented in a derived class.

updateEditorGeometries

Signature: void updateEditorGeometries

Description: Virtual method void QHeaderView::updateEditorGeometries()

This method can be reimplemented in a derived class.

updateGeometries

Signature: void updateGeometries

Description: Virtual method void QHeaderView::updateGeometries()

This method can be reimplemented in a derived class.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QHeaderView::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

updateSection

Signature: void updateSection (int logicalIndex)

Description: Method void QHeaderView::updateSection(int logicalIndex)

This method is protected and can only be called from inside a derived class.

verticalOffset

Signature: [const] int verticalOffset

Description: Virtual method int QHeaderView::verticalOffset()

This method can be reimplemented in a derived class.

verticalScrollbarAction

Signature: void verticalScrollbarAction (int action)

Description: Virtual method void QHeaderView::verticalScrollbarAction(int action)

This method can be reimplemented in a derived class.

verticalScrollbarValueChanged

Signature: void verticalScrollbarValueChanged (int value)

Description: Virtual method void QHeaderView::verticalScrollbarValueChanged(int value)

This method can be reimplemented in a derived class.

verticalStepsPerItem

Signature: [const] int verticalStepsPerItem

Description: Method int QHeaderView::verticalStepsPerItem()

This method is protected and can only be called from inside a derived class.

viewOptions

Signature: [const] QStyleOptionViewItem viewOptions

Description: Virtual method QStyleOptionViewItem QHeaderView::viewOptions()

This method can be reimplemented in a derived class.

viewportEntered

Signature: [signal] void viewportEntered

Description: Signal declaration for QHeaderView::viewportEntered()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'viewportEntered'. This is the getter.
The object exposes a writable attribute 'viewportEntered'. This is the setter.

viewportEvent

Signature: bool viewportEvent (QEvent ptr e)

Description: Virtual method bool QHeaderView::viewportEvent(QEvent *e)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QHeaderView::viewportMargins()

This method is protected and can only be called from inside a derived class.

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QHeaderView::viewportSizeHint()

This method can be reimplemented in a derived class.

visible=

Signature: void visible= (bool v)

Description: Method void QHeaderView::setVisible(bool v)

This is a reimplementation of QWidget::setVisible

Python specific notes:
The object exposes a writable attribute 'visible'. This is the setter.

visualIndex

Signature: [const] int visualIndex (int logicalIndex)

Description: Method int QHeaderView::visualIndex(int logicalIndex)

visualIndexAt

Signature: [const] int visualIndexAt (int position)

Description: Method int QHeaderView::visualIndexAt(int position)

visualRect

Signature: [const] QRect visualRect (const QModelIndex index)

Description: Virtual method QRect QHeaderView::visualRect(const QModelIndex &index)

This method can be reimplemented in a derived class.

visualRegionForSelection

Signature: [const] QRegion visualRegionForSelection (const QItemSelection selection)

Description: Virtual method QRegion QHeaderView::visualRegionForSelection(const QItemSelection &selection)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QHeaderView::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QHeaderView::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QHeaderView::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QHeaderView::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.