Added custom psppire-selector widget.
[pspp-builds.git] / src / ui / gui / psppire.glade
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
3 <!--*- mode: xml -*-->
4 <glade-interface>
5   <requires lib="psppire"/>
6   <widget class="GtkAboutDialog" id="aboutdialog1">
7     <property name="name">PSPPire</property>
8     <property name="copyright">Free Software Foundation</property>
9     <property name="comments" translatable="yes">This is pre-alpha software.  Use at your own risk.</property>
10     <property name="license" translatable="yes">    This program is free software; you can redistribute it and/or modify
11     it under the terms of the GNU General Public License as published by
12     the Free Software Foundation; either version 2 of the License, or
13     (at your option) any later version.
14
15     This program is distributed in the hope that it will be useful,
16     but WITHOUT ANY WARRANTY; without even the implied warranty of
17     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18     GNU General Public License for more details.
19
20     You should have received a copy of the GNU General Public License
21     along with this program; if not, write to the Free Software
22     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23     02110-1301, USA.
24 </property>
25     <property name="artists">Patrick Brunier</property>
26     <property name="logo">pspplogo.png</property>
27     <child internal-child="vbox">
28       <widget class="GtkVBox" id="dialog-vbox1">
29         <property name="visible">True</property>
30         <child>
31           <placeholder/>
32         </child>
33         <child internal-child="action_area">
34           <widget class="GtkHButtonBox" id="dialog-action_area1">
35             <property name="visible">True</property>
36           </widget>
37           <packing>
38             <property name="expand">False</property>
39             <property name="pack_type">GTK_PACK_END</property>
40           </packing>
41         </child>
42       </widget>
43     </child>
44   </widget>
45   <widget class="PsppireDialog" id="weight-cases-dialog">
46     <property name="border_width">5</property>
47     <property name="title">Weight Case</property>
48     <property name="default_width">363</property>
49     <property name="default_height">188</property>
50     <child internal-child="hbox">
51       <widget class="GtkHBox" id="dialog-hbox1">
52         <property name="visible">True</property>
53         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
54         <property name="spacing">2</property>
55         <child>
56           <widget class="GtkHBox" id="hbox1">
57             <property name="visible">True</property>
58             <child>
59               <widget class="GtkScrolledWindow" id="scrolledwindow1">
60                 <property name="visible">True</property>
61                 <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
62                 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
63                 <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
64                 <child>
65                   <widget class="GtkTreeView" id="weight-cases-treeview">
66                     <property name="visible">True</property>
67                     <property name="headers_visible">False</property>
68                     <property name="fixed_height_mode">True</property>
69                     <property name="show_expanders">False</property>
70                   </widget>
71                 </child>
72               </widget>
73             </child>
74             <child>
75               <widget class="GtkVBox" id="vbox1">
76                 <property name="visible">True</property>
77                 <child>
78                   <widget class="GtkFrame" id="frame1">
79                     <property name="visible">True</property>
80                     <property name="border_width">5</property>
81                     <property name="label_xalign">0</property>
82                     <child>
83                       <widget class="GtkVBox" id="vbox2">
84                         <property name="visible">True</property>
85                         <property name="border_width">5</property>
86                         <child>
87                           <widget class="GtkRadioButton" 
88                                 id="weight-cases-radiobutton1">
89                             <property name="visible">True</property>
90                             <property name="label" translatable="yes">Do not weight cases</property>
91                             <property name="focus_on_click">False</property>
92                             <property name="active">True</property>
93                             <property name="draw_indicator">True</property>
94                           </widget>
95                         </child>
96                         <child>
97                           <widget class="GtkRadioButton" id="radiobutton2">
98                             <property name="visible">True</property>
99                             <property name="sensitive">False</property>
100                             <property name="label" translatable="yes">Weight cases by</property>
101                             <property name="focus_on_click">False</property>
102                             <property name="draw_indicator">True</property>
103                             <property name="group">weight-cases-radiobutton1</property>
104                           </widget>
105                           <packing>
106                             <property name="position">1</property>
107                           </packing>
108                         </child>
109                         <child>
110                           <widget class="GtkHBox" id="hbox3">
111                             <property name="visible">True</property>
112                             <child>
113                               <widget class="PsppireSelector" id="weight-cases-selector">
114                                 <property name="border_width">5</property>
115                               </widget>
116                             </child>
117                             <child>
118                               <widget class="GtkVBox" id="vbox3">
119                                 <property name="visible">True</property>
120                                 <child>
121                                   <widget class="GtkLabel" id="label1">
122                                     <property name="visible">True</property>
123                                     <property name="label" translatable="yes">Frequency Variable</property>
124                                   </widget>
125                                 </child>
126                                 <child>
127                                   <widget class="GtkEntry" id="weight-cases-entry">
128                                     <property name="visible">True</property>
129                                   </widget>
130                                   <packing>
131                                     <property name="position">1</property>
132                                   </packing>
133                                 </child>
134                               </widget>
135                               <packing>
136                                 <property name="position">1</property>
137                               </packing>
138                             </child>
139                           </widget>
140                           <packing>
141                             <property name="expand">False</property>
142                             <property name="fill">False</property>
143                             <property name="position">2</property>
144                           </packing>
145                         </child>
146                       </widget>
147                     </child>
148                     <child>
149                       <placeholder/>
150                       <packing>
151                         <property name="type">label_item</property>
152                       </packing>
153                     </child>
154                   </widget>
155                 </child>
156                 <child>
157                   <widget class="GtkHBox" id="hbox2">
158                     <property name="visible">True</property>
159                     <child>
160                       <widget class="GtkLabel" id="label3">
161                         <property name="visible">True</property>
162                         <property name="xalign">1</property>
163                         <property name="label" translatable="yes">Current Status: </property>
164                       </widget>
165                     </child>
166                     <child>
167                       <widget class="GtkLabel" id="weight-status-label">
168                         <property name="visible">True</property>
169                         <property name="xalign">0</property>
170                         <property name="label" translatable="yes">Do not weight cases</property>
171                       </widget>
172                       <packing>
173                         <property name="position">1</property>
174                       </packing>
175                     </child>
176                   </widget>
177                   <packing>
178                     <property name="position">1</property>
179                   </packing>
180                 </child>
181               </widget>
182               <packing>
183                 <property name="expand">False</property>
184                 <property name="fill">False</property>
185                 <property name="position">1</property>
186               </packing>
187             </child>
188           </widget>
189         </child>
190         <child>
191           <widget class="PsppireButtonBox" id="psppire-buttonbox1">
192             <property name="border_width">5</property>
193           </widget>
194           <packing>
195             <property name="expand">False</property>
196             <property name="fill">False</property>
197             <property name="pack_type">GTK_PACK_END</property>
198             <property name="position">1</property>
199           </packing>
200         </child>
201       </widget>
202     </child>
203   </widget>
204   <widget class="PsppireDialog" id="transpose-dialog">
205     <property name="border_width">5</property>
206     <property name="title">Transpose</property>
207     <property name="default_width">407</property>
208     <property name="default_height">225</property>
209     <child internal-child="hbox">
210       <widget class="GtkHBox" id="dialog-hbox2">
211         <property name="visible">True</property>
212         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
213         <property name="spacing">2</property>
214         <child>
215           <widget class="GtkHBox" id="hbox4">
216             <property name="visible">True</property>
217             <child>
218               <widget class="GtkFrame" id="frame3">
219                 <property name="visible">True</property>
220                 <property name="label_xalign">0</property>
221                 <property name="shadow_type">GTK_SHADOW_IN</property>
222                 <child>
223                   <widget class="GtkScrolledWindow" id="scrolledwindow1">
224                     <property name="visible">True</property>
225                     <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
226                     <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
227                     <child>
228                       <widget class="GtkTreeView" id="source-treeview">
229                         <property name="visible">True</property>
230                         <property name="headers_visible">False</property>
231                       </widget>
232                     </child>
233                   </widget>
234                 </child>
235                 <child>
236                   <placeholder/>
237                   <packing>
238                     <property name="type">label_item</property>
239                   </packing>
240                 </child>
241               </widget>
242             </child>
243             <child>
244               <widget class="GtkTable" id="table1">
245                 <property name="visible">True</property>
246                 <property name="n_rows">2</property>
247                 <property name="n_columns">2</property>
248                 <property name="column_spacing">5</property>
249                 <property name="row_spacing">5</property>
250                 <child>
251                   <widget class="GtkVBox" id="vbox5">
252                     <property name="visible">True</property>
253                     <child>
254                       <widget class="GtkLabel" id="label4">
255                         <property name="visible">True</property>
256                         <property name="xalign">0</property>
257                         <property name="label" translatable="yes">Name Variable:</property>
258                       </widget>
259                       <packing>
260                         <property name="expand">False</property>
261                         <property name="fill">False</property>
262                       </packing>
263                     </child>
264                     <child>
265                       <widget class="GtkEntry" id="new-name-entry">
266                         <property name="visible">True</property>
267                       </widget>
268                       <packing>
269                         <property name="expand">False</property>
270                         <property name="fill">False</property>
271                         <property name="position">1</property>
272                       </packing>
273                     </child>
274                   </widget>
275                   <packing>
276                     <property name="left_attach">1</property>
277                     <property name="right_attach">2</property>
278                     <property name="top_attach">1</property>
279                     <property name="bottom_attach">2</property>
280                     <property name="y_options"></property>
281                   </packing>
282                 </child>
283                 <child>
284                   <widget class="GtkVBox" id="vbox4">
285                     <property name="visible">True</property>
286                     <child>
287                       <widget class="GtkLabel" id="label2">
288                         <property name="visible">True</property>
289                         <property name="xalign">0</property>
290                         <property name="label" translatable="yes">Variable(s):</property>
291                       </widget>
292                       <packing>
293                         <property name="expand">False</property>
294                         <property name="fill">False</property>
295                       </packing>
296                     </child>
297                     <child>
298                       <widget class="GtkFrame" id="frame2">
299                         <property name="visible">True</property>
300                         <property name="label_xalign">0</property>
301                         <property name="shadow_type">GTK_SHADOW_IN</property>
302                         <child>
303                           <widget class="GtkScrolledWindow" id="scrolledwindow2">
304                             <property name="visible">True</property>
305                             <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
306                             <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
307                             <child>
308                               <widget class="GtkTreeView" id="variables-treeview">
309                                 <property name="visible">True</property>
310                                 <property name="headers_visible">False</property>
311                               </widget>
312                             </child>
313                           </widget>
314                         </child>
315                         <child>
316                           <placeholder/>
317                           <packing>
318                             <property name="type">label_item</property>
319                           </packing>
320                         </child>
321                       </widget>
322                       <packing>
323                         <property name="position">1</property>
324                       </packing>
325                     </child>
326                   </widget>
327                   <packing>
328                     <property name="left_attach">1</property>
329                     <property name="right_attach">2</property>
330                   </packing>
331                 </child>
332                 <child>
333                   <widget class="PsppireSelector" id="psppire-selector3">
334                     <property name="border_width">5</property>
335                   </widget>
336                   <packing>
337                     <property name="top_attach">1</property>
338                     <property name="bottom_attach">2</property>
339                     <property name="x_options"></property>
340                     <property name="y_options">GTK_FILL</property>
341                   </packing>
342                 </child>
343                 <child>
344                   <widget class="PsppireSelector" id="psppire-selector2">
345                     <property name="border_width">5</property>
346                   </widget>
347                   <packing>
348                     <property name="x_options"></property>
349                     <property name="y_options"></property>
350                   </packing>
351                 </child>
352               </widget>
353               <packing>
354                 <property name="position">1</property>
355               </packing>
356             </child>
357           </widget>
358         </child>
359         <child>
360           <widget class="PsppireButtonBox" id="psppire-buttonbox2">
361             <property name="border_width">5</property>
362           </widget>
363           <packing>
364             <property name="expand">False</property>
365             <property name="fill">False</property>
366             <property name="pack_type">GTK_PACK_END</property>
367             <property name="position">1</property>
368           </packing>
369         </child>
370       </widget>
371     </child>
372   </widget>
373 </glade-interface>