Difference between revisions of "What the Smart Docking library looks like"

(Only one editor's area, which means SD_CONTENTs which are not editor type can’t dragged into the main window area, and vice versa)
Line 19: Line 19:
  
 
== The tool bar is also dockable ==
 
== The tool bar is also dockable ==
    * Multiple tool bars in a single row.
 
  
    * Audo hide tool bar buttons when not enough space.
+
* Multiple tool bars in a single row.
  
    * When multiple tool bar in one row and not enough space, can resize tool bar zone manually.
+
* Audo hide tool bar buttons when not enough space.
  
    * Tool bar can float.
+
* When multiple tool bar in one row and not enough space, can resize tool bar zone manually.
 +
 
 +
* Tool bar can float.
 
    
 
    
    * When tool bar floating, user can drag border of tool bar and resize tool bar buttons to different rows.
+
* When tool bar floating, user can drag border of tool bar and resize tool bar buttons to different rows.
  
    * Customize supported.
+
* Customize supported.
  
    * Double click on the header of a docking tool bar, it'll float to last floating position and last floating size. Or double click title bar of floating tool bar zone, it'll dock to last docked row and position.
+
* Double click on the header of a docking tool bar, it'll float to last floating position and last floating size. Or double click title bar of floating tool bar zone, it'll dock to last docked row and position.
  
 
== Docking feedbacks ==
 
== Docking feedbacks ==
  * There are two kinds of docking feedback currently available:
+
* There are two kinds of docking feedback currently available:
  
 
   One used in WIndows which have feedback indicators:
 
   One used in WIndows which have feedback indicators:
Line 42: Line 43:
 
There will be a snapshot here.
 
There will be a snapshot here.
  
  * Client programmer can make there own docking feedbacks if they wish.  
+
* Client programmer can make there own docking feedbacks if they wish.  
 
     Client programmers can inherit from SD_HOT_ZONE, implemented a set of docking feedbacks for main window, normal docking window and tabbed docking window. Then implemented a new SD_HOT_ZONE_ABSTRACT_FACTORY.
 
     Client programmers can inherit from SD_HOT_ZONE, implemented a set of docking feedbacks for main window, normal docking window and tabbed docking window. Then implemented a new SD_HOT_ZONE_ABSTRACT_FACTORY.

Revision as of 02:42, 10 April 2007


Multiple levels of docking and nesting

Smart Docking multi level docking.PNG

Tear-off widgets and vertical title tabs when docking left/right

There will be a snapshot here.

Only one editor's docking area.

Client programmers can change SD_CONTENT type by SD_CONTENT.set_type feature. SD_CONTENTs which are not editor type can’t dragged into the editors area. See figure 2. Vice versa. See figure 3.

File:What is Smart Docking library looks like figure 2

File:What is Smart Docking library looks like figure 3

The tool bar is also dockable

  • Multiple tool bars in a single row.
  • Audo hide tool bar buttons when not enough space.
  • When multiple tool bar in one row and not enough space, can resize tool bar zone manually.
  • Tool bar can float.
  • When tool bar floating, user can drag border of tool bar and resize tool bar buttons to different rows.
  • Customize supported.
  • Double click on the header of a docking tool bar, it'll float to last floating position and last floating size. Or double click title bar of floating tool bar zone, it'll dock to last docked row and position.

Docking feedbacks

  • There are two kinds of docking feedback currently available:
  One used in WIndows which have feedback indicators:

There will be a snapshot here.

  The other one used in Linux or on Windows when using remote desktop (terminal service), which is kind of old style feedback:

There will be a snapshot here.

  • Client programmer can make there own docking feedbacks if they wish.
    Client programmers can inherit from SD_HOT_ZONE, implemented a set of docking feedbacks for main window, normal docking window and tabbed docking window. Then implemented a new SD_HOT_ZONE_ABSTRACT_FACTORY.