6 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.
8 This document describes the layout of the GUI in three sections : containers, menus and toolbars.
10 A status bar is also placed at the bottom of the window.
19 |->toolbar of the main window
20 |->toolbar of the currently selected viewer
32 Here is a short description of each menu entry
33 * by itself means a separator
37 *New -> *Empty trace set : open a new window with an empty trace set.
38 *Clone trace set : copy the content of the current window in a new
41 *Tab : Opens a new tab.
42 *Open : open a trace set. Calls a file selection dialog.
43 *Close : close the current window.
44 *Close Tab : close the current tab.
46 *Add trace : Add a trace to the window's traceset. Calls file selection dialog.
47 *Remove trace : Removes a trace from the traceset.
48 *Save : save the trace set. Calls a file save dialog of no current filename.
49 *Save as : save a trace set. Calls a file save dialog.
51 *Quit : quit the program.
53 - Edit ? (not needed for now)
56 *Zoom In : Multiply the zoom factor by a certain quantity.
57 *Zoom Out : Divide the zoom factor by a certain quantity.
58 *Zoom Extended : Show the entire traceset's largest time interval.
59 *Go to time : Keep same zoom, ask user for time to center view on and make
61 *Show time frame : ask user for time interval to show.
62 (modify zoom and current event in consequence)
64 - Tools (this is an example of how viewer's menu entries should look like)
65 *Move viewer up -> Moves the current viewer up one position.
66 *Move viewer down -> Moves the current viewer down one position.
67 *Remove : remove the current viewer
69 *DumpToFile -> *Dump Text (This is a text module which adds graphical menu
72 * (separator between text tools and graphical tools implies different function
73 to register each type of menu entries)
74 *Insert Events View : insert this type of viewer
75 *Insert ControlFlow View
77 *Load module : ask the user a module to load (list modules in search path).
78 *Unload module : list all modules, click to choose, then unload button.
79 *Add module search path : ask user for a new path (file selection dialog).
82 //FIXME *Color : change the color of the currently selected element ?
83 *Filter : Show traceset's filter option window.
84 *Save configuration : Save the currently loaded modules/traceset/filters
88 (aligned to the right)
96 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.
98 So we have something like this :
100 --------------------------------------------------------------------------------
102 --------------------------------------------------------------------------------
103 | Toolbar of the top level window |
104 --------------------------------------------------------------------------------
105 | Toolbar of the current viewer |
106 --------------------------------------------------------------------------------
108 |-----------------------------------------------------------------------------||
109 ||viewers in vpaned ||
111 ||----------------------------------------------------------------------------||
112 --------------------------------------------------------------------------------
114 --------------------------------------------------------------------------------
117 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.
119 This toolbar is mainly a selection of the menu entries.
121 New : New window with empty trace set.
122 Open : open a trace set.
125 Save : save the current trace set.
129 (Show the current zoom factor, modifiable)
132 Go to time (shows time directly)
133 Show time frame (Could be a special field showing the time frame)
135 Move up current viewer
136 Move down current viewer
137 Delete current viewer
139 Add viewer's specific insertion buttons are added here.
142 Mathieu Desnoyers, June 2003