Add preliminary aoview code
[fw/altos] / aoview / aoview.glade
1 <?xml version="1.0"?>
2 <glade-interface>
3   <!-- interface-requires gtk+ 2.16 -->
4   <!-- interface-naming-policy project-wide -->
5   <widget class="GtkWindow" id="aoview">
6     <property name="width_request">300</property>
7     <property name="height_request">300</property>
8     <property name="visible">True</property>
9     <property name="title" translatable="yes">AltOS View</property>
10     <child>
11       <widget class="GtkVBox" id="vbox1">
12         <property name="visible">True</property>
13         <property name="orientation">vertical</property>
14         <child>
15           <widget class="GtkMenuBar" id="menubar1">
16             <property name="visible">True</property>
17             <child>
18               <widget class="GtkMenuItem" id="menuitem1">
19                 <property name="visible">True</property>
20                 <property name="label" translatable="yes">_File</property>
21                 <property name="use_underline">True</property>
22                 <child>
23                   <widget class="GtkMenu" id="menu1">
24                     <property name="visible">True</property>
25                     <child>
26                       <widget class="GtkImageMenuItem" id="imagemenuitem1">
27                         <property name="label">gtk-new</property>
28                         <property name="visible">True</property>
29                         <property name="use_underline">True</property>
30                         <property name="use_stock">True</property>
31                       </widget>
32                     </child>
33                     <child>
34                       <widget class="GtkImageMenuItem" id="imagemenuitem2">
35                         <property name="label">gtk-open</property>
36                         <property name="visible">True</property>
37                         <property name="use_underline">True</property>
38                         <property name="use_stock">True</property>
39                       </widget>
40                     </child>
41                     <child>
42                       <widget class="GtkImageMenuItem" id="imagemenuitem3">
43                         <property name="label">gtk-save</property>
44                         <property name="visible">True</property>
45                         <property name="use_underline">True</property>
46                         <property name="use_stock">True</property>
47                       </widget>
48                     </child>
49                     <child>
50                       <widget class="GtkImageMenuItem" id="imagemenuitem4">
51                         <property name="label">gtk-save-as</property>
52                         <property name="visible">True</property>
53                         <property name="use_underline">True</property>
54                         <property name="use_stock">True</property>
55                       </widget>
56                     </child>
57                     <child>
58                       <widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
59                         <property name="visible">True</property>
60                       </widget>
61                     </child>
62                     <child>
63                       <widget class="GtkImageMenuItem" id="imagemenuitem5">
64                         <property name="label">gtk-quit</property>
65                         <property name="visible">True</property>
66                         <property name="use_underline">True</property>
67                         <property name="use_stock">True</property>
68                         <signal name="activate" handler="gtk_main_quit"/>
69                       </widget>
70                     </child>
71                   </widget>
72                 </child>
73               </widget>
74             </child>
75             <child>
76               <widget class="GtkMenuItem" id="menuitem2">
77                 <property name="visible">True</property>
78                 <property name="label" translatable="yes">_Edit</property>
79                 <property name="use_underline">True</property>
80                 <child>
81                   <widget class="GtkMenu" id="menu2">
82                     <property name="visible">True</property>
83                     <child>
84                       <widget class="GtkImageMenuItem" id="imagemenuitem6">
85                         <property name="label">gtk-cut</property>
86                         <property name="visible">True</property>
87                         <property name="use_underline">True</property>
88                         <property name="use_stock">True</property>
89                       </widget>
90                     </child>
91                     <child>
92                       <widget class="GtkImageMenuItem" id="imagemenuitem7">
93                         <property name="label">gtk-copy</property>
94                         <property name="visible">True</property>
95                         <property name="use_underline">True</property>
96                         <property name="use_stock">True</property>
97                       </widget>
98                     </child>
99                     <child>
100                       <widget class="GtkImageMenuItem" id="imagemenuitem8">
101                         <property name="label">gtk-paste</property>
102                         <property name="visible">True</property>
103                         <property name="use_underline">True</property>
104                         <property name="use_stock">True</property>
105                       </widget>
106                     </child>
107                     <child>
108                       <widget class="GtkImageMenuItem" id="imagemenuitem9">
109                         <property name="label">gtk-delete</property>
110                         <property name="visible">True</property>
111                         <property name="use_underline">True</property>
112                         <property name="use_stock">True</property>
113                       </widget>
114                     </child>
115                   </widget>
116                 </child>
117               </widget>
118             </child>
119             <child>
120               <widget class="GtkMenuItem" id="menuitem3">
121                 <property name="visible">True</property>
122                 <property name="label" translatable="yes">_Device</property>
123                 <property name="use_underline">True</property>
124                 <child>
125                   <widget class="GtkMenu" id="menu4">
126                     <property name="visible">True</property>
127                     <child>
128                       <widget class="GtkImageMenuItem" id="ao_connect">
129                         <property name="label" translatable="yes">_Connect to device</property>
130                         <property name="visible">True</property>
131                         <property name="use_underline">True</property>
132                         <property name="use_stock">False</property>
133                         <signal name="activate_item" handler="gtk_widget_show" object="device_connect_dialog" after="yes"/>
134                         <signal name="activate" handler="gtk_widget_show" object="device_connect_dialog" after="yes"/>
135                         <child internal-child="image">
136                           <widget class="GtkImage" id="image1">
137                             <property name="visible">True</property>
138                             <property name="stock">gtk-connect</property>
139                           </widget>
140                         </child>
141                       </widget>
142                     </child>
143                     <child>
144                       <widget class="GtkImageMenuItem" id="ao_disconnect">
145                         <property name="label" translatable="yes">_Disconnect</property>
146                         <property name="visible">True</property>
147                         <property name="use_underline">True</property>
148                         <property name="use_stock">False</property>
149                         <child internal-child="image">
150                           <widget class="GtkImage" id="image2">
151                             <property name="visible">True</property>
152                             <property name="stock">gtk-disconnect</property>
153                           </widget>
154                         </child>
155                       </widget>
156                     </child>
157                   </widget>
158                 </child>
159               </widget>
160             </child>
161             <child>
162               <widget class="GtkMenuItem" id="menuitem4">
163                 <property name="visible">True</property>
164                 <property name="label" translatable="yes">_Help</property>
165                 <property name="use_underline">True</property>
166                 <child>
167                   <widget class="GtkMenu" id="menu3">
168                     <property name="visible">True</property>
169                     <child>
170                       <widget class="GtkImageMenuItem" id="imagemenuitem10">
171                         <property name="label">gtk-about</property>
172                         <property name="visible">True</property>
173                         <property name="use_underline">True</property>
174                         <property name="use_stock">True</property>
175                       </widget>
176                     </child>
177                   </widget>
178                 </child>
179               </widget>
180             </child>
181           </widget>
182           <packing>
183             <property name="expand">False</property>
184             <property name="position">0</property>
185           </packing>
186         </child>
187         <child>
188           <widget class="GtkTable" id="table1">
189             <property name="visible">True</property>
190             <property name="n_rows">7</property>
191             <property name="n_columns">2</property>
192             <child>
193               <widget class="GtkLabel" id="altitude_label">
194                 <property name="visible">True</property>
195                 <property name="label" translatable="yes">Altitude</property>
196               </widget>
197             </child>
198             <child>
199               <widget class="GtkLabel" id="label2">
200                 <property name="visible">True</property>
201                 <property name="label" translatable="yes">Velocity</property>
202               </widget>
203               <packing>
204                 <property name="top_attach">1</property>
205                 <property name="bottom_attach">2</property>
206               </packing>
207             </child>
208             <child>
209               <widget class="GtkLabel" id="label3">
210                 <property name="visible">True</property>
211                 <property name="label" translatable="yes">Acceleration</property>
212               </widget>
213               <packing>
214                 <property name="top_attach">2</property>
215                 <property name="bottom_attach">3</property>
216               </packing>
217             </child>
218             <child>
219               <widget class="GtkLabel" id="label4">
220                 <property name="visible">True</property>
221                 <property name="label" translatable="yes">Latitude</property>
222               </widget>
223               <packing>
224                 <property name="top_attach">3</property>
225                 <property name="bottom_attach">4</property>
226               </packing>
227             </child>
228             <child>
229               <widget class="GtkLabel" id="label5">
230                 <property name="visible">True</property>
231                 <property name="label" translatable="yes">Longitude</property>
232               </widget>
233               <packing>
234                 <property name="top_attach">4</property>
235                 <property name="bottom_attach">5</property>
236               </packing>
237             </child>
238             <child>
239               <widget class="GtkLabel" id="label6">
240                 <property name="visible">True</property>
241                 <property name="label" translatable="yes">Range</property>
242               </widget>
243               <packing>
244                 <property name="top_attach">5</property>
245                 <property name="bottom_attach">6</property>
246               </packing>
247             </child>
248             <child>
249               <widget class="GtkLabel" id="label7">
250                 <property name="visible">True</property>
251                 <property name="label" translatable="yes">Direction</property>
252               </widget>
253               <packing>
254                 <property name="top_attach">6</property>
255                 <property name="bottom_attach">7</property>
256               </packing>
257             </child>
258             <child>
259               <widget class="GtkLabel" id="altitude_value">
260                 <property name="visible">True</property>
261                 <property name="label" translatable="yes">0m</property>
262                 <property name="selectable">True</property>
263                 <property name="single_line_mode">True</property>
264               </widget>
265               <packing>
266                 <property name="left_attach">1</property>
267                 <property name="right_attach">2</property>
268               </packing>
269             </child>
270             <child>
271               <widget class="GtkLabel" id="vel_value">
272                 <property name="visible">True</property>
273                 <property name="label" translatable="yes">150m/s</property>
274                 <property name="selectable">True</property>
275               </widget>
276               <packing>
277                 <property name="left_attach">1</property>
278                 <property name="right_attach">2</property>
279                 <property name="top_attach">1</property>
280                 <property name="bottom_attach">2</property>
281               </packing>
282             </child>
283             <child>
284               <widget class="GtkLabel" id="accel_value">
285                 <property name="visible">True</property>
286                 <property name="label" translatable="yes">50m/s&#xB2;</property>
287                 <property name="selectable">True</property>
288               </widget>
289               <packing>
290                 <property name="left_attach">1</property>
291                 <property name="right_attach">2</property>
292                 <property name="top_attach">2</property>
293                 <property name="bottom_attach">3</property>
294               </packing>
295             </child>
296             <child>
297               <widget class="GtkLabel" id="lat_value">
298                 <property name="visible">True</property>
299                 <property name="label" translatable="yes">45&#xB0; 31' 24''</property>
300                 <property name="selectable">True</property>
301               </widget>
302               <packing>
303                 <property name="left_attach">1</property>
304                 <property name="right_attach">2</property>
305                 <property name="top_attach">3</property>
306                 <property name="bottom_attach">4</property>
307               </packing>
308             </child>
309             <child>
310               <widget class="GtkLabel" id="lon_value">
311                 <property name="visible">True</property>
312                 <property name="label" translatable="yes">122&#xB0; 40' 34''W</property>
313                 <property name="selectable">True</property>
314               </widget>
315               <packing>
316                 <property name="left_attach">1</property>
317                 <property name="right_attach">2</property>
318                 <property name="top_attach">4</property>
319                 <property name="bottom_attach">5</property>
320               </packing>
321             </child>
322             <child>
323               <widget class="GtkLabel" id="range_value">
324                 <property name="visible">True</property>
325                 <property name="label" translatable="yes">500m</property>
326                 <property name="selectable">True</property>
327               </widget>
328               <packing>
329                 <property name="left_attach">1</property>
330                 <property name="right_attach">2</property>
331                 <property name="top_attach">5</property>
332                 <property name="bottom_attach">6</property>
333               </packing>
334             </child>
335             <child>
336               <widget class="GtkLabel" id="direction_value">
337                 <property name="visible">True</property>
338                 <property name="label" translatable="yes">45&#xB0;</property>
339                 <property name="selectable">True</property>
340               </widget>
341               <packing>
342                 <property name="left_attach">1</property>
343                 <property name="right_attach">2</property>
344                 <property name="top_attach">6</property>
345                 <property name="bottom_attach">7</property>
346               </packing>
347             </child>
348           </widget>
349           <packing>
350             <property name="position">1</property>
351           </packing>
352         </child>
353       </widget>
354     </child>
355   </widget>
356   <widget class="GtkDialog" id="device_connect_dialog">
357     <property name="border_width">5</property>
358     <property name="type_hint">normal</property>
359     <property name="has_separator">False</property>
360     <child internal-child="vbox">
361       <widget class="GtkVBox" id="dialog-vbox1">
362         <property name="visible">True</property>
363         <property name="orientation">vertical</property>
364         <property name="spacing">2</property>
365         <child>
366           <widget class="GtkTreeView" id="dev_list">
367             <property name="width_request">300</property>
368             <property name="height_request">100</property>
369             <property name="visible">True</property>
370             <property name="can_focus">True</property>
371             <property name="headers_clickable">False</property>
372             <property name="rules_hint">True</property>
373             <property name="search_column">0</property>
374             <property name="show_expanders">False</property>
375             <property name="level_indentation">1</property>
376             <property name="enable_grid_lines">both</property>
377             <property name="enable_tree_lines">True</property>
378           </widget>
379           <packing>
380             <property name="position">1</property>
381           </packing>
382         </child>
383         <child internal-child="action_area">
384           <widget class="GtkHButtonBox" id="dialog-action_area1">
385             <property name="visible">True</property>
386             <property name="layout_style">end</property>
387             <child>
388               <widget class="GtkButton" id="connect_button">
389                 <property name="label" translatable="yes">gtk-connect</property>
390                 <property name="visible">True</property>
391                 <property name="can_focus">True</property>
392                 <property name="receives_default">True</property>
393                 <property name="use_underline">True</property>
394                 <property name="use_stock">True</property>
395               </widget>
396               <packing>
397                 <property name="expand">False</property>
398                 <property name="fill">False</property>
399                 <property name="position">0</property>
400               </packing>
401             </child>
402             <child>
403               <widget class="GtkButton" id="cancel_button">
404                 <property name="label" translatable="yes">gtk-cancel</property>
405                 <property name="response_id">1</property>
406                 <property name="visible">True</property>
407                 <property name="can_focus">True</property>
408                 <property name="receives_default">True</property>
409                 <property name="use_underline">True</property>
410                 <property name="use_stock">True</property>
411                 <signal name="clicked" handler="gtk_widget_hide" object="device_connect_dialog" after="yes"/>
412               </widget>
413               <packing>
414                 <property name="expand">False</property>
415                 <property name="fill">False</property>
416                 <property name="position">1</property>
417               </packing>
418             </child>
419           </widget>
420           <packing>
421             <property name="expand">False</property>
422             <property name="pack_type">end</property>
423             <property name="position">0</property>
424           </packing>
425         </child>
426       </widget>
427     </child>
428   </widget>
429 </glade-interface>