class ListView
A virtualised list of item rows. Selection, hover and the focus ring come from the view, so Qt's selection model and the platform's accessibility work without a widget per row.
Inherits from QListView
Functions
ListView
public ListView(QWidget * parent)
compactRows
public bool compactRows()
compactBelow
public int compactBelow()
hideProgress
public void hideProgress()
progressVisible
public bool progressVisible()
setCompact
public void setCompact(bool compact)
setCompactBelow
public void setCompactBelow(int height)
setProgressVisible
public void setProgressVisible(bool visible)
showProgress
public void showProgress()
Reserves room for a progress track on every row. See RowDelegate::setProgressShown for why this belongs to the caller.
rowHeight
public int rowHeight()
The height one row occupies at the current density.
visibleRowRects
public QList<QRect> visibleRowRects()
The rectangles of the rows on screen, in order, for a test or a hit check.
resizeEvent
protected void resizeEvent(QResizeEvent * event)
event
protected bool event(QEvent * event)