Replies: 2 comments
-
There is currently no public API to observe a model. |
Beta Was this translation helpful? Give feedback.
-
In my case I was trying to split out a non trivial model into two models, specifically an abstract (and crude) tree mechanism similar to what is done in the I will say that ideally I could write unit tests against my implementations of |
Beta Was this translation helpful? Give feedback.
-
What is the proper way for user code to observe a
Model
, presumably using thedyn ModelTracker
returned byModel::model_tracker()
?I was trying to chain multiple models together (a common pattern in Qt), and I also intend to write unit tests for my implementations of
Model
, and presumably I would need to observe models to properly exercise them in unit tests.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions