QListView

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

Constructors

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

Destructor

~this
~this()
Undocumented in source.

Members

Enums

Flow
enum Flow
Undocumented in source.
LayoutMode
enum LayoutMode
Undocumented in source.
Movement
enum Movement
Undocumented in source.
ResizeMode
enum ResizeMode
Undocumented in source.
ViewMode
enum ViewMode
Undocumented in source.

Functions

batchSize
int batchSize()
Undocumented in source.
clearPropertyFlags
void clearPropertyFlags()
Undocumented in source.
contentsSize
QSize contentsSize()
Undocumented in source.
currentChanged
void currentChanged(const(QModelIndex) current, const(QModelIndex) previous)
Undocumented in source.
dataChanged
void dataChanged(const(QModelIndex) topLeft, const(QModelIndex) bottomRight, const(QVector!(int)) roles)
Undocumented in source.
doItemsLayout
void doItemsLayout()
Undocumented in source.
dragLeaveEvent
void dragLeaveEvent(QDragLeaveEvent e)
Undocumented in source.
dragMoveEvent
void dragMoveEvent(QDragMoveEvent e)
Undocumented in source.
dropEvent
void dropEvent(QDropEvent e)
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
flow
Flow flow()
Undocumented in source.
gridSize
QSize gridSize()
Undocumented in source.
horizontalOffset
int horizontalOffset()
Undocumented in source.
indexAt
QModelIndex indexAt(const(QPoint) p)
Undocumented in source.
indexesMoved
void indexesMoved(const(QModelIndexList) indexes)
Undocumented in source.
isIndexHidden
bool isIndexHidden(const(QModelIndex) index)
Undocumented in source.
isRowHidden
bool isRowHidden(int row)
Undocumented in source.
isSelectionRectVisible
bool isSelectionRectVisible()
Undocumented in source.
isWrapping
bool isWrapping()
Undocumented in source.
itemAlignment
qt.core.namespace.Alignment itemAlignment()
Undocumented in source.
layoutMode
LayoutMode layoutMode()
Undocumented in source.
modelColumn
int modelColumn()
Undocumented in source.
mouseMoveEvent
void mouseMoveEvent(QMouseEvent e)
Undocumented in source.
mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent e)
Undocumented in source.
moveCursor
QModelIndex moveCursor(CursorAction cursorAction, qt.core.namespace.KeyboardModifiers modifiers)
Undocumented in source.
movement
Movement movement()
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent e)
Undocumented in source.
rectForIndex
QRect rectForIndex(const(QModelIndex) index)
Undocumented in source.
reset
void reset()
Undocumented in source.
resizeContents
void resizeContents(int width, int height)
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent e)
Undocumented in source.
resizeMode
ResizeMode resizeMode()
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.
scrollContentsBy
void scrollContentsBy(int dx, int dy)
Undocumented in source.
scrollTo
void scrollTo(const(QModelIndex) index, ScrollHint hint)
Undocumented in source.
selectedIndexes
QModelIndexList selectedIndexes()
Undocumented in source.
selectionChanged
void selectionChanged(const(QItemSelection) selected, const(QItemSelection) deselected)
Undocumented in source.
setBatchSize
void setBatchSize(int batchSize)
Undocumented in source.
setFlow
void setFlow(Flow flow)
Undocumented in source.
setGridSize
void setGridSize(const(QSize) size)
Undocumented in source.
setItemAlignment
void setItemAlignment(qt.core.namespace.Alignment alignment)
Undocumented in source.
setLayoutMode
void setLayoutMode(LayoutMode mode)
Undocumented in source.
setModelColumn
void setModelColumn(int column)
Undocumented in source.
setMovement
void setMovement(Movement movement)
Undocumented in source.
setPositionForIndex
void setPositionForIndex(const(QPoint) position, const(QModelIndex) index)
Undocumented in source.
setResizeMode
void setResizeMode(ResizeMode mode)
Undocumented in source.
setRootIndex
void setRootIndex(const(QModelIndex) index)
Undocumented in source.
setRowHidden
void setRowHidden(int row, bool hide)
Undocumented in source.
setSelection
void setSelection(const(QRect) rect, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
setSelectionRectVisible
void setSelectionRectVisible(bool show)
Undocumented in source.
setSpacing
void setSpacing(int space)
Undocumented in source.
setUniformItemSizes
void setUniformItemSizes(bool enable)
Undocumented in source.
setViewMode
void setViewMode(ViewMode mode)
Undocumented in source.
setWordWrap
void setWordWrap(bool on)
Undocumented in source.
setWrapping
void setWrapping(bool enable)
Undocumented in source.
spacing
int spacing()
Undocumented in source.
startDrag
void startDrag(qt.core.namespace.DropActions supportedActions)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent e)
Undocumented in source.
uniformItemSizes
bool uniformItemSizes()
Undocumented in source.
updateGeometries
void updateGeometries()
Undocumented in source.
verticalOffset
int verticalOffset()
Undocumented in source.
viewMode
ViewMode viewMode()
Undocumented in source.
viewOptions
QStyleOptionViewItem viewOptions()
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.
wheelEvent
void wheelEvent(QWheelEvent e)
Undocumented in source.
wordWrap
bool wordWrap()
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