Object and Slot Viewer Revisions for RiverWare 7.2 / Nov 2017
Phil. 11-21-2017. Dev Updates: 12-05-2017
Ref: White-board notes (Image), 11-21-2017, David, Mitch, Edie and Phil.
With some experience using the new Object Viewer (7.1) and Slot Viewer (7.2 development), we're deciding on several usability enhancements.
The one architectural change is that the Object Viewer's content (set of simulation objects) will be persistent, at least within the RiverWare session. The Object Viewer will be independently showable (i.e. not just as a result of "opening" a simulation object), and when shown, it will contain the simulation objects which it had the last time it was visible. A few new operations will be added to manage the set of objects in the Object Viewer.
Enhancements for the RiverWare 7.2 release will include:
(A) Indicated Slots added to Slot Viewer by selecting those Slots (display columns). [Item 2.1]
The desirable behavior had been coded, but the effect of selecting the slots being added was being wiped out by subsequent selection operations. The desirable behavior was restored by eliminating these subsequent selection operations, including some that were redundantly setting the QTableView's "current cell".
Note: If slots being added to the Slot Viewer are already shown in that dialog, those slots remain in their display column, but the dialog is scrolled to those slots, and those slots become selected.
(B) Fixes to Selection Statistics
(B1) Slot Count defect. The number of slots represented in the slot/timestep cell selection was not being computed properly. One consequence of this was that when cells from two slots were selected, the name of the FIRST slot was presented INSTEAD OF showing the NUMBER OF selected slots, as intended.
(B2) Update when navigating with arrow keys. When pressing any of the arrow keys, the adjacent cell (adjacent to the single "current" cell) becomes selected. However, when doing so, the selection statistics lines became blank. This is now appropriately updated with the current cell's value. This has more meaning than it had, with the recent introduction of the Time-Integrated Sum for rate unit type values (e.g. Flow or Power).
The two main enhancements are basically:
SEE THIS DOCUMENT:
---