-->
import Quickshell
[!ERROR] Removed in favor of Instantiator
The ObjectRepeater creates instances of the provided delegate for every entry in the given model, similarly to a Repeater but for non visual types.
The delegate component to repeat.
The delegate is given the same properties as in a Repeater, except index
which
is not currently implemented.
If the model is a list<T>
or javascript array, a modelData
property will be
exposed containing the entry from the model. If the model is a QAbstractListModel,
the roles from the model will be exposed.
Note: ObjectModel has a single role named modelData
for compatibility with normal lists.
The model providing data to the ObjectRepeater.
Currently accepted model types are list<T>
lists, javascript arrays,
and QAbstractListModel derived models, though only one column will be repeated
from the latter.
Note: ObjectModel is a QAbstractListModel with a single column.