Extending data models with fields
-
wrote on 6 Oct 2018, 15:00 last edited by
Proxy models are described to some degree.
How often is a need there to extend a source data model (like a base class) with fields?- Additional attributes
- Computed values
Would you like to point further information sources out for this software design approach?
-
Hi,
You should check KDE's KItemModels which provide some nice addition to what Qt has. From which, KExtraColumnsProxyModel which provides the base for what you are looking for.
-
Hi,
You should check KDE's KItemModels which provide some nice addition to what Qt has. From which, KExtraColumnsProxyModel which provides the base for what you are looking for.
wrote on 6 Oct 2018, 15:50 last edited byYou should check KDE's KItemModels which provide some nice addition to what Qt has.
Thanks for your hint.
Can any similar classes be integrated into the Qt software library?
-
What do you mean by integrated ?
-
wrote on 6 Oct 2018, 15:53 last edited by
What do you mean by integrated ?
Will the collection of (proxy) data models grow anyhow?
-
That I don't know.
If you have an interesting re-usable model to share then you can do a submission.
2/6