You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, GUI views don't touch the model... they just notify the controller of a change, and then the controller requests the changed value from the view before passing it to the model:
That works fine, but it requires a lot of signal machinery to be on the View objects, and adds some indirection. We could alternatively just pass the model to the frontend widget:
having the view control the model is not necessarily an unusual pattern. Most of Qt view widgets have direct access to and mutate their models (it's mostly a model-view only pattern).
not sure yet whether this would make it harder to keep the different views behaving similarly
The text was updated successfully, but these errors were encountered:
on a quick stab at implementing it, I ran into one other issue that would likely need addressing: the view has the ability to reset the range of the canvas. Ideally this would actually correspond to a change on the model, but we don't yet model the camera in the display model. That's a big ball of wax that was a real sticking point in microvis ... but we'll need to tackle it someday
currently, GUI views don't touch the model... they just notify the controller of a change, and then the controller requests the changed value from the view before passing it to the model:
That works fine, but it requires a lot of signal machinery to be on the View objects, and adds some indirection. We could alternatively just pass the model to the frontend widget:
having the view control the model is not necessarily an unusual pattern. Most of Qt view widgets have direct access to and mutate their models (it's mostly a model-view only pattern).
not sure yet whether this would make it harder to keep the different views behaving similarly
The text was updated successfully, but these errors were encountered: