Difference between revisions of "Slicer3:UIDesign:WorkingProblems:SlicerFlexibleLayout:UXP3"

From Slicer Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
 +
[http://www.slicer.org/slicerWiki/index.php/Slicer3:UIDesign#Working_problem:_Customizable_layouts_for_Slicer3 Back to Flexible Layouts Overview ]
 +
 
=Adding multiple tabs to a Slicer application window =
 
=Adding multiple tabs to a Slicer application window =
  
[http://www.slicer.org/slicerWiki/index.php/Slicer3:UIDesign#Working_problem:_Customizable_layouts_for_Slicer3 Back to Flexible Layouts Overview ]
+
*Challenge: Will be useful to specify and switch among multiple tabs in the main application window.
 +
** Each tab can display a layout, and that layout may include multiple views, multiple module guis, etc.
 +
*Displaying multiple module guis at once requires each module UI to contain module select/navigate controls.
 +
*Need controls for adding a tab, deleting current tab.
 +
*Slicer starts up: first time user sees welcome module in a single tab.
 +
*Slicer starts up: returning user sees their tabs from last session restored.
 +
 
 +
= Open questions=
 +
* What is the desired behavior when user selects a module from the toolbar?
 +
** switch the currently raised tab's GUI.
 +
* What happens when user selects "+" to add a new tab?
 +
** new tab is added with same layout as previously raised tab.
 +
** what module is selected -- home? none?
 +
* What happens if the layout contains multiple GUI panels and user selects a new module from the toolbar?
 +
** new module GUI replaces last module GUI to be touched
  
 
== Default layout at startup ==
 
== Default layout at startup ==

Revision as of 18:43, 10 February 2010

Home < Slicer3:UIDesign:WorkingProblems:SlicerFlexibleLayout:UXP3

Back to Flexible Layouts Overview

Adding multiple tabs to a Slicer application window

  • Challenge: Will be useful to specify and switch among multiple tabs in the main application window.
    • Each tab can display a layout, and that layout may include multiple views, multiple module guis, etc.
  • Displaying multiple module guis at once requires each module UI to contain module select/navigate controls.
  • Need controls for adding a tab, deleting current tab.
  • Slicer starts up: first time user sees welcome module in a single tab.
  • Slicer starts up: returning user sees their tabs from last session restored.

Open questions

  • What is the desired behavior when user selects a module from the toolbar?
    • switch the currently raised tab's GUI.
  • What happens when user selects "+" to add a new tab?
    • new tab is added with same layout as previously raised tab.
    • what module is selected -- home? none?
  • What happens if the layout contains multiple GUI panels and user selects a new module from the toolbar?
    • new module GUI replaces last module GUI to be touched

Default layout at startup

TabbedApplicationWindowStartup.png

Annotations of modifications to main application layout to accommodate tabs (and multiple module GUIs)

TabbedApplicationWindowStartupAnno.png

Adding a new tab

TabbedApplicationWindowNewTab.png

Adding a tab with a user-specified custom layout containing multiple module GUIs.

TabbedApplicationWindowCustomLayout.png