X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fdoc%2Fdeveloper%2Fgui_layout.txt;h=052b5e58787a3c4a05e76d5ce047b1045f83cf63;hb=646deda7074ef92053f3261a3987742141964207;hp=d0f9f9aeaea3a68ae8fff8af47b42bc312842613;hpb=cd6bdae2977e946e74d5436cff19fef344820e4b;p=lttv.git diff --git a/ltt/branches/poly/doc/developer/gui_layout.txt b/ltt/branches/poly/doc/developer/gui_layout.txt index d0f9f9ae..052b5e58 100644 --- a/ltt/branches/poly/doc/developer/gui_layout.txt +++ b/ltt/branches/poly/doc/developer/gui_layout.txt @@ -1,13 +1,19 @@ -GUI Layout - - -Mathieu Desnoyers, June 2003 + + +
+In order to implement the GUI, choices has to be made based on habitual interfaces that we know users are familiar with. The inspiration for these choices came mainly from the Mozilla browser project and also from Openoffice, which are currently used as two userfriendly applications in various Linux distribution at the time of this writing. +
This document describes the layout of the GUI in three sections : containers, menus and toolbars. +
A status bar is also placed at the bottom of the window. - Containers @@ -30,6 +36,7 @@ Window Mainwindow - Menus +
Here is a short description of each menu entry * by itself means a separator @@ -38,8 +45,11 @@ Here is a short description of each menu entry *New -> *Empty trace set : open a new window with an empty trace set. *Clone trace set : copy the content of the current window in a new window. + * + *Tab : Opens a new tab. *Open : open a trace set. Calls a file selection dialog. *Close : close the current window. +*Close Tab : close the current tab. * *Add trace : Add a trace to the window's traceset. Calls file selection dialog. *Remove trace : Removes a trace from the traceset. @@ -69,14 +79,12 @@ Here is a short description of each menu entry *Dump binary * (separator between text tools and graphical tools implies different function to register each type of menu entries) -*Events -> *Insert before : insert or remove this type of viewer - *Insert after before or after the current position -*ControlFlow -> *Insert before - *Insert after +*Insert Events View : insert this type of viewer +*Insert ControlFlow View - Plugins -*Load module : ask the user a module to load (text field). +*Load module : ask the user a module to load (list modules in search path). *Unload module : list all modules, click to choose, then unload button. -*Add module search path : ask user for a new path (text field). +*Add module search path : ask user for a new path (file selection dialog). - Options //FIXME *Color : change the color of the currently selected element ? @@ -91,12 +99,16 @@ Here is a short description of each menu entry *About +
- Toolbar +
The toolbar is separated in two parts : like the two lines used in Openoffice. The first one is applying to the top level window (or current tab) while the one below contains the current viewer's toolbar. +
So we have something like this : +
-------------------------------------------------------------------------------- | Menus | -------------------------------------------------------------------------------- @@ -104,18 +116,23 @@ So we have something like this : -------------------------------------------------------------------------------- | Toolbar of the current viewer | -------------------------------------------------------------------------------- -| viewers in vpaned | -| | -| | +||Current Tab| | +|-----------------------------------------------------------------------------|| +||viewers in vpaned || +|| || +||----------------------------------------------------------------------------|| -------------------------------------------------------------------------------- | Status bar | -------------------------------------------------------------------------------- +
The toolbar of the top level window is the only one described in this document, as the second one is defined by the viewers and specific to each of them. +
This toolbar is mainly a selection of the menu entries. +
New : New window with empty trace set. Open : open a trace set. Add Trace @@ -137,3 +154,6 @@ Delete current viewer Add viewer's specific insertion buttons are added here. + +Mathieu Desnoyers, June 2003 +