DefinitionPickerModel
The rows of one list of the Things finder over a shared set of entries (definition-picker-flow §DPD-2).
| Inherits | QAbstractListModel |
| Group | construct |
In the namespace construct::ui. Declared in src/libs/libconstruct/construct/ui/DefinitionPickerModel.hpp.
Detailed description
It replaces the QStandardItemModel the picker cleared and refilled on every key press (D1). A row is a PickerRow: an index into the entries, or a section header. data() reads the entry by index and allocates nothing, so a million rows cost a million PickerRows. Both views of the left lane show one instance; the history list has its own over the same entries.