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>
11 <group name=
"accelgroup1"/>
13 <signal name=
"destroy_event" handler=
"on_destroy"/>
14 <signal name=
"delete_event" handler=
"on_destroy"/>
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>
21 <object class=
"GtkMenuBar" id=
"menubar1">
22 <property name=
"visible">True
</property>
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>
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"/>
47 <property name=
"expand">False
</property>
48 <property name=
"position">0</property>
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>
58 <object class=
"GtkHBox" id=
"hbox1">
59 <property name=
"visible">True
</property>
60 <property name=
"spacing">6</property>
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"/>
67 <object class=
"GtkCellRendererText" id=
"cellrenderertext1"/>
69 <attribute name=
"text">0</attribute>
74 <property name=
"expand">False
</property>
75 <property name=
"position">0</property>
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>
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"><b
>Distance:
</b
></property>
90 <property name=
"use_markup">True
</property>
93 <property name=
"x_options">GTK_FILL
</property>
94 <property name=
"y_options">GTK_FILL
</property>
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"><b
>Duration:
</b
></property>
102 <property name=
"use_markup">True
</property>
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>
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"><b
>Average:
</b
></property>
116 <property name=
"use_markup">True
</property>
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>
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"><b
>Moving average:
</b
></property>
130 <property name=
"use_markup">True
</property>
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>
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>
149 <property name=
"left_attach">1</property>
150 <property name=
"right_attach">2</property>
151 <property name=
"y_options">GTK_FILL
</property>
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>
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>
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>
177 <property name=
"left_attach">3</property>
178 <property name=
"right_attach">4</property>
179 <property name=
"y_options">GTK_FILL
</property>
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>
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>
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"><b
>Moving time:
</b
></property>
202 <property name=
"use_markup">True
</property>
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>
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>
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>
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"><b
>Max. speed:
</b
></property>
233 <property name=
"use_markup">True
</property>
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>
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>
251 <property name=
"left_attach">5</property>
252 <property name=
"right_attach">6</property>
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"><b
>Gps points:
</b
></property>
260 <property name=
"use_markup">True
</property>
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>
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>
277 <property name=
"left_attach">7</property>
278 <property name=
"right_attach">8</property>
289 <property name=
"position">1</property>
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"/>
302 <property name=
"expand">False
</property>
303 <property name=
"position">2</property>
310 <property name=
"expand">False
</property>
311 <property name=
"position">1</property>
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>
327 <property name=
"position">2</property>
331 <object class=
"GtkHBox" id=
"hbox2">
332 <property name=
"visible">True
</property>
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"/>
346 <property name=
"expand">False
</property>
347 <property name=
"position">1</property>
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">●</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"/>
362 <property name=
"expand">False
</property>
363 <property name=
"position">2</property>
367 <object class=
"GtkStatusbar" id=
"statusbar2">
368 <property name=
"visible">True
</property>
369 <property name=
"spacing">2</property>
372 <property name=
"pack_type">end
</property>
373 <property name=
"position">0</property>
378 <property name=
"expand">False
</property>
379 <property name=
"pack_type">end
</property>
380 <property name=
"position">3</property>
386 <object class=
"GtkAccelGroup" id=
"accelgroup1"/>
387 <object class=
"GtkListStore" id=
"routes_store">
389 <!-- column-name Name -->
390 <column type=
"gchararray"/>
391 <!-- column-name Route -->
392 <column type=
"gpointer"/>
395 <object class=
"GtkSizeGroup" id=
"heading_label_sizegroup">
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"/>
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>
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>