Switching some layout stuff for better hiding of features and adding those hidings
[gonvert] / data / gonvert.glade
1 <?xml version="1.0"?>
2 <glade-interface>
3   <!-- interface-requires gtk+ 2.16 -->
4   <!-- interface-naming-policy toplevel-contextual -->
5   <widget class="GtkWindow" id="mainWindow">
6     <property name="visible">True</property>
7     <property name="title" translatable="yes">Gonvert</property>
8     <signal name="destroy" handler="on_main_window_destroy"/>
9     <signal name="size_allocate" handler="on_app1_size_allocate"/>
10     <child>
11       <widget class="GtkVBox" id="mainLayout">
12         <property name="visible">True</property>
13         <child>
14           <widget class="GtkMenuBar" id="mainMenuBar">
15             <property name="visible">True</property>
16             <child>
17               <widget class="GtkMenuItem" id="fileMenuItem">
18                 <property name="visible">True</property>
19                 <property name="label" translatable="yes">_File</property>
20                 <property name="use_underline">True</property>
21                 <child>
22                   <widget class="GtkMenu" id="fileMenu">
23                     <child>
24                       <widget class="GtkMenuItem" id="exitMenuItem">
25                         <property name="visible">True</property>
26                         <property name="label" translatable="yes">_Exit</property>
27                         <property name="use_underline">True</property>
28                         <signal name="activate" handler="on_exit_menu_activate"/>
29                         <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
30                       </widget>
31                     </child>
32                   </widget>
33                 </child>
34               </widget>
35             </child>
36             <child>
37               <widget class="GtkMenuItem" id="toolsMenuItem">
38                 <property name="visible">True</property>
39                 <property name="label" translatable="yes">_Tools</property>
40                 <property name="use_underline">True</property>
41                 <child>
42                   <widget class="GtkMenu" id="toolsMenu">
43                     <child>
44                       <widget class="GtkCheckMenuItem" id="editShortListMenuItem">
45                         <property name="visible">True</property>
46                         <property name="tooltip" translatable="yes">Show shortlist selections</property>
47                         <property name="label" translatable="yes">_Edit shortlist</property>
48                         <property name="use_underline">True</property>
49                         <signal name="activate" handler="on_editShortListMenuItem_activate"/>
50                       </widget>
51                     </child>
52                     <child>
53                       <widget class="GtkMenuItem" id="clearSelectionMenuItem">
54                         <property name="visible">True</property>
55                         <property name="tooltip" translatable="yes">Clear saved selections</property>
56                         <property name="label" translatable="yes">_Clear selections</property>
57                         <property name="use_underline">True</property>
58                         <signal name="activate" handler="on_clearSelectionMenuItem_activate"/>
59                       </widget>
60                     </child>
61                   </widget>
62                 </child>
63               </widget>
64             </child>
65             <child>
66               <widget class="GtkMenuItem" id="helpMenuItem">
67                 <property name="visible">True</property>
68                 <property name="label" translatable="yes">_Help</property>
69                 <property name="use_underline">True</property>
70                 <child>
71                   <widget class="GtkMenu" id="helpMenu">
72                     <child>
73                       <widget class="GtkMenuItem" id="aboutMenuItem">
74                         <property name="visible">True</property>
75                         <property name="label" translatable="yes">_About</property>
76                         <property name="use_underline">True</property>
77                         <signal name="activate" handler="on_aboutMenuItem_activate"/>
78                       </widget>
79                     </child>
80                   </widget>
81                 </child>
82               </widget>
83             </child>
84           </widget>
85           <packing>
86             <property name="expand">False</property>
87             <property name="fill">False</property>
88             <property name="position">0</property>
89           </packing>
90         </child>
91         <child>
92           <widget class="GtkHBox" id="hbox1">
93             <property name="visible">True</property>
94             <child>
95               <widget class="GtkScrolledWindow" id="categoryScrolledWindow">
96                 <property name="width_request">260</property>
97                 <property name="visible">True</property>
98                 <property name="can_focus">True</property>
99                 <property name="hscrollbar_policy">automatic</property>
100                 <property name="vscrollbar_policy">automatic</property>
101                 <property name="shadow_type">in</property>
102                 <child>
103                   <widget class="GtkTreeView" id="categoryView">
104                     <property name="width_request">250</property>
105                     <property name="visible">True</property>
106                     <property name="can_focus">True</property>
107                     <property name="headers_visible">False</property>
108                     <signal name="cursor_changed" handler="on_categoryView_select_row"/>
109                   </widget>
110                 </child>
111               </widget>
112               <packing>
113                 <property name="position">0</property>
114               </packing>
115             </child>
116             <child>
117               <widget class="GtkVBox" id="unitConversionLayout">
118                 <property name="visible">True</property>
119                 <property name="orientation">vertical</property>
120                 <child>
121                   <widget class="GtkHBox" id="selectedUnitLayout">
122                     <property name="visible">True</property>
123                     <child>
124                       <widget class="GtkEntry" id="unitName">
125                         <property name="visible">True</property>
126                         <property name="can_focus">True</property>
127                         <property name="editable">False</property>
128                         <property name="invisible_char">&#x25CF;</property>
129                       </widget>
130                       <packing>
131                         <property name="position">0</property>
132                       </packing>
133                     </child>
134                     <child>
135                       <widget class="GtkEntry" id="unitValue">
136                         <property name="visible">True</property>
137                         <property name="can_focus">True</property>
138                         <property name="invisible_char">&#x25CF;</property>
139                         <signal name="changed" handler="on_unitValue_changed"/>
140                       </widget>
141                       <packing>
142                         <property name="position">1</property>
143                       </packing>
144                     </child>
145                     <child>
146                       <widget class="GtkLabel" id="unitSymbol">
147                         <property name="width_request">60</property>
148                         <property name="visible">True</property>
149                         <property name="xalign">0.10000000149011612</property>
150                       </widget>
151                       <packing>
152                         <property name="expand">False</property>
153                         <property name="fill">False</property>
154                         <property name="position">2</property>
155                       </packing>
156                     </child>
157                   </widget>
158                   <packing>
159                     <property name="expand">False</property>
160                     <property name="position">0</property>
161                   </packing>
162                 </child>
163                 <child>
164                   <widget class="GtkHBox" id="previousSelectedUnitLayout">
165                     <property name="visible">True</property>
166                     <child>
167                       <widget class="GtkEntry" id="previousUnitName">
168                         <property name="visible">True</property>
169                         <property name="can_focus">True</property>
170                         <property name="editable">False</property>
171                         <property name="invisible_char">&#x25CF;</property>
172                       </widget>
173                       <packing>
174                         <property name="position">0</property>
175                       </packing>
176                     </child>
177                     <child>
178                       <widget class="GtkEntry" id="previousUnitValue">
179                         <property name="visible">True</property>
180                         <property name="can_focus">True</property>
181                         <property name="invisible_char">&#x25CF;</property>
182                         <signal name="changed" handler="on_previousUnitValue_changed"/>
183                       </widget>
184                       <packing>
185                         <property name="position">1</property>
186                       </packing>
187                     </child>
188                     <child>
189                       <widget class="GtkLabel" id="previousUnitSymbol">
190                         <property name="width_request">60</property>
191                         <property name="visible">True</property>
192                         <property name="xalign">0.10000000149011612</property>
193                       </widget>
194                       <packing>
195                         <property name="expand">False</property>
196                         <property name="fill">False</property>
197                         <property name="position">2</property>
198                       </packing>
199                     </child>
200                   </widget>
201                   <packing>
202                     <property name="expand">False</property>
203                     <property name="position">1</property>
204                   </packing>
205                 </child>
206                 <child>
207                   <widget class="GtkVBox" id="vbox1">
208                     <property name="visible">True</property>
209                     <property name="orientation">vertical</property>
210                     <child>
211                       <widget class="GtkScrolledWindow" id="unitsViewScrolledWindow">
212                         <property name="height_request">300</property>
213                         <property name="visible">True</property>
214                         <property name="can_focus">True</property>
215                         <property name="hscrollbar_policy">automatic</property>
216                         <property name="vscrollbar_policy">automatic</property>
217                         <property name="shadow_type">in</property>
218                         <child>
219                           <widget class="GtkTreeView" id="unitsView">
220                             <property name="visible">True</property>
221                             <property name="can_focus">True</property>
222                             <signal name="cursor_changed" handler="on_unitsView_cursor_changed"/>
223                           </widget>
224                         </child>
225                       </widget>
226                       <packing>
227                         <property name="position">0</property>
228                       </packing>
229                     </child>
230                     <child>
231                       <widget class="GtkScrolledWindow" id="unitDescriptionScrolledWindow">
232                         <property name="visible">True</property>
233                         <property name="can_focus">True</property>
234                         <property name="hscrollbar_policy">automatic</property>
235                         <property name="vscrollbar_policy">automatic</property>
236                         <property name="shadow_type">in</property>
237                         <child>
238                           <widget class="GtkViewport" id="viewport1">
239                             <property name="visible">True</property>
240                             <property name="resize_mode">queue</property>
241                             <child>
242                               <widget class="GtkTextView" id="unitDescription">
243                                 <property name="visible">True</property>
244                                 <property name="can_focus">True</property>
245                                 <property name="editable">False</property>
246                                 <property name="wrap_mode">word</property>
247                               </widget>
248                             </child>
249                           </widget>
250                         </child>
251                       </widget>
252                       <packing>
253                         <property name="position">1</property>
254                       </packing>
255                     </child>
256                   </widget>
257                   <packing>
258                     <property name="position">2</property>
259                   </packing>
260                 </child>
261                 <child>
262                   <widget class="GtkHBox" id="searchLayout">
263                     <property name="visible">True</property>
264                     <child>
265                       <widget class="GtkEntry" id="findEntry">
266                         <property name="visible">True</property>
267                         <property name="can_focus">True</property>
268                         <property name="tooltip" translatable="yes">Enter unit to find here</property>
269                         <property name="invisible_char">&#x25CF;</property>
270                         <signal name="changed" handler="on_findEntry_changed"/>
271                         <signal name="activate" handler="on_findEntry_activated"/>
272                       </widget>
273                       <packing>
274                         <property name="expand">False</property>
275                         <property name="position">0</property>
276                       </packing>
277                     </child>
278                     <child>
279                       <widget class="GtkButton" id="findButton">
280                         <property name="label" translatable="yes">Find</property>
281                         <property name="visible">True</property>
282                         <property name="can_focus">True</property>
283                         <property name="receives_default">True</property>
284                         <property name="use_underline">True</property>
285                         <signal name="clicked" handler="on_findButton_clicked"/>
286                         <accelerator key="F6" signal="clicked"/>
287                       </widget>
288                       <packing>
289                         <property name="expand">False</property>
290                         <property name="fill">False</property>
291                         <property name="position">1</property>
292                       </packing>
293                     </child>
294                     <child>
295                       <widget class="GtkLabel" id="findLabel">
296                         <property name="visible">True</property>
297                         <property name="label" translatable="yes">Press to find text.</property>
298                         <property name="justify">center</property>
299                       </widget>
300                       <packing>
301                         <property name="expand">False</property>
302                         <property name="fill">False</property>
303                         <property name="position">2</property>
304                       </packing>
305                     </child>
306                     <child>
307                       <widget class="GtkVSeparator" id="vseparator1">
308                         <property name="visible">True</property>
309                         <property name="orientation">vertical</property>
310                       </widget>
311                       <packing>
312                         <property name="expand">False</property>
313                         <property name="fill">False</property>
314                         <property name="position">3</property>
315                       </packing>
316                     </child>
317                     <child>
318                       <widget class="GtkCheckButton" id="shortlistcheck">
319                         <property name="label" translatable="yes">Shortlist</property>
320                         <property name="visible">True</property>
321                         <property name="can_focus">True</property>
322                         <property name="receives_default">False</property>
323                         <property name="use_underline">True</property>
324                         <property name="draw_indicator">True</property>
325                         <signal name="toggled" handler="on_shortlistcheck_toggled"/>
326                       </widget>
327                       <packing>
328                         <property name="expand">False</property>
329                         <property name="fill">False</property>
330                         <property name="pack_type">end</property>
331                         <property name="position">4</property>
332                       </packing>
333                     </child>
334                   </widget>
335                   <packing>
336                     <property name="expand">False</property>
337                     <property name="fill">False</property>
338                     <property name="position">3</property>
339                   </packing>
340                 </child>
341               </widget>
342               <packing>
343                 <property name="position">1</property>
344               </packing>
345             </child>
346           </widget>
347           <packing>
348             <property name="position">1</property>
349           </packing>
350         </child>
351       </widget>
352     </child>
353   </widget>
354 </glade-interface>