Slicer4:ViewerDesign

From Slicer Wiki
Jump to: navigation, search
Home < Slicer4:ViewerDesign

Back to Slicer 4 Developer Projects

Notebook for Slicer 4 Presentation Layer Design

Ron would like to see a scalable architecture for the visual appearance of Slicer viewers as we add more types of elements and more of them. This architecture will also need to be able to accommodate new types of viewers such as graphs and tables.

Notes & Sketches (Chronologically listed)

  • Colors & Qt: Many of the viewers we are using colors from the Qt palette. The viewer "name" is color alias that is recognized by Qt. But it doesn't need to be this way. We could always go through a lookup to map viewers with nonstandard color names as the viewer name to a RGB triple. We'll just need to slip in that mapping in the appropriate places.

Guidelines for Developers of New Viewers