QAbstractItemView

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 QAbstractItemView : QAbstractScrollArea {}

Constructors

this
this(QWidget parent)
Undocumented in source.
this
this(QAbstractItemViewPrivate , QWidget parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

EditTriggers
alias EditTriggers = QFlags!(EditTrigger)
Undocumented in source.

Enums

CursorAction
enum CursorAction
Undocumented in source.
DragDropMode
enum DragDropMode
Undocumented in source.
DropIndicatorPosition
enum DropIndicatorPosition
Undocumented in source.
EditTrigger
enum EditTrigger
Undocumented in source.
ScrollHint
enum ScrollHint
Undocumented in source.
ScrollMode
enum ScrollMode
Undocumented in source.
SelectionBehavior
enum SelectionBehavior
Undocumented in source.
SelectionMode
enum SelectionMode
Undocumented in source.
State
enum State
Undocumented in source.

Functions

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

Inherited Members

From QAbstractScrollArea

~this
~this()
Undocumented in source.
SizeAdjustPolicy
enum SizeAdjustPolicy
Undocumented in source.
verticalScrollBarPolicy
qt.core.namespace.ScrollBarPolicy verticalScrollBarPolicy()
Undocumented in source.
setVerticalScrollBarPolicy
void setVerticalScrollBarPolicy(qt.core.namespace.ScrollBarPolicy )
Undocumented in source.
verticalScrollBar
QScrollBar verticalScrollBar()
Undocumented in source.
setVerticalScrollBar
void setVerticalScrollBar(QScrollBar scrollbar)
Undocumented in source.
horizontalScrollBarPolicy
qt.core.namespace.ScrollBarPolicy horizontalScrollBarPolicy()
Undocumented in source.
setHorizontalScrollBarPolicy
void setHorizontalScrollBarPolicy(qt.core.namespace.ScrollBarPolicy )
Undocumented in source.
horizontalScrollBar
QScrollBar horizontalScrollBar()
Undocumented in source.
setHorizontalScrollBar
void setHorizontalScrollBar(QScrollBar scrollbar)
Undocumented in source.
cornerWidget
QWidget cornerWidget()
Undocumented in source.
setCornerWidget
void setCornerWidget(QWidget widget)
Undocumented in source.
addScrollBarWidget
void addScrollBarWidget(QWidget widget, qt.core.namespace.Alignment alignment)
Undocumented in source.
scrollBarWidgets
QWidgetList scrollBarWidgets(qt.core.namespace.Alignment alignment)
Undocumented in source.
viewport
QWidget viewport()
Undocumented in source.
setViewport
void setViewport(QWidget widget)
Undocumented in source.
maximumViewportSize
QSize maximumViewportSize()
Undocumented in source.
minimumSizeHint
QSize minimumSizeHint()
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source.
setupViewport
void setupViewport(QWidget viewport)
Undocumented in source.
sizeAdjustPolicy
SizeAdjustPolicy sizeAdjustPolicy()
Undocumented in source.
setSizeAdjustPolicy
void setSizeAdjustPolicy(SizeAdjustPolicy policy)
Undocumented in source.
setViewportMargins
void setViewportMargins(int left, int top, int right, int bottom)
Undocumented in source.
setViewportMargins
void setViewportMargins(const(QMargins) margins)
Undocumented in source.
viewportMargins
QMargins viewportMargins()
Undocumented in source.
eventFilter
bool eventFilter(QObject , QEvent )
Undocumented in source.
event
bool event(QEvent )
Undocumented in source.
viewportEvent
bool viewportEvent(QEvent )
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent )
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent )
Undocumented in source.
mousePressEvent
void mousePressEvent(QMouseEvent )
Undocumented in source.
mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent )
Undocumented in source.
mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent )
Undocumented in source.
mouseMoveEvent
void mouseMoveEvent(QMouseEvent )
Undocumented in source.
wheelEvent
void wheelEvent(QWheelEvent )
Undocumented in source.
contextMenuEvent
void contextMenuEvent(QContextMenuEvent )
Undocumented in source.
dragEnterEvent
void dragEnterEvent(QDragEnterEvent )
Undocumented in source.
dragMoveEvent
void dragMoveEvent(QDragMoveEvent )
Undocumented in source.
dragLeaveEvent
void dragLeaveEvent(QDragLeaveEvent )
Undocumented in source.
dropEvent
void dropEvent(QDropEvent )
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent )
Undocumented in source.
scrollContentsBy
void scrollContentsBy(int dx, int dy)
Undocumented in source.
viewportSizeHint
QSize viewportSizeHint()
Undocumented in source.

Meta