Page MenuHomePhabricator

Application Frame: Buttons to change between perspectives
Closed, ResolvedPublic

Description

The new 3M-3 application should provide the option to change between different perspectives which are adapted to specific user tasks. The best solutions is to provide a button for each perspectives since the change of perspectives is a new main feature of the 3M-3 application and thus should be easy to find. Therefore buttons need to be created. The best position to place the buttons is still not found yet. Nevertheless to test the perspectives a good starting point seems to place the buttons within the toolbar.

Event Timeline

[SVN revision 19613]
ENH (#2693): enabled the workbench window configurer to show the standard perspective switcher

Create QmitkPerspectiveSwitcherView in Sandbox for changing between different perspectives. Depending on the size of the view widget, the pushButtons of the persperctives change between full-described buttons (icon + text) positioned among each other in the upper region AND small buttons (icon) positioned side by side in the lower region (like the left Toolbar in Microsoft Outlook).

[SVN revision 19642]
ADD (#2693): add View for changing between different perspectives.

[SVN revision 19653]
ENH (#2693): added a perspective listener

Application crashed during start up, when Perspective Switcher View is enabled. Output of QString::fromStdString(GetSite()->GetPage()->GetPerspective()->GetId()) is invalid.

[SVN revision 19667]
FIX (#2693): include while-loop for testing if currentId is in a Button Map. Include member for button height.

[SVN revision 19712]
FIX (#2693): To avoid double-checked buttons in perspective view, the signal connection is changed to clicked() and setDown() is replaced by setChecked().

[SVN revision 19719]
CHG (#2693): include cherry::ISizeProvider to provide a minimum height of the widget.

What is the status of this? Who is actually working on it, Sascha or Diana? Please set active assignee as well.

[SVN revision 19897]
CHG (#2693): To avoid empty space between the buttons and icons, the widget is automatic resized to the space of the visible buttons when size of the widget changed. Behavior is more outlook like.

[SVN revision 20075]
ENH (#2693): With revision 20074 commited on T2938 it is now possible to set the alignment for parts in a sash container to "right to left". This is useful for the perspective switcher, which sits on the bottom and supplies a discrete preferred width now.

[SVN revision 20118]
CHG (#2693): include ToolBar for expert (icon) view and set absolute min and max of sash container.

[SVN revision 20265]
CHG (#2693): include styleSheet for active button