The parent nodes could be showed/hided on the fly
[udev-discover:udev-discover.git] / udev-discover.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <requires lib="gtk+" version="2.16"/>
4   <!-- interface-naming-policy project-wide -->
5   <object class="GtkListStore" id="deviceprop_store">
6     <columns>
7       <!-- column-name Key -->
8       <column type="gchararray"/>
9       <!-- column-name Value -->
10       <column type="gchararray"/>
11     </columns>
12   </object>
13   <object class="GtkTreeStore" id="devices_treestore">
14     <columns>
15       <!-- column-name sysfs_path -->
16       <column type="gchararray"/>
17       <!-- column-name icon -->
18       <column type="GdkPixbuf"/>
19       <!-- column-name name -->
20       <column type="gchararray"/>
21       <!-- column-name subsystem -->
22       <column type="gchararray"/>
23     </columns>
24   </object>
25   <object class="GtkWindow" id="main_window">
26     <signal name="destroy" handler="quit_action_activate_cb"/>
27     <child>
28       <object class="GtkVBox" id="vbox1">
29         <property name="visible">True</property>
30         <child>
31           <object class="GtkMenuBar" id="menubar1">
32             <property name="visible">True</property>
33             <child>
34               <object class="GtkMenuItem" id="menuitem1">
35                 <property name="visible">True</property>
36                 <property name="label" translatable="yes">_Archivo</property>
37                 <property name="use_underline">True</property>
38                 <child type="submenu">
39                   <object class="GtkMenu" id="menu1">
40                     <property name="visible">True</property>
41                     <child>
42                       <object class="GtkImageMenuItem" id="quit_menuitem">
43                         <property name="visible">True</property>
44                         <property name="related_action">quit_action</property>
45                         <property name="use_action_appearance">True</property>
46                         <property name="use_underline">True</property>
47                         <property name="use_stock">True</property>
48                       </object>
49                     </child>
50                   </object>
51                 </child>
52               </object>
53             </child>
54             <child>
55               <object class="GtkMenuItem" id="menuitem3">
56                 <property name="visible">True</property>
57                 <property name="label" translatable="yes">_Ver</property>
58                 <property name="use_underline">True</property>
59                 <child type="submenu">
60                   <object class="GtkMenu" id="menu2">
61                     <property name="visible">True</property>
62                     <child>
63                       <object class="GtkImageMenuItem" id="menuitem2">
64                         <property name="visible">True</property>
65                         <property name="related_action">showparents_toggleaction</property>
66                         <property name="use_action_appearance">True</property>
67                         <property name="use_stock">True</property>
68                       </object>
69                     </child>
70                   </object>
71                 </child>
72               </object>
73             </child>
74             <child>
75               <object class="GtkMenuItem" id="menuitem4">
76                 <property name="visible">True</property>
77                 <property name="label" translatable="yes">Ay_uda</property>
78                 <property name="use_underline">True</property>
79                 <child type="submenu">
80                   <object class="GtkMenu" id="menu3">
81                     <property name="visible">True</property>
82                     <child>
83                       <object class="GtkImageMenuItem" id="help_menuitem">
84                         <property name="visible">True</property>
85                         <property name="related_action">help_action</property>
86                         <property name="use_action_appearance">True</property>
87                         <property name="use_underline">True</property>
88                         <property name="use_stock">True</property>
89                       </object>
90                     </child>
91                     <child>
92                       <object class="GtkImageMenuItem" id="about_menuitem">
93                         <property name="visible">True</property>
94                         <property name="related_action">about_action</property>
95                         <property name="use_action_appearance">True</property>
96                         <property name="use_underline">True</property>
97                         <property name="use_stock">True</property>
98                       </object>
99                     </child>
100                   </object>
101                 </child>
102               </object>
103             </child>
104           </object>
105           <packing>
106             <property name="expand">False</property>
107             <property name="position">0</property>
108           </packing>
109         </child>
110         <child>
111           <object class="GtkToolbar" id="toolbar1">
112             <property name="visible">True</property>
113             <child>
114               <object class="GtkToggleToolButton" id="parents_toolbtn">
115                 <property name="visible">True</property>
116                 <property name="related_action">showparents_toggleaction</property>
117                 <property name="use_action_appearance">True</property>
118                 <property name="label" translatable="yes">toolbutton3</property>
119                 <property name="use_underline">True</property>
120               </object>
121               <packing>
122                 <property name="expand">False</property>
123                 <property name="homogeneous">True</property>
124               </packing>
125             </child>
126             <child>
127               <object class="GtkSeparatorToolItem" id="toolbutton4">
128                 <property name="visible">True</property>
129               </object>
130               <packing>
131                 <property name="expand">False</property>
132                 <property name="homogeneous">True</property>
133               </packing>
134             </child>
135             <child>
136               <object class="GtkToolButton" id="toolbutton1">
137                 <property name="visible">True</property>
138                 <property name="related_action">help_action</property>
139                 <property name="use_action_appearance">True</property>
140                 <property name="label" translatable="yes">toolbutton1</property>
141                 <property name="use_underline">True</property>
142               </object>
143               <packing>
144                 <property name="expand">False</property>
145                 <property name="homogeneous">True</property>
146               </packing>
147             </child>
148             <child>
149               <object class="GtkToolButton" id="toolbutton2">
150                 <property name="visible">True</property>
151                 <property name="related_action">quit_action</property>
152                 <property name="use_action_appearance">True</property>
153                 <property name="label" translatable="yes">toolbutton2</property>
154                 <property name="use_underline">True</property>
155               </object>
156               <packing>
157                 <property name="expand">False</property>
158                 <property name="homogeneous">True</property>
159               </packing>
160             </child>
161           </object>
162           <packing>
163             <property name="expand">False</property>
164             <property name="position">1</property>
165           </packing>
166         </child>
167         <child>
168           <object class="GtkHPaned" id="devices_hpaned">
169             <property name="visible">True</property>
170             <property name="can_focus">True</property>
171             <child>
172               <object class="GtkScrolledWindow" id="scrolledwindow1">
173                 <property name="visible">True</property>
174                 <property name="can_focus">True</property>
175                 <property name="hscrollbar_policy">automatic</property>
176                 <property name="vscrollbar_policy">automatic</property>
177                 <child>
178                   <object class="GtkTreeView" id="devices_tv">
179                     <property name="visible">True</property>
180                     <property name="can_focus">True</property>
181                     <property name="model">devices_treestore</property>
182                     <property name="search_column">2</property>
183                     <signal name="cursor_changed" handler="devices_tv_cursor_changed_cb"/>
184                     <child>
185                       <object class="GtkTreeViewColumn" id="treeviewcolumn3">
186                         <property name="resizable">True</property>
187                         <property name="title">Device</property>
188                         <property name="expand">True</property>
189                         <property name="clickable">True</property>
190                         <property name="reorderable">True</property>
191                         <property name="sort_indicator">True</property>
192                         <property name="sort_column_id">2</property>
193                         <child>
194                           <object class="GtkCellRendererPixbuf" id="cellrendererpixbuf1"/>
195                           <attributes>
196                             <attribute name="pixbuf">1</attribute>
197                           </attributes>
198                         </child>
199                         <child>
200                           <object class="GtkCellRendererText" id="cellrenderertext3"/>
201                           <attributes>
202                             <attribute name="text">2</attribute>
203                           </attributes>
204                         </child>
205                       </object>
206                     </child>
207                     <child>
208                       <object class="GtkTreeViewColumn" id="treeviewcolumn4">
209                         <property name="title">Subsystem</property>
210                         <property name="clickable">True</property>
211                         <property name="reorderable">True</property>
212                         <property name="sort_indicator">True</property>
213                         <property name="sort_column_id">3</property>
214                         <child>
215                           <object class="GtkCellRendererText" id="cellrenderertext4"/>
216                           <attributes>
217                             <attribute name="text">3</attribute>
218                           </attributes>
219                         </child>
220                       </object>
221                     </child>
222                   </object>
223                 </child>
224               </object>
225               <packing>
226                 <property name="resize">False</property>
227                 <property name="shrink">True</property>
228               </packing>
229             </child>
230             <child>
231               <object class="GtkNotebook" id="notebook1">
232                 <property name="visible">True</property>
233                 <property name="can_focus">True</property>
234                 <child>
235                   <object class="GtkVBox" id="vbox2">
236                     <property name="visible">True</property>
237                     <child>
238                       <object class="GtkHBox" id="hbox2">
239                         <property name="visible">True</property>
240                         <child>
241                           <object class="GtkImage" id="device_icon">
242                             <property name="visible">True</property>
243                             <property name="stock">gtk-dialog-question</property>
244                             <property name="icon-size">6</property>
245                           </object>
246                           <packing>
247                             <property name="expand">False</property>
248                             <property name="padding">6</property>
249                             <property name="position">0</property>
250                           </packing>
251                         </child>
252                         <child>
253                           <object class="GtkLabel" id="devicename_label">
254                             <property name="visible">True</property>
255                             <property name="xalign">0</property>
256                             <property name="use_markup">True</property>
257                           </object>
258                           <packing>
259                             <property name="padding">6</property>
260                             <property name="position">1</property>
261                           </packing>
262                         </child>
263                       </object>
264                       <packing>
265                         <property name="expand">False</property>
266                         <property name="position">0</property>
267                       </packing>
268                     </child>
269                     <child>
270                       <object class="GtkLabel" id="devicedesc_label">
271                         <property name="visible">True</property>
272                         <property name="yalign">0</property>
273                         <property name="use_markup">True</property>
274                       </object>
275                       <packing>
276                         <property name="padding">6</property>
277                         <property name="position">1</property>
278                       </packing>
279                     </child>
280                   </object>
281                 </child>
282                 <child type="tab">
283                   <object class="GtkLabel" id="label1">
284                     <property name="visible">True</property>
285                     <property name="label" translatable="yes">Summary</property>
286                   </object>
287                   <packing>
288                     <property name="tab_fill">False</property>
289                   </packing>
290                 </child>
291                 <child>
292                   <object class="GtkScrolledWindow" id="scrolledwindow2">
293                     <property name="visible">True</property>
294                     <property name="can_focus">True</property>
295                     <property name="hscrollbar_policy">automatic</property>
296                     <property name="vscrollbar_policy">automatic</property>
297                     <child>
298                       <object class="GtkTreeView" id="deviceprop_tv">
299                         <property name="visible">True</property>
300                         <property name="can_focus">True</property>
301                         <property name="model">deviceprop_store</property>
302                         <property name="search_column">0</property>
303                         <child>
304                           <object class="GtkTreeViewColumn" id="treeviewcolumn1">
305                             <property name="resizable">True</property>
306                             <property name="title">Key</property>
307                             <property name="clickable">True</property>
308                             <property name="reorderable">True</property>
309                             <property name="sort_indicator">True</property>
310                             <property name="sort_column_id">0</property>
311                             <child>
312                               <object class="GtkCellRendererText" id="cellrenderertext1"/>
313                               <attributes>
314                                 <attribute name="text">0</attribute>
315                               </attributes>
316                             </child>
317                           </object>
318                         </child>
319                         <child>
320                           <object class="GtkTreeViewColumn" id="treeviewcolumn2">
321                             <property name="resizable">True</property>
322                             <property name="sizing">autosize</property>
323                             <property name="title">Value</property>
324                             <property name="clickable">True</property>
325                             <property name="reorderable">True</property>
326                             <property name="sort_indicator">True</property>
327                             <property name="sort_column_id">1</property>
328                             <child>
329                               <object class="GtkCellRendererText" id="cellrenderertext2"/>
330                               <attributes>
331                                 <attribute name="text">1</attribute>
332                               </attributes>
333                             </child>
334                           </object>
335                         </child>
336                       </object>
337                     </child>
338                   </object>
339                   <packing>
340                     <property name="position">1</property>
341                   </packing>
342                 </child>
343                 <child type="tab">
344                   <object class="GtkLabel" id="label2">
345                     <property name="visible">True</property>
346                     <property name="label" translatable="yes">Properties</property>
347                   </object>
348                   <packing>
349                     <property name="position">1</property>
350                     <property name="tab_fill">False</property>
351                   </packing>
352                 </child>
353                 <child>
354                   <placeholder/>
355                 </child>
356                 <child type="tab">
357                   <placeholder/>
358                 </child>
359               </object>
360               <packing>
361                 <property name="resize">True</property>
362                 <property name="shrink">True</property>
363               </packing>
364             </child>
365           </object>
366           <packing>
367             <property name="position">2</property>
368           </packing>
369         </child>
370       </object>
371     </child>
372   </object>
373   <object class="GtkAction" id="quit_action">
374     <property name="label">Quit</property>
375     <property name="short_label">Quit</property>
376     <property name="tooltip">Quit the application</property>
377     <property name="stock_id">gtk-quit</property>
378     <signal name="activate" handler="quit_action_activate_cb"/>
379   </object>
380   <object class="GtkAction" id="help_action">
381     <property name="label">Help</property>
382     <property name="short_label">Help</property>
383     <property name="tooltip">Get help</property>
384     <property name="stock_id">gtk-help</property>
385     <signal name="activate" handler="help_action_activate_cb"/>
386   </object>
387   <object class="GtkAboutDialog" id="about_dialog">
388     <property name="border_width">5</property>
389     <property name="window_position">center-on-parent</property>
390     <property name="destroy_with_parent">True</property>
391     <property name="type_hint">normal</property>
392     <property name="transient_for">main_window</property>
393     <property name="program_name">udev-discover</property>
394     <property name="version">0.1</property>
395     <property name="copyright" translatable="yes">Copyright © 2010 J. Félix Ontañón</property>
396     <property name="comments" translatable="yes">An udev based hardware discoverer</property>
397     <property name="website">http://fontanon.org</property>
398     <property name="authors">J. Félix Ontañón &lt;fontanon@emergya.es&gt;
399 Juanje Ojeda &lt;jojeda@emergya.es&gt;</property>
400     <child internal-child="vbox">
401       <object class="GtkVBox" id="dialog-vbox1">
402         <property name="visible">True</property>
403         <property name="spacing">2</property>
404         <child>
405           <placeholder/>
406         </child>
407         <child internal-child="action_area">
408           <object class="GtkHButtonBox" id="dialog-action_area1">
409             <property name="visible">True</property>
410             <property name="layout_style">end</property>
411           </object>
412           <packing>
413             <property name="expand">False</property>
414             <property name="pack_type">end</property>
415             <property name="position">0</property>
416           </packing>
417         </child>
418       </object>
419     </child>
420   </object>
421   <object class="GtkAction" id="about_action">
422     <property name="label">About</property>
423     <property name="short_label">About</property>
424     <property name="stock_id">gtk-about</property>
425     <signal name="activate" handler="about_action_activate_cb"/>
426   </object>
427   <object class="GtkToggleAction" id="showparents_toggleaction">
428     <property name="label" translatable="yes">Show parent tree</property>
429     <property name="short_label" translatable="yes">Parent tree</property>
430     <property name="tooltip" translatable="yes">Recursive displaying of devices parent</property>
431     <property name="stock_id">gtk-sort-ascending</property>
432     <property name="active">True</property>
433     <signal name="toggled" handler="showparents_toggleaction_toggled_cb"/>
434   </object>
435 </interface>