@rprospero here is the stuff I came up with when looking into custom model interfaces. Still uses a template class sitting alongside the data (here focussing just on std::vector and tables) but the template derives from a concrete base class which the Qt model leverages to do all the work.
Thoughts on how any of this (if any!) can work with your own approach welcome!
@rprospero here is the stuff I came up with when looking into custom model interfaces. Still uses a template class sitting alongside the data (here focussing just on
std::vector
and tables) but the template derives from a concrete base class which the Qt model leverages to do all the work.Thoughts on how any of this (if any!) can work with your own approach welcome!