QListWidget

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

Constructors

this
this(QWidget parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addItem
void addItem(const(QString) label)
Undocumented in source. Be warned that the author may not have intended to support it.
addItem
void addItem(QListWidgetItem aitem)
Undocumented in source. Be warned that the author may not have intended to support it.
addItem
void addItem(const(QString) label)
Undocumented in source. Be warned that the author may not have intended to support it.
addItems
void addItems(const(QStringList) labels)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source.
closePersistentEditor
void closePersistentEditor(QListWidgetItem item)
Undocumented in source.
count
int count()
Undocumented in source.
currentItem
QListWidgetItem currentItem()
Undocumented in source.
currentItemChanged
void currentItemChanged(QListWidgetItem current, QListWidgetItem previous)
Undocumented in source.
currentRow
int currentRow()
Undocumented in source.
currentRowChanged
void currentRowChanged(int currentRow)
Undocumented in source.
currentTextChanged
void currentTextChanged(const(QString) currentText)
Undocumented in source.
dropEvent
void dropEvent(QDropEvent event)
Undocumented in source.
editItem
void editItem(QListWidgetItem item)
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
findItems
QList!(QListWidgetItem) findItems(const(QString) text, qt.core.namespace.MatchFlags flags)
Undocumented in source.
indexFromItem
QModelIndex indexFromItem(const(QListWidgetItem) item)
Undocumented in source.
indexFromItem
QModelIndex indexFromItem(QListWidgetItem item)
Undocumented in source.
insertItem
void insertItem(int row, QListWidgetItem item)
Undocumented in source.
insertItem
void insertItem(int row, const(QString) label)
Undocumented in source.
insertItems
void insertItems(int row, const(QStringList) labels)
Undocumented in source.
isItemHidden
bool isItemHidden(const(QListWidgetItem) item)
Undocumented in source.
isItemSelected
bool isItemSelected(const(QListWidgetItem) item)
Undocumented in source.
isPersistentEditorOpen
bool isPersistentEditorOpen(QListWidgetItem item)
Undocumented in source.
isSortingEnabled
bool isSortingEnabled()
Undocumented in source.
item
QListWidgetItem item(int row)
Undocumented in source.
itemActivated
void itemActivated(QListWidgetItem item)
Undocumented in source.
itemAt
QListWidgetItem itemAt(const(QPoint) p)
Undocumented in source.
itemAt
QListWidgetItem itemAt(int ax, int ay)
Undocumented in source. Be warned that the author may not have intended to support it.
itemChanged
void itemChanged(QListWidgetItem item)
Undocumented in source.
itemClicked
void itemClicked(QListWidgetItem item)
Undocumented in source.
itemDoubleClicked
void itemDoubleClicked(QListWidgetItem item)
Undocumented in source.
itemEntered
void itemEntered(QListWidgetItem item)
Undocumented in source.
itemFromIndex
QListWidgetItem itemFromIndex(const(QModelIndex) index)
Undocumented in source.
itemPressed
void itemPressed(QListWidgetItem item)
Undocumented in source.
itemSelectionChanged
void itemSelectionChanged()
Undocumented in source.
itemWidget
QWidget itemWidget(QListWidgetItem item)
Undocumented in source.
items
QList!(QListWidgetItem) items(const(QMimeData) data)
Undocumented in source.
mimeData
QMimeData mimeData(const(QList!(QListWidgetItem)) items)
Undocumented in source.
mimeTypes
QStringList mimeTypes()
Undocumented in source.
openPersistentEditor
void openPersistentEditor(QListWidgetItem item)
Undocumented in source.
removeItemWidget
void removeItemWidget(QListWidgetItem aItem)
Undocumented in source. Be warned that the author may not have intended to support it.
scrollToItem
void scrollToItem(const(QListWidgetItem) item, QAbstractItemView.ScrollHint hint)
Undocumented in source.
selectedItems
QList!(QListWidgetItem) selectedItems()
Undocumented in source.
setCurrentItem
void setCurrentItem(QListWidgetItem item)
Undocumented in source.
setCurrentItem
void setCurrentItem(QListWidgetItem item, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
setCurrentRow
void setCurrentRow(int row)
Undocumented in source.
setCurrentRow
void setCurrentRow(int row, QItemSelectionModel.SelectionFlags command)
Undocumented in source.
setItemHidden
void setItemHidden(const(QListWidgetItem) item, bool hide)
Undocumented in source.
setItemSelected
void setItemSelected(const(QListWidgetItem) item, bool select)
Undocumented in source.
setItemWidget
void setItemWidget(QListWidgetItem item, QWidget widget)
Undocumented in source.
setSelectionModel
void setSelectionModel(QItemSelectionModel selectionModel)
Undocumented in source.
setSortingEnabled
void setSortingEnabled(bool enable)
Undocumented in source.
sortItems
void sortItems(qt.core.namespace.SortOrder order)
Undocumented in source.
supportedDropActions
qt.core.namespace.DropActions supportedDropActions()
Undocumented in source.
takeItem
QListWidgetItem takeItem(int row)
Undocumented in source.
visualItemRect
QRect visualItemRect(const(QListWidgetItem) item)
Undocumented in source.

Inherited Members

From QListView

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

Meta