Last modified 16 years ago
Last modified on 05/15/09 17:57:44
Analysis
Overview
Develop additional features defined in OPEN_BOOKS_TABBAR_R0, including:
- Navigation buttons when the tabbar is too short to display all tabs.
- Tabbar context menus.
Task requirements
- Create the context menu when right-clicked on a tab.
- Create additional menu items to the context menu when right-clicked on the tabbar area.
- Implement the Cascade and Tile functionality.
- Highlight active tab.
- Implement the navigation buttons and their appearance/disappearance.
- Left-click on a book's tab button should restore the book window if it had been minimized.
Task result
The result of this task is source code.
Implementation idea
- Navigation buttons - the funtionality should be similar to the tabbar navigation behaviour of most browsers (e.g. check IE6, Mozilla Firefox 3).
- Each navigation button should be enabled if and only if there are tabs hidden (or partially visible) on its side of the tabbar.
- On left/right navigation button left-click the tabs should be shifted in right/left direction with the length of the hidden tab which is about to be displayed (including the left and right margins).
- After the shift operation the last tab on the right/left is allowed to be partially displayed. After that the desired behaviour is:
- For the next shift operation in the opposite direction (left/right) the shift length should be the one of the hidden part of the tab (including the right/left margin).
- If the partially displayed tab is clicked, a new shift operation should be initiated to display the whole tab.
- Tabbar context menus should be as specified in OPEN_BOOKS_TABBAR_R0 with the addition of "Tile Horizontally" and "Tile Vertically" menu items instead of the "Tile" item.
Related
How to demo
Show the additional working features of the tabbar.
Design
(Describe your design here.)
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
- Drag & Drop of tabs in the tabbar should be implemented in a next revision. - vlado
2009-05-12
- Could you please add to this task that clicking a book's tab button should restore the book window? i.e. if the window is minimized, it should expand it, or restore the state. - sriggins