score
score copied to clipboard
sub-scenarios should be minimized when in smallView
e.g. even with the simple scenario below
the smallView version is illegible
maybe when a sub-scenario is in a smallView, only the headers of its constraints should be shown (with a smaller vertical size, also, maybe... ??)
To do
Scenarios in small view are scenarios that are displayed in a TemporalConstraintPresenter. The best way to do this imho is :
- In the LayerPresenter interface, add a virtual
setSmallViewfunction, or asetView()with a newenum class LayerViewType { SmallView, FullView };which could be later expanded. The default implementation should do nothing. - In TemporalConstraintPresenter, when a new process is created, call the
setSmallViewon it. Also, create a newsetSmallViewfunction that for now only classon_rackVisibleChanged(false). Maybe it will be necessary to save the "requested" small view in a boolean in the class so that when new processes are created, the view is not inadvertently displayed again. - In TemporalScenarioPresenter, reimplement
setSmallView()and save a boolean in the class that stores its value. - In TemporalScenarioPresenter, when a TemporalConstraintPresenter is created, check if we're in small view, and if it's the case, call
setSmallViewon it.