Methods
Protected
notifyReset
- notifyReset(): void
Returns void
Protected
notifyRowAdded
- notifyRowAdded(row, count): void
Returns void
Protected
notifyRowDataChanged
- notifyRowDataChanged(row): void
Returns void
Protected
notifyRowRemoved
- notifyRowRemoved(row, count): void
Returns void
Abstract
rowCount
- rowCount(): number
Returns number
Abstract
setRowData
- setRowData(row, data): void
Returns void
Model is the interface for feeding dynamic data into
.slint
views.A model is organized like a table with rows of data. The fields of the data type T behave like columns.
Example
As an example let's see the implementation of ArrayModel