Highlight point on click
[gpx-viewer.git] / data / gpx-viewer.ui
blob412ac335f9a0a66250674836357f2840bcbef358
1 <?xml version="1.0"?>
2 <interface>
3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkWindow" id="gpx_viewer_window">
6 <property name="title" translatable="yes">GPX Viewer</property>
7 <property name="default_width">680</property>
8 <property name="default_height">480</property>
9 <property name="icon_name">gpxviewer</property>
10 <accel-groups>
11 <group name="accelgroup1"/>
12 </accel-groups>
13 <signal name="destroy_event" handler="on_destroy"/>
14 <signal name="delete_event" handler="on_destroy"/>
15 <child>
16 <object class="GtkVBox" id="gpx_viewer_vbox">
17 <property name="visible">True</property>
18 <property name="orientation">vertical</property>
19 <property name="spacing">6</property>
20 <child>
21 <object class="GtkMenuBar" id="menubar1">
22 <property name="visible">True</property>
23 <child>
24 <object class="GtkMenuItem" id="menuitem1">
25 <property name="visible">True</property>
26 <property name="label" translatable="yes">_File</property>
27 <property name="use_underline">True</property>
28 <child type="submenu">
29 <object class="GtkMenu" id="menu1">
30 <property name="visible">True</property>
31 <child>
32 <object class="GtkImageMenuItem" id="menu_quit">
33 <property name="label">gtk-quit</property>
34 <property name="visible">True</property>
35 <property name="use_underline">True</property>
36 <property name="use_stock">True</property>
37 <property name="accel_group">accelgroup1</property>
38 <signal name="activate" handler="on_destroy"/>
39 </object>
40 </child>
41 </object>
42 </child>
43 </object>
44 </child>
45 </object>
46 <packing>
47 <property name="expand">False</property>
48 <property name="position">0</property>
49 </packing>
50 </child>
51 <child>
52 <object class="GtkAlignment" id="alignment1">
53 <property name="visible">True</property>
54 <property name="xalign">0</property>
55 <property name="yalign">0</property>
56 <property name="yscale">0</property>
57 <child>
58 <object class="GtkHBox" id="hbox1">
59 <property name="visible">True</property>
60 <property name="spacing">6</property>
61 <child>
62 <object class="GtkComboBox" id="routes_combo">
63 <property name="visible">True</property>
64 <property name="model">routes_store</property>
65 <signal name="changed" handler="routes_combo_changed_cb"/>
66 <child>
67 <object class="GtkCellRendererText" id="cellrenderertext1"/>
68 <attributes>
69 <attribute name="text">0</attribute>
70 </attributes>
71 </child>
72 </object>
73 <packing>
74 <property name="expand">False</property>
75 <property name="position">0</property>
76 </packing>
77 </child>
78 <child>
79 <object class="GtkTable" id="table1">
80 <property name="visible">True</property>
81 <property name="n_rows">2</property>
82 <property name="n_columns">8</property>
83 <property name="column_spacing">6</property>
84 <property name="row_spacing">6</property>
85 <child>
86 <object class="GtkLabel" id="distance_title_label">
87 <property name="visible">True</property>
88 <property name="xalign">1</property>
89 <property name="label" translatable="yes">&lt;b&gt;Distance:&lt;/b&gt;</property>
90 <property name="use_markup">True</property>
91 </object>
92 <packing>
93 <property name="x_options">GTK_FILL</property>
94 <property name="y_options">GTK_FILL</property>
95 </packing>
96 </child>
97 <child>
98 <object class="GtkLabel" id="duration_title_label">
99 <property name="visible">True</property>
100 <property name="xalign">1</property>
101 <property name="label" translatable="yes">&lt;b&gt;Duration:&lt;/b&gt;</property>
102 <property name="use_markup">True</property>
103 </object>
104 <packing>
105 <property name="top_attach">1</property>
106 <property name="bottom_attach">2</property>
107 <property name="x_options">GTK_FILL</property>
108 <property name="y_options">GTK_FILL</property>
109 </packing>
110 </child>
111 <child>
112 <object class="GtkLabel" id="average_title_label">
113 <property name="visible">True</property>
114 <property name="xalign">1</property>
115 <property name="label" translatable="yes">&lt;b&gt;Average:&lt;/b&gt;</property>
116 <property name="use_markup">True</property>
117 </object>
118 <packing>
119 <property name="left_attach">2</property>
120 <property name="right_attach">3</property>
121 <property name="x_options">GTK_FILL</property>
122 <property name="y_options">GTK_FILL</property>
123 </packing>
124 </child>
125 <child>
126 <object class="GtkLabel" id="moving_average_title_label">
127 <property name="visible">True</property>
128 <property name="xalign">1</property>
129 <property name="label" translatable="yes">&lt;b&gt;Moving average:&lt;/b&gt;</property>
130 <property name="use_markup">True</property>
131 </object>
132 <packing>
133 <property name="left_attach">2</property>
134 <property name="right_attach">3</property>
135 <property name="top_attach">1</property>
136 <property name="bottom_attach">2</property>
137 <property name="x_options">GTK_FILL</property>
138 <property name="y_options">GTK_FILL</property>
139 </packing>
140 </child>
141 <child>
142 <object class="GtkLabel" id="distance_label">
143 <property name="visible">True</property>
144 <property name="xalign">0</property>
145 <property name="label" translatable="yes">n/a</property>
146 <property name="ellipsize">end</property>
147 </object>
148 <packing>
149 <property name="left_attach">1</property>
150 <property name="right_attach">2</property>
151 <property name="y_options">GTK_FILL</property>
152 </packing>
153 </child>
154 <child>
155 <object class="GtkLabel" id="duration_label">
156 <property name="visible">True</property>
157 <property name="xalign">0</property>
158 <property name="label" translatable="yes">n/a</property>
159 <property name="ellipsize">end</property>
160 </object>
161 <packing>
162 <property name="left_attach">1</property>
163 <property name="right_attach">2</property>
164 <property name="top_attach">1</property>
165 <property name="bottom_attach">2</property>
166 <property name="y_options">GTK_FILL</property>
167 </packing>
168 </child>
169 <child>
170 <object class="GtkLabel" id="average_label">
171 <property name="visible">True</property>
172 <property name="xalign">0</property>
173 <property name="label" translatable="yes">n/a</property>
174 <property name="ellipsize">end</property>
175 </object>
176 <packing>
177 <property name="left_attach">3</property>
178 <property name="right_attach">4</property>
179 <property name="y_options">GTK_FILL</property>
180 </packing>
181 </child>
182 <child>
183 <object class="GtkLabel" id="moving_average_label">
184 <property name="visible">True</property>
185 <property name="xalign">0</property>
186 <property name="label" translatable="yes">n/a</property>
187 <property name="ellipsize">end</property>
188 </object>
189 <packing>
190 <property name="left_attach">3</property>
191 <property name="right_attach">4</property>
192 <property name="top_attach">1</property>
193 <property name="bottom_attach">2</property>
194 <property name="y_options">GTK_FILL</property>
195 </packing>
196 </child>
197 <child>
198 <object class="GtkLabel" id="moving_averate_time_title_label">
199 <property name="visible">True</property>
200 <property name="xalign">1</property>
201 <property name="label" translatable="yes">&lt;b&gt;Moving time:&lt;/b&gt;</property>
202 <property name="use_markup">True</property>
203 </object>
204 <packing>
205 <property name="left_attach">4</property>
206 <property name="right_attach">5</property>
207 <property name="top_attach">1</property>
208 <property name="bottom_attach">2</property>
209 <property name="x_options">GTK_FILL</property>
210 <property name="y_options">GTK_FILL</property>
211 </packing>
212 </child>
213 <child>
214 <object class="GtkLabel" id="moving_average_time_label">
215 <property name="visible">True</property>
216 <property name="xalign">0</property>
217 <property name="label" translatable="yes">n/a</property>
218 <property name="ellipsize">end</property>
219 </object>
220 <packing>
221 <property name="left_attach">5</property>
222 <property name="right_attach">6</property>
223 <property name="top_attach">1</property>
224 <property name="bottom_attach">2</property>
225 <property name="y_options">GTK_FILL</property>
226 </packing>
227 </child>
228 <child>
229 <object class="GtkLabel" id="max_speed_title_label">
230 <property name="visible">True</property>
231 <property name="xalign">1</property>
232 <property name="label" translatable="yes">&lt;b&gt;Max. speed:&lt;/b&gt;</property>
233 <property name="use_markup">True</property>
234 </object>
235 <packing>
236 <property name="left_attach">4</property>
237 <property name="right_attach">5</property>
238 <property name="x_options">GTK_FILL</property>
239 <property name="y_options">GTK_FILL</property>
240 </packing>
241 </child>
242 <child>
243 <object class="GtkLabel" id="max_speed_label">
244 <property name="visible">True</property>
245 <property name="xalign">0</property>
246 <property name="xpad">1</property>
247 <property name="label" translatable="yes">n/a</property>
248 <property name="ellipsize">end</property>
249 </object>
250 <packing>
251 <property name="left_attach">5</property>
252 <property name="right_attach">6</property>
253 </packing>
254 </child>
255 <child>
256 <object class="GtkLabel" id="num_points_title_label">
257 <property name="visible">True</property>
258 <property name="xalign">1</property>
259 <property name="label" translatable="yes">&lt;b&gt;Gps points:&lt;/b&gt;</property>
260 <property name="use_markup">True</property>
261 </object>
262 <packing>
263 <property name="left_attach">6</property>
264 <property name="right_attach">7</property>
265 <property name="x_options">GTK_FILL</property>
266 <property name="y_options">GTK_FILL</property>
267 </packing>
268 </child>
269 <child>
270 <object class="GtkLabel" id="num_points_label">
271 <property name="visible">True</property>
272 <property name="xalign">0</property>
273 <property name="label" translatable="yes">n/a</property>
274 <property name="ellipsize">end</property>
275 </object>
276 <packing>
277 <property name="left_attach">7</property>
278 <property name="right_attach">8</property>
279 </packing>
280 </child>
281 <child>
282 <placeholder/>
283 </child>
284 <child>
285 <placeholder/>
286 </child>
287 </object>
288 <packing>
289 <property name="position">1</property>
290 </packing>
291 </child>
292 <child>
293 <object class="GtkCheckButton" id="route_visible_check_button">
294 <property name="label" translatable="yes">Show</property>
295 <property name="visible">True</property>
296 <property name="can_focus">True</property>
297 <property name="receives_default">False</property>
298 <property name="draw_indicator">True</property>
299 <signal name="toggled" handler="route_set_visible"/>
300 </object>
301 <packing>
302 <property name="expand">False</property>
303 <property name="position">2</property>
304 </packing>
305 </child>
306 </object>
307 </child>
308 </object>
309 <packing>
310 <property name="expand">False</property>
311 <property name="position">1</property>
312 </packing>
313 </child>
314 <child>
315 <object class="GtkVPaned" id="main_view_pane">
316 <property name="visible">True</property>
317 <property name="can_focus">True</property>
318 <property name="orientation">vertical</property>
319 <child>
320 <placeholder/>
321 </child>
322 <child>
323 <placeholder/>
324 </child>
325 </object>
326 <packing>
327 <property name="position">2</property>
328 </packing>
329 </child>
330 <child>
331 <object class="GtkHBox" id="hbox2">
332 <property name="visible">True</property>
333 <child>
334 <object class="GtkSpinButton" id="map_zoom_level">
335 <property name="visible">True</property>
336 <property name="can_focus">True</property>
337 <property name="tooltip_text" translatable="yes">Change the zoom level of the map.</property>
338 <property name="max_length">2</property>
339 <property name="width_chars">5</property>
340 <property name="primary_icon_stock">gtk-zoom-in</property>
341 <property name="adjustment">map_zoom_level_adjustment</property>
342 <property name="climb_rate">1</property>
343 <signal name="value_changed" handler="map_zoom_level_change_value_cb"/>
344 </object>
345 <packing>
346 <property name="expand">False</property>
347 <property name="position">1</property>
348 </packing>
349 </child>
350 <child>
351 <object class="GtkSpinButton" id="smooth_factor">
352 <property name="visible">True</property>
353 <property name="can_focus">True</property>
354 <property name="tooltip_text" translatable="yes">Change the smoothing factor used when plotting the speed graph.</property>
355 <property name="invisible_char">&#x25CF;</property>
356 <property name="adjustment">smooth_factor_adjustment</property>
357 <property name="climb_rate">1</property>
358 <property name="numeric">True</property>
359 <signal name="value_changed" handler="smooth_factor_change_value_cb"/>
360 </object>
361 <packing>
362 <property name="expand">False</property>
363 <property name="position">2</property>
364 </packing>
365 </child>
366 <child>
367 <object class="GtkStatusbar" id="statusbar2">
368 <property name="visible">True</property>
369 <property name="spacing">2</property>
370 </object>
371 <packing>
372 <property name="pack_type">end</property>
373 <property name="position">0</property>
374 </packing>
375 </child>
376 </object>
377 <packing>
378 <property name="expand">False</property>
379 <property name="pack_type">end</property>
380 <property name="position">3</property>
381 </packing>
382 </child>
383 </object>
384 </child>
385 </object>
386 <object class="GtkAccelGroup" id="accelgroup1"/>
387 <object class="GtkListStore" id="routes_store">
388 <columns>
389 <!-- column-name Name -->
390 <column type="gchararray"/>
391 <!-- column-name Route -->
392 <column type="gpointer"/>
393 </columns>
394 </object>
395 <object class="GtkSizeGroup" id="heading_label_sizegroup">
396 <widgets>
397 <widget name="distance_label"/>
398 <widget name="duration_label"/>
399 <widget name="average_label"/>
400 <widget name="moving_average_label"/>
401 <widget name="moving_average_time_label"/>
402 <widget name="max_speed_label"/>
403 <widget name="num_points_label"/>
404 </widgets>
405 </object>
406 <object class="GtkAdjustment" id="map_zoom_level_adjustment">
407 <property name="value">5</property>
408 <property name="lower">1</property>
409 <property name="upper">19</property>
410 <property name="step_increment">1</property>
411 <property name="page_increment">1</property>
412 <property name="page_size">1</property>
413 </object>
414 <object class="GtkAdjustment" id="smooth_factor_adjustment">
415 <property name="value">4</property>
416 <property name="lower">1</property>
417 <property name="upper">100</property>
418 <property name="step_increment">1</property>
419 <property name="page_increment">1</property>
420 <property name="page_size">1</property>
421 </object>
422 </interface>