Utility allowing handy binding to a single row from a model. More...
Import Statement: | import QtModelsToolkit . |
In opposition to accessing model data via methods like ListModel::get
or QAbstractItemModel::data
, ModelEntry gives ability to conveniently bind to the pointed element.
Determines whether to cache the item when it is removed from the model. If true, the item will be cached and available until another source model is used or the cacheOnRemoval is set to false.
Determines whether the item was removed from the model. This flag is only set when cacheOnRemoval is true.