1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title>GUI Layout</title>
11 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.
14 This document describes the layout of the GUI in three sections : containers, menus and toolbars.
17 A status bar is also placed at the bottom of the window.
26 |->toolbar of the main window
27 |->toolbar of the currently selected viewer
40 Here is a short description of each menu entry
41 * by itself means a separator
45 *New -> *Empty trace set : open a new window with an empty trace set.
46 *Clone trace set : copy the content of the current window in a new
49 *Tab : Opens a new tab.
50 *Open : open a trace set. Calls a file selection dialog.
51 *Close : close the current window.
52 *Close Tab : close the current tab.
54 *Add trace : Add a trace to the window's traceset. Calls file selection dialog.
55 *Remove trace : Removes a trace from the traceset.
56 *Save : save the trace set. Calls a file save dialog of no current filename.
57 *Save as : save a trace set. Calls a file save dialog.
59 *Quit : quit the program.
61 - Edit ? (not needed for now)
64 *Zoom In : Multiply the zoom factor by a certain quantity.
65 *Zoom Out : Divide the zoom factor by a certain quantity.
66 *Zoom Extended : Show the entire traceset's largest time interval.
67 *Go to time : Keep same zoom, ask user for time to center view on and make
69 *Show time frame : ask user for time interval to show.
70 (modify zoom and current event in consequence)
72 - Tools (this is an example of how viewer's menu entries should look like)
73 *Move viewer up -> Moves the current viewer up one position.
74 *Move viewer down -> Moves the current viewer down one position.
75 *Remove : remove the current viewer
77 *DumpToFile -> *Dump Text (This is a text module which adds graphical menu
80 * (separator between text tools and graphical tools implies different function
81 to register each type of menu entries)
82 *Insert Events View : insert this type of viewer
83 *Insert ControlFlow View
85 *Load module : ask the user a module to load (list modules in search path).
86 *Unload module : list all modules, click to choose, then unload button.
87 *Add module search path : ask user for a new path (file selection dialog).
90 //FIXME *Color : change the color of the currently selected element ?
91 *Filter : Show traceset's filter option window.
92 *Save configuration : Save the currently loaded modules/traceset/filters
96 (aligned to the right)
106 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.
109 So we have something like this :
112 --------------------------------------------------------------------------------
114 --------------------------------------------------------------------------------
115 | Toolbar of the top level window |
116 --------------------------------------------------------------------------------
117 | Toolbar of the current viewer |
118 --------------------------------------------------------------------------------
120 |-----------------------------------------------------------------------------||
121 ||viewers in vpaned ||
123 ||----------------------------------------------------------------------------||
124 --------------------------------------------------------------------------------
126 --------------------------------------------------------------------------------
130 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.
133 This toolbar is mainly a selection of the menu entries.
136 New : New window with empty trace set.
137 Open : open a trace set.
140 Save : save the current trace set.
144 (Show the current zoom factor, modifiable)
147 Go to time (shows time directly)
148 Show time frame (Could be a special field showing the time frame)
150 Move up current viewer
151 Move down current viewer
152 Delete current viewer
154 Add viewer's specific insertion buttons are added here.
158 Mathieu Desnoyers, June 2003