QHeaderView

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QHeaderView : QAbstractItemView {}

Constructors

this
this(qt.core.namespace.Orientation orientation, QWidget parent)
Undocumented in source.
this
this(QHeaderViewPrivate dd, qt.core.namespace.Orientation orientation, QWidget parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

ResizeMode
enum ResizeMode
Undocumented in source.

Functions

cascadingSectionResizes
bool cascadingSectionResizes()
Undocumented in source.
count
int count()
Undocumented in source.
currentChanged
void currentChanged(const(QModelIndex) current, const(QModelIndex) old)
Undocumented in source.
dataChanged
void dataChanged(const(QModelIndex) topLeft, const(QModelIndex) bottomRight, const(QVector!(int)) roles)
Undocumented in source.
defaultAlignment
qt.core.namespace.Alignment defaultAlignment()
Undocumented in source.
defaultSectionSize
int defaultSectionSize()
Undocumented in source.
doItemsLayout
void doItemsLayout()
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
geometriesChanged
void geometriesChanged()
Undocumented in source.
headerDataChanged
void headerDataChanged(qt.core.namespace.Orientation orientation, int logicalFirst, int logicalLast)
Undocumented in source.
hiddenSectionCount
int hiddenSectionCount()
Undocumented in source.
hideSection
void hideSection(int alogicalIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
highlightSections
bool highlightSections()
Undocumented in source.
horizontalOffset
int horizontalOffset()
Undocumented in source.
indexAt
QModelIndex indexAt(const(QPoint) p)
Undocumented in source.
initStyleOption
void initStyleOption(QStyleOptionHeader* option)
Undocumented in source.
initialize
void initialize()
Undocumented in source.
initializeSections
void initializeSections()
Undocumented in source.
initializeSections
void initializeSections(int start, int end)
Undocumented in source.
isFirstSectionMovable
bool isFirstSectionMovable()
Undocumented in source.
isIndexHidden
bool isIndexHidden(const(QModelIndex) index)
Undocumented in source.
isSectionHidden
bool isSectionHidden(int logicalIndex)
Undocumented in source.
isSortIndicatorShown
bool isSortIndicatorShown()
Undocumented in source.
length
int length()
Undocumented in source.
logicalIndex
int logicalIndex(int visualIndex)
Undocumented in source.
logicalIndexAt
int logicalIndexAt(int position)
Undocumented in source.
logicalIndexAt
int logicalIndexAt(int ax, int ay)
Undocumented in source. Be warned that the author may not have intended to support it.
logicalIndexAt
int logicalIndexAt(const(QPoint) apos)
Undocumented in source. Be warned that the author may not have intended to support it.
maximumSectionSize
int maximumSectionSize()
Undocumented in source.
minimumSectionSize
int minimumSectionSize()
Undocumented in source.
mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent e)
Undocumented in source.
mouseMoveEvent
void mouseMoveEvent(QMouseEvent e)
Undocumented in source.
mousePressEvent
void mousePressEvent(QMouseEvent e)
Undocumented in source.
mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent e)
Undocumented in source.
moveCursor
QModelIndex moveCursor(CursorAction , qt.core.namespace.KeyboardModifiers )
Undocumented in source.
moveSection
void moveSection(int from, int to)
Undocumented in source.
offset
int offset()
Undocumented in source.
orientation
qt.core.namespace.Orientation orientation()
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent e)
Undocumented in source.
paintSection
void paintSection(QPainter* painter, const(QRect) rect, int logicalIndex)
Undocumented in source.
reset
void reset()
Undocumented in source.
resetDefaultSectionSize
void resetDefaultSectionSize()
Undocumented in source.
resizeContentsPrecision
int resizeContentsPrecision()
Undocumented in source.
resizeSection
void resizeSection(int logicalIndex, int size)
Undocumented in source.
resizeSections
void resizeSections(QHeaderView.ResizeMode mode)
Undocumented in source.
resizeSections
void resizeSections()
Undocumented in source.
restoreState
bool restoreState(const(QByteArray) state)
Undocumented in source.
rowsInserted
void rowsInserted(const(QModelIndex) parent, int start, int end)
Undocumented in source.
saveState
QByteArray saveState()
Undocumented in source.
scrollContentsBy
void scrollContentsBy(int dx, int dy)
Undocumented in source.
scrollTo
void scrollTo(const(QModelIndex) index, ScrollHint hint)
Undocumented in source.
sectionClicked
void sectionClicked(int logicalIndex)
Undocumented in source.
sectionCountChanged
void sectionCountChanged(int oldCount, int newCount)
Undocumented in source.
sectionDoubleClicked
void sectionDoubleClicked(int logicalIndex)
Undocumented in source.
sectionEntered
void sectionEntered(int logicalIndex)
Undocumented in source.
sectionHandleDoubleClicked
void sectionHandleDoubleClicked(int logicalIndex)
Undocumented in source.
sectionMoved
void sectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)
Undocumented in source.
sectionPosition
int sectionPosition(int logicalIndex)
Undocumented in source.
sectionPressed
void sectionPressed(int logicalIndex)
Undocumented in source.
sectionResizeMode
ResizeMode sectionResizeMode(int logicalIndex)
Undocumented in source.
sectionResized
void sectionResized(int logicalIndex, int oldSize, int newSize)
Undocumented in source.
sectionSize
int sectionSize(int logicalIndex)
Undocumented in source.
sectionSizeFromContents
QSize sectionSizeFromContents(int logicalIndex)
Undocumented in source.
sectionSizeHint
int sectionSizeHint(int logicalIndex)
Undocumented in source.
sectionViewportPosition
int sectionViewportPosition(int logicalIndex)
Undocumented in source.
sectionsAboutToBeRemoved
void sectionsAboutToBeRemoved(const(QModelIndex) parent, int logicalFirst, int logicalLast)
Undocumented in source.
sectionsClickable
bool sectionsClickable()
Undocumented in source.
sectionsHidden
bool sectionsHidden()
Undocumented in source.
sectionsInserted
void sectionsInserted(const(QModelIndex) parent, int logicalFirst, int logicalLast)
Undocumented in source.
sectionsMovable
bool sectionsMovable()
Undocumented in source.
sectionsMoved
bool sectionsMoved()
Undocumented in source.
setCascadingSectionResizes
void setCascadingSectionResizes(bool enable)
Undocumented in source.
setDefaultAlignment
void setDefaultAlignment(qt.core.namespace.Alignment alignment)
Undocumented in source.
setDefaultSectionSize
void setDefaultSectionSize(int size)
Undocumented in source.
setFirstSectionMovable
void setFirstSectionMovable(bool movable)
Undocumented in source.
setHighlightSections
void setHighlightSections(bool highlight)
Undocumented in source.
setMaximumSectionSize
void setMaximumSectionSize(int size)
Undocumented in source.
setMinimumSectionSize
void setMinimumSectionSize(int size)
Undocumented in source.
setModel
void setModel(QAbstractItemModel model)
Undocumented in source.
setOffset
void setOffset(int offset)
Undocumented in source.
setOffsetToLastSection
void setOffsetToLastSection()
Undocumented in source.
setOffsetToSectionPosition
void setOffsetToSectionPosition(int visualIndex)
Undocumented in source.
setResizeContentsPrecision
void setResizeContentsPrecision(int precision)
Undocumented in source.
setSectionHidden
void setSectionHidden(int logicalIndex, bool hide)
Undocumented in source.
setSectionResizeMode
void setSectionResizeMode(ResizeMode mode)
Undocumented in source.
setSectionResizeMode
void setSectionResizeMode(int logicalIndex, ResizeMode mode)
Undocumented in source.
setSectionsClickable
void setSectionsClickable(bool clickable)
Undocumented in source.
setSectionsMovable
void setSectionsMovable(bool movable)
Undocumented in source.
setSelection
void setSelection(const(QRect) rect, QItemSelectionModel.SelectionFlags flags)
Undocumented in source.
setSortIndicator
void setSortIndicator(int logicalIndex, qt.core.namespace.SortOrder order)
Undocumented in source.
setSortIndicatorShown
void setSortIndicatorShown(bool show)
Undocumented in source.
setStretchLastSection
void setStretchLastSection(bool stretch)
Undocumented in source.
setVisible
void setVisible(bool v)
Undocumented in source.
showSection
void showSection(int alogicalIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
sizeHint
QSize sizeHint()
Undocumented in source.
sortIndicatorChanged
void sortIndicatorChanged(int logicalIndex, qt.core.namespace.SortOrder order)
Undocumented in source.
sortIndicatorOrder
qt.core.namespace.SortOrder sortIndicatorOrder()
Undocumented in source.
sortIndicatorSection
int sortIndicatorSection()
Undocumented in source.
stretchLastSection
bool stretchLastSection()
Undocumented in source.
stretchSectionCount
int stretchSectionCount()
Undocumented in source.
swapSections
void swapSections(int first, int second)
Undocumented in source.
updateGeometries
void updateGeometries()
Undocumented in source.
updateSection
void updateSection(int logicalIndex)
Undocumented in source.
verticalOffset
int verticalOffset()
Undocumented in source.
viewportEvent
bool viewportEvent(QEvent e)
Undocumented in source.
visualIndex
int visualIndex(int logicalIndex)
Undocumented in source.
visualIndexAt
int visualIndexAt(int position)
Undocumented in source.
visualRect
QRect visualRect(const(QModelIndex) index)
Undocumented in source.
visualRegionForSelection
QRegion visualRegionForSelection(const(QItemSelection) selection)
Undocumented in source.

Inherited Members

From QAbstractItemView

SelectionMode
enum SelectionMode
Undocumented in source.
SelectionBehavior
enum SelectionBehavior
Undocumented in source.
ScrollHint
enum ScrollHint
Undocumented in source.
EditTrigger
enum EditTrigger
Undocumented in source.
EditTriggers
alias EditTriggers = QFlags!(EditTrigger)
Undocumented in source.
ScrollMode
enum ScrollMode
Undocumented in source.
~this
~this()
Undocumented in source.
setModel
void setModel(QAbstractItemModel model)
Undocumented in source.
model
QAbstractItemModel model()
Undocumented in source.
setSelectionModel
void setSelectionModel(QItemSelectionModel selectionModel)
Undocumented in source.
selectionModel
QItemSelectionModel selectionModel()
Undocumented in source.
setItemDelegate
void setItemDelegate(QAbstractItemDelegate delegate_)
Undocumented in source.
itemDelegate
QAbstractItemDelegate itemDelegate()
Undocumented in source.
setSelectionMode
void setSelectionMode(QAbstractItemView.SelectionMode mode)
Undocumented in source.
selectionMode
QAbstractItemView.SelectionMode selectionMode()
Undocumented in source.
setSelectionBehavior
void setSelectionBehavior(QAbstractItemView.SelectionBehavior behavior)
Undocumented in source.
selectionBehavior
QAbstractItemView.SelectionBehavior selectionBehavior()
Undocumented in source.
currentIndex
QModelIndex currentIndex()
Undocumented in source.
rootIndex
QModelIndex rootIndex()
Undocumented in source.
setEditTriggers
void setEditTriggers(EditTriggers triggers)
Undocumented in source.
editTriggers
EditTriggers editTriggers()
Undocumented in source.
setVerticalScrollMode
void setVerticalScrollMode(ScrollMode mode)
Undocumented in source.
verticalScrollMode
ScrollMode verticalScrollMode()
Undocumented in source.
resetVerticalScrollMode
void resetVerticalScrollMode()
Undocumented in source.
setHorizontalScrollMode
void setHorizontalScrollMode(ScrollMode mode)
Undocumented in source.
horizontalScrollMode
ScrollMode horizontalScrollMode()
Undocumented in source.
resetHorizontalScrollMode
void resetHorizontalScrollMode()
Undocumented in source.
setAutoScroll
void setAutoScroll(bool enable)
Undocumented in source.
hasAutoScroll
bool hasAutoScroll()
Undocumented in source.
setAutoScrollMargin
void setAutoScrollMargin(int margin)
Undocumented in source.
autoScrollMargin
int autoScrollMargin()
Undocumented in source.
setTabKeyNavigation
void setTabKeyNavigation(bool enable)
Undocumented in source.
tabKeyNavigation
bool tabKeyNavigation()
Undocumented in source.
setDropIndicatorShown
void setDropIndicatorShown(bool enable)
Undocumented in source.
showDropIndicator
bool showDropIndicator()
Undocumented in source.
setDragEnabled
void setDragEnabled(bool enable)
Undocumented in source.
dragEnabled
bool dragEnabled()
Undocumented in source.
setDragDropOverwriteMode
void setDragDropOverwriteMode(bool overwrite)
Undocumented in source.
dragDropOverwriteMode
bool dragDropOverwriteMode()
Undocumented in source.
DragDropMode
enum DragDropMode
Undocumented in source.
setDragDropMode
void setDragDropMode(DragDropMode behavior)
Undocumented in source.
dragDropMode
DragDropMode dragDropMode()
Undocumented in source.
setDefaultDropAction
void setDefaultDropAction(qt.core.namespace.DropAction dropAction)
Undocumented in source.
defaultDropAction
qt.core.namespace.DropAction defaultDropAction()
Undocumented in source.
setAlternatingRowColors
void setAlternatingRowColors(bool enable)
Undocumented in source.
alternatingRowColors
bool alternatingRowColors()
Undocumented in source.
setIconSize
void setIconSize(const(QSize) size)
Undocumented in source.
iconSize
QSize iconSize()
Undocumented in source.
setTextElideMode
void setTextElideMode(qt.core.namespace.TextElideMode mode)
Undocumented in source.
textElideMode
qt.core.namespace.TextElideMode textElideMode()
Undocumented in source.
keyboardSearch
void keyboardSearch(const(QString) search)
Undocumented in source.
visualRect
QRect visualRect(const(QModelIndex) index)
Undocumented in source.
scrollTo
void scrollTo(const(QModelIndex) index, ScrollHint hint)
Undocumented in source.
indexAt
QModelIndex indexAt(const(QPoint) point)
Undocumented in source.
sizeHintForIndex
QSize sizeHintForIndex(const(QModelIndex) index)
Undocumented in source.
sizeHintForRow
int sizeHintForRow(int row)
Undocumented in source.
sizeHintForColumn
int sizeHintForColumn(int column)
Undocumented in source.
openPersistentEditor
void openPersistentEditor(const(QModelIndex) index)
Undocumented in source.
closePersistentEditor
void closePersistentEditor(const(QModelIndex) index)
Undocumented in source.
isPersistentEditorOpen
bool isPersistentEditorOpen(const(QModelIndex) index)
Undocumented in source.
setIndexWidget
void setIndexWidget(const(QModelIndex) index, QWidget widget)
Undocumented in source.
indexWidget
QWidget indexWidget(const(QModelIndex) index)
Undocumented in source.
setItemDelegateForRow
void setItemDelegateForRow(int row, QAbstractItemDelegate delegate_)
Undocumented in source.
itemDelegateForRow
QAbstractItemDelegate itemDelegateForRow(int row)
Undocumented in source.
setItemDelegateForColumn
void setItemDelegateForColumn(int column, QAbstractItemDelegate delegate_)
Undocumented in source.
itemDelegateForColumn
QAbstractItemDelegate itemDelegateForColumn(int column)
Undocumented in source.
itemDelegate
QAbstractItemDelegate itemDelegate(const(QModelIndex) index)
Undocumented in source.
inputMethodQuery
QVariant inputMethodQuery(qt.core.namespace.InputMethodQuery query)
Undocumented in source.
reset
void reset()
Undocumented in source.
setRootIndex
void setRootIndex(const(QModelIndex) index)
Undocumented in source.
doItemsLayout
void doItemsLayout()
Undocumented in source.
selectAll
void selectAll()
Undocumented in source.
edit
void edit(const(QModelIndex) index)
Undocumented in source.
clearSelection
void clearSelection()
Undocumented in source.
setCurrentIndex
void setCurrentIndex(const(QModelIndex) index)
Undocumented in source.
scrollToTop
void scrollToTop()
Undocumented in source.
scrollToBottom
void scrollToBottom()
Undocumented in source.
update
void update(const(QModelIndex) index)
Undocumented in source.
dataChanged
void dataChanged(const(QModelIndex) topLeft, const(QModelIndex) bottomRight, const(QVector!(int)) roles)
Undocumented in source.
rowsInserted
void rowsInserted(const(QModelIndex) parent, int start, int end)
Undocumented in source.
rowsAboutToBeRemoved
void rowsAboutToBeRemoved(const(QModelIndex) parent, int start, int end)
Undocumented in source.
selectionChanged
void selectionChanged(const(QItemSelection) selected, const(QItemSelection) deselected)
Undocumented in source.
currentChanged
void currentChanged(const(QModelIndex) current, const(QModelIndex) previous)
Undocumented in source.
updateEditorData
void updateEditorData()
Undocumented in source.
updateEditorGeometries
void updateEditorGeometries()
Undocumented in source.
updateGeometries
void updateGeometries()
Undocumented in source.
verticalScrollbarAction
void verticalScrollbarAction(int action)
Undocumented in source.
horizontalScrollbarAction
void horizontalScrollbarAction(int action)
Undocumented in source.
verticalScrollbarValueChanged
void verticalScrollbarValueChanged(int value)
Undocumented in source.
horizontalScrollbarValueChanged
void horizontalScrollbarValueChanged(int value)
Undocumented in source.
closeEditor
void closeEditor(QWidget editor, QAbstractItemDelegate.EndEditHint hint)
Undocumented in source.
commitData
void commitData(QWidget editor)
Undocumented in source.
editorDestroyed
void editorDestroyed(QObject editor)
Undocumented in source.
pressed
void pressed(const(QModelIndex) index)
Undocumented in source.
clicked
void clicked(const(QModelIndex) index)
Undocumented in source.
doubleClicked
void doubleClicked(const(QModelIndex) index)
Undocumented in source.
activated
void activated(const(QModelIndex) index)
Undocumented in source.
entered
void entered(const(QModelIndex) index)
Undocumented in source.
viewportEntered
void viewportEntered()
Undocumented in source.
iconSizeChanged
void iconSizeChanged(const(QSize) size)
Undocumented in source.
setHorizontalStepsPerItem
void setHorizontalStepsPerItem(int steps)
Undocumented in source.
horizontalStepsPerItem
int horizontalStepsPerItem()
Undocumented in source.
setVerticalStepsPerItem
void setVerticalStepsPerItem(int steps)
Undocumented in source.
verticalStepsPerItem
int verticalStepsPerItem()
Undocumented in source.
CursorAction
enum CursorAction
Undocumented in source.
moveCursor
QModelIndex moveCursor(CursorAction cursorAction, qt.core.namespace.KeyboardModifiers modifiers)
Undocumented in source.
horizontalOffset
int horizontalOffset()
Undocumented in source.
verticalOffset
int verticalOffset()
Undocumented in source.
isIndexHidden
bool isIndexHidden(const(QModelIndex) index)
Undocumented in source.
setSelection
void setSelection(const(QRect) rect, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
visualRegionForSelection
QRegion visualRegionForSelection(const(QItemSelection) selection)
Undocumented in source.
selectedIndexes
QModelIndexList selectedIndexes()
Undocumented in source.
edit
bool edit(const(QModelIndex) index, EditTrigger trigger, QEvent event)
Undocumented in source.
startDrag
void startDrag(qt.core.namespace.DropActions supportedActions)
Undocumented in source.
viewOptions
QStyleOptionViewItem viewOptions()
Undocumented in source.
State
enum State
Undocumented in source.
state
State state()
Undocumented in source.
setState
void setState(State state)
Undocumented in source.
scheduleDelayedItemsLayout
void scheduleDelayedItemsLayout()
Undocumented in source.
executeDelayedItemsLayout
void executeDelayedItemsLayout()
Undocumented in source.
setDirtyRegion
void setDirtyRegion(const(QRegion) region)
Undocumented in source.
scrollDirtyRegion
void scrollDirtyRegion(int dx, int dy)
Undocumented in source.
dirtyRegionOffset
QPoint dirtyRegionOffset()
Undocumented in source.
startAutoScroll
void startAutoScroll()
Undocumented in source.
stopAutoScroll
void stopAutoScroll()
Undocumented in source.
doAutoScroll
void doAutoScroll()
Undocumented in source.
focusNextPrevChild
bool focusNextPrevChild(bool next)
Undocumented in source.
event
bool event(QEvent event)
Undocumented in source.
viewportEvent
bool viewportEvent(QEvent event)
Undocumented in source.
mousePressEvent
void mousePressEvent(QMouseEvent event)
Undocumented in source.
mouseMoveEvent
void mouseMoveEvent(QMouseEvent event)
Undocumented in source.
mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent event)
Undocumented in source.
mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent event)
Undocumented in source.
dragEnterEvent
void dragEnterEvent(QDragEnterEvent event)
Undocumented in source.
dragMoveEvent
void dragMoveEvent(QDragMoveEvent event)
Undocumented in source.
dragLeaveEvent
void dragLeaveEvent(QDragLeaveEvent event)
Undocumented in source.
dropEvent
void dropEvent(QDropEvent event)
Undocumented in source.
focusInEvent
void focusInEvent(QFocusEvent event)
Undocumented in source.
focusOutEvent
void focusOutEvent(QFocusEvent event)
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent event)
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent event)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.
inputMethodEvent
void inputMethodEvent(QInputMethodEvent event)
Undocumented in source.
eventFilter
bool eventFilter(QObject object, QEvent event)
Undocumented in source.
DropIndicatorPosition
enum DropIndicatorPosition
Undocumented in source.
dropIndicatorPosition
DropIndicatorPosition dropIndicatorPosition()
Undocumented in source.
viewportSizeHint
QSize viewportSizeHint()
Undocumented in source.

Meta