Fix heading sizing, and fix keybinding
[gpx-viewer.git] / data / gpx-viewer.ui
blob91a21693a51a5482fb1b159657434cc925ec2685
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 <accel-groups>
10 <group name="accelgroup1"/>
11 </accel-groups>
12 <signal name="destroy_event" handler="on_destroy"/>
13 <signal name="delete_event" handler="on_destroy"/>
14 <child>
15 <object class="GtkVBox" id="gpx_viewer_vbox">
16 <property name="visible">True</property>
17 <property name="orientation">vertical</property>
18 <property name="spacing">6</property>
19 <child>
20 <object class="GtkMenuBar" id="menubar1">
21 <property name="visible">True</property>
22 <child>
23 <object class="GtkMenuItem" id="menuitem1">
24 <property name="visible">True</property>
25 <property name="label" translatable="yes">_File</property>
26 <property name="use_underline">True</property>
27 <child type="submenu">
28 <object class="GtkMenu" id="menu1">
29 <property name="visible">True</property>
30 <child>
31 <object class="GtkImageMenuItem" id="menu_quit">
32 <property name="label">gtk-quit</property>
33 <property name="visible">True</property>
34 <property name="use_underline">True</property>
35 <property name="use_stock">True</property>
36 <property name="accel_group">accelgroup1</property>
37 <signal name="activate" handler="on_destroy"/>
38 </object>
39 </child>
40 </object>
41 </child>
42 </object>
43 </child>
44 </object>
45 <packing>
46 <property name="expand">False</property>
47 <property name="position">0</property>
48 </packing>
49 </child>
50 <child>
51 <object class="GtkAlignment" id="alignment1">
52 <property name="visible">True</property>
53 <property name="xalign">0</property>
54 <property name="yalign">0</property>
55 <property name="yscale">0</property>
56 <child>
57 <object class="GtkHBox" id="hbox1">
58 <property name="visible">True</property>
59 <property name="spacing">6</property>
60 <child>
61 <object class="GtkComboBox" id="routes_combo">
62 <property name="visible">True</property>
63 <property name="model">routes_store</property>
64 <signal name="changed" handler="routes_combo_changed_cb"/>
65 <child>
66 <object class="GtkCellRendererText" id="cellrenderertext1"/>
67 <attributes>
68 <attribute name="text">0</attribute>
69 </attributes>
70 </child>
71 </object>
72 <packing>
73 <property name="expand">False</property>
74 <property name="position">0</property>
75 </packing>
76 </child>
77 <child>
78 <object class="GtkTable" id="table1">
79 <property name="visible">True</property>
80 <property name="n_rows">2</property>
81 <property name="n_columns">8</property>
82 <property name="column_spacing">6</property>
83 <property name="row_spacing">6</property>
84 <child>
85 <object class="GtkLabel" id="distance_title_label">
86 <property name="visible">True</property>
87 <property name="xalign">1</property>
88 <property name="label" translatable="yes">&lt;b&gt;Distance:&lt;/b&gt;</property>
89 <property name="use_markup">True</property>
90 </object>
91 <packing>
92 <property name="x_options">GTK_FILL</property>
93 <property name="y_options">GTK_FILL</property>
94 </packing>
95 </child>
96 <child>
97 <object class="GtkLabel" id="duration_title_label">
98 <property name="visible">True</property>
99 <property name="xalign">1</property>
100 <property name="label" translatable="yes">&lt;b&gt;Duration:&lt;/b&gt;</property>
101 <property name="use_markup">True</property>
102 </object>
103 <packing>
104 <property name="top_attach">1</property>
105 <property name="bottom_attach">2</property>
106 <property name="x_options">GTK_FILL</property>
107 <property name="y_options">GTK_FILL</property>
108 </packing>
109 </child>
110 <child>
111 <object class="GtkLabel" id="average_title_label">
112 <property name="visible">True</property>
113 <property name="xalign">1</property>
114 <property name="label" translatable="yes">&lt;b&gt;Average:&lt;/b&gt;</property>
115 <property name="use_markup">True</property>
116 </object>
117 <packing>
118 <property name="left_attach">2</property>
119 <property name="right_attach">3</property>
120 <property name="x_options">GTK_FILL</property>
121 <property name="y_options">GTK_FILL</property>
122 </packing>
123 </child>
124 <child>
125 <object class="GtkLabel" id="moving_average_title_label">
126 <property name="visible">True</property>
127 <property name="xalign">1</property>
128 <property name="label" translatable="yes">&lt;b&gt;Moving average:&lt;/b&gt;</property>
129 <property name="use_markup">True</property>
130 </object>
131 <packing>
132 <property name="left_attach">2</property>
133 <property name="right_attach">3</property>
134 <property name="top_attach">1</property>
135 <property name="bottom_attach">2</property>
136 <property name="x_options">GTK_FILL</property>
137 <property name="y_options">GTK_FILL</property>
138 </packing>
139 </child>
140 <child>
141 <object class="GtkLabel" id="distance_label">
142 <property name="visible">True</property>
143 <property name="xalign">0</property>
144 <property name="label" translatable="yes">n/a</property>
145 <property name="ellipsize">end</property>
146 </object>
147 <packing>
148 <property name="left_attach">1</property>
149 <property name="right_attach">2</property>
150 <property name="y_options">GTK_FILL</property>
151 </packing>
152 </child>
153 <child>
154 <object class="GtkLabel" id="duration_label">
155 <property name="visible">True</property>
156 <property name="xalign">0</property>
157 <property name="label" translatable="yes">n/a</property>
158 <property name="ellipsize">end</property>
159 </object>
160 <packing>
161 <property name="left_attach">1</property>
162 <property name="right_attach">2</property>
163 <property name="top_attach">1</property>
164 <property name="bottom_attach">2</property>
165 <property name="y_options">GTK_FILL</property>
166 </packing>
167 </child>
168 <child>
169 <object class="GtkLabel" id="average_label">
170 <property name="visible">True</property>
171 <property name="xalign">0</property>
172 <property name="label" translatable="yes">n/a</property>
173 <property name="ellipsize">end</property>
174 </object>
175 <packing>
176 <property name="left_attach">3</property>
177 <property name="right_attach">4</property>
178 <property name="y_options">GTK_FILL</property>
179 </packing>
180 </child>
181 <child>
182 <object class="GtkLabel" id="moving_average_label">
183 <property name="visible">True</property>
184 <property name="xalign">0</property>
185 <property name="label" translatable="yes">n/a</property>
186 <property name="ellipsize">end</property>
187 </object>
188 <packing>
189 <property name="left_attach">3</property>
190 <property name="right_attach">4</property>
191 <property name="top_attach">1</property>
192 <property name="bottom_attach">2</property>
193 <property name="y_options">GTK_FILL</property>
194 </packing>
195 </child>
196 <child>
197 <object class="GtkLabel" id="moving_averate_time_title_label">
198 <property name="visible">True</property>
199 <property name="xalign">1</property>
200 <property name="label" translatable="yes">&lt;b&gt;Moving time:&lt;/b&gt;</property>
201 <property name="use_markup">True</property>
202 </object>
203 <packing>
204 <property name="left_attach">4</property>
205 <property name="right_attach">5</property>
206 <property name="top_attach">1</property>
207 <property name="bottom_attach">2</property>
208 <property name="x_options">GTK_FILL</property>
209 <property name="y_options">GTK_FILL</property>
210 </packing>
211 </child>
212 <child>
213 <object class="GtkLabel" id="moving_average_time_label">
214 <property name="visible">True</property>
215 <property name="xalign">0</property>
216 <property name="label" translatable="yes">n/a</property>
217 <property name="ellipsize">end</property>
218 </object>
219 <packing>
220 <property name="left_attach">5</property>
221 <property name="right_attach">6</property>
222 <property name="top_attach">1</property>
223 <property name="bottom_attach">2</property>
224 <property name="y_options">GTK_FILL</property>
225 </packing>
226 </child>
227 <child>
228 <object class="GtkLabel" id="max_speed_title_label">
229 <property name="visible">True</property>
230 <property name="xalign">1</property>
231 <property name="label" translatable="yes">&lt;b&gt;Max. speed:&lt;/b&gt;</property>
232 <property name="use_markup">True</property>
233 </object>
234 <packing>
235 <property name="left_attach">4</property>
236 <property name="right_attach">5</property>
237 <property name="x_options">GTK_FILL</property>
238 <property name="y_options">GTK_FILL</property>
239 </packing>
240 </child>
241 <child>
242 <object class="GtkLabel" id="max_speed_label">
243 <property name="visible">True</property>
244 <property name="xalign">0</property>
245 <property name="xpad">1</property>
246 <property name="label" translatable="yes">n/a</property>
247 <property name="ellipsize">end</property>
248 </object>
249 <packing>
250 <property name="left_attach">5</property>
251 <property name="right_attach">6</property>
252 </packing>
253 </child>
254 <child>
255 <object class="GtkLabel" id="num_points_title_label">
256 <property name="visible">True</property>
257 <property name="xalign">1</property>
258 <property name="label" translatable="yes">&lt;b&gt;Gps points:&lt;/b&gt;</property>
259 <property name="use_markup">True</property>
260 </object>
261 <packing>
262 <property name="left_attach">6</property>
263 <property name="right_attach">7</property>
264 <property name="x_options">GTK_FILL</property>
265 <property name="y_options">GTK_FILL</property>
266 </packing>
267 </child>
268 <child>
269 <object class="GtkLabel" id="num_points_label">
270 <property name="visible">True</property>
271 <property name="xalign">0</property>
272 <property name="label" translatable="yes">n/a</property>
273 <property name="ellipsize">end</property>
274 </object>
275 <packing>
276 <property name="left_attach">7</property>
277 <property name="right_attach">8</property>
278 </packing>
279 </child>
280 <child>
281 <placeholder/>
282 </child>
283 <child>
284 <placeholder/>
285 </child>
286 </object>
287 <packing>
288 <property name="position">1</property>
289 </packing>
290 </child>
291 </object>
292 </child>
293 </object>
294 <packing>
295 <property name="expand">False</property>
296 <property name="position">1</property>
297 </packing>
298 </child>
299 <child>
300 <object class="GtkVPaned" id="main_view_pane">
301 <property name="visible">True</property>
302 <property name="can_focus">True</property>
303 <property name="orientation">vertical</property>
304 <child>
305 <placeholder/>
306 </child>
307 <child>
308 <placeholder/>
309 </child>
310 </object>
311 <packing>
312 <property name="position">2</property>
313 </packing>
314 </child>
315 <child>
316 <object class="GtkStatusbar" id="statusbar2">
317 <property name="visible">True</property>
318 <property name="spacing">2</property>
319 </object>
320 <packing>
321 <property name="expand">False</property>
322 <property name="pack_type">end</property>
323 <property name="position">3</property>
324 </packing>
325 </child>
326 </object>
327 </child>
328 </object>
329 <object class="GtkAccelGroup" id="accelgroup1"/>
330 <object class="GtkListStore" id="routes_store">
331 <columns>
332 <!-- column-name Name -->
333 <column type="gchararray"/>
334 <!-- column-name Route -->
335 <column type="gpointer"/>
336 </columns>
337 </object>
338 <object class="GtkSizeGroup" id="heading_label_sizegroup">
339 <widgets>
340 <widget name="num_points_label"/>
341 <widget name="max_speed_label"/>
342 <widget name="moving_average_time_label"/>
343 <widget name="moving_average_label"/>
344 <widget name="average_label"/>
345 <widget name="duration_label"/>
346 <widget name="distance_label"/>
347 </widgets>
348 </object>
349 </interface>