Basic model
[pspp] / src / ui / gui / chi-square.ui
1 <?xml version="1.0"?>
2 <interface>
3   <!-- interface-requires gtk+ 2.12 -->
4   <requires lib="psppire" version="2053.63976"/>
5   <!-- interface-naming-policy toplevel-contextual -->
6   <object class="GtkAdjustment" id="adjustment1">
7     <property name="upper">100</property>
8     <property name="step_increment">1</property>
9     <property name="page_increment">10</property>
10   </object>
11   <object class="PsppireDialog" id="chisquare-dialog">
12     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
13     <property name="title" translatable="yes">Chi-Square Test</property>
14     <property name="modal">True</property>
15     <child internal-child="hbox">
16       <object class="GtkHBox" id="dialog-hbox13">
17         <property name="visible">True</property>
18         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
19         <child>
20           <object class="GtkAlignment" id="alignment1">
21             <property name="visible">True</property>
22             <property name="top_padding">5</property>
23             <property name="bottom_padding">5</property>
24             <property name="left_padding">5</property>
25             <child>
26               <object class="GtkTable" id="table1">
27                 <property name="visible">True</property>
28                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
29                 <property name="n_rows">2</property>
30                 <property name="n_columns">3</property>
31                 <child>
32                   <object class="GtkScrolledWindow" id="scrolledwindow5">
33                     <property name="visible">True</property>
34                     <property name="can_focus">True</property>
35                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
36                     <property name="hscrollbar_policy">never</property>
37                     <property name="vscrollbar_policy">automatic</property>
38                     <property name="shadow_type">etched-in</property>
39                     <child>
40                       <object class="PsppireDictView" id="dict-view">
41                         <property name="visible">True</property>
42                         <property name="can_focus">True</property>
43                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
44                         <property name="headers_visible">False</property>
45                         <property name="headers_clickable">False</property>
46                       </object>
47                     </child>
48                   </object>
49                 </child>
50                 <child>
51                   <object class="PsppireSelector" id="psppire-selector1">
52                     <property name="visible">True</property>
53                     <property name="can_focus">True</property>
54                     <property name="receives_default">True</property>
55                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
56                     <property name="border_width">5</property>
57                     <property name="source_widget">dict-view</property>
58                     <property name="dest_widget">variables-treeview</property>
59                   </object>
60                   <packing>
61                     <property name="left_attach">1</property>
62                     <property name="right_attach">2</property>
63                     <property name="x_options"></property>
64                     <property name="y_options">GTK_EXPAND</property>
65                   </packing>
66                 </child>
67                 <child>
68                   <object class="GtkFrame" id="frame1">
69                     <property name="visible">True</property>
70                     <property name="label_xalign">0</property>
71                     <child>
72                       <object class="GtkAlignment" id="alignment2">
73                         <property name="visible">True</property>
74                         <property name="bottom_padding">5</property>
75                         <property name="left_padding">5</property>
76                         <property name="right_padding">5</property>
77                         <child>
78                           <object class="GtkVBox" id="vbox4">
79                             <property name="visible">True</property>
80                             <property name="orientation">vertical</property>
81                             <child>
82                               <object class="GtkRadioButton" id="radiobutton3">
83                                 <property name="label" translatable="yes">_Get from data</property>
84                                 <property name="visible">True</property>
85                                 <property name="can_focus">True</property>
86                                 <property name="receives_default">False</property>
87                                 <property name="use_underline">True</property>
88                                 <property name="active">True</property>
89                                 <property name="draw_indicator">True</property>
90                               </object>
91                               <packing>
92                                 <property name="expand">False</property>
93                                 <property name="fill">False</property>
94                                 <property name="position">0</property>
95                               </packing>
96                             </child>
97                             <child>
98                               <object class="GtkRadioButton" id="radiobutton4">
99                                 <property name="label" translatable="yes">Use _specified range</property>
100                                 <property name="visible">True</property>
101                                 <property name="can_focus">True</property>
102                                 <property name="receives_default">False</property>
103                                 <property name="use_underline">True</property>
104                                 <property name="draw_indicator">True</property>
105                                 <property name="group">radiobutton3</property>
106                               </object>
107                               <packing>
108                                 <property name="expand">False</property>
109                                 <property name="fill">False</property>
110                                 <property name="position">1</property>
111                               </packing>
112                             </child>
113                             <child>
114                               <object class="GtkTable" id="range-table">
115                                 <property name="visible">True</property>
116                                 <property name="sensitive">False</property>
117                                 <property name="n_rows">2</property>
118                                 <property name="n_columns">2</property>
119                                 <property name="column_spacing">5</property>
120                                 <child>
121                                   <object class="GtkLabel" id="label4">
122                                     <property name="visible">True</property>
123                                     <property name="label" translatable="yes">_Lower:</property>
124                                     <property name="use_markup">True</property>
125                                     <property name="use_underline">True</property>
126                                     <property name="mnemonic_widget">entry1</property>
127                                   </object>
128                                 </child>
129                                 <child>
130                                   <object class="GtkLabel" id="label5">
131                                     <property name="visible">True</property>
132                                     <property name="label" translatable="yes">_Upper:</property>
133                                     <property name="use_underline">True</property>
134                                     <property name="mnemonic_widget">entry2</property>
135                                   </object>
136                                   <packing>
137                                     <property name="top_attach">1</property>
138                                     <property name="bottom_attach">2</property>
139                                   </packing>
140                                 </child>
141                                 <child>
142                                   <object class="GtkEntry" id="entry1">
143                                     <property name="visible">True</property>
144                                     <property name="can_focus">True</property>
145                                     <property name="invisible_char">&#x25CF;</property>
146                                   </object>
147                                   <packing>
148                                     <property name="left_attach">1</property>
149                                     <property name="right_attach">2</property>
150                                   </packing>
151                                 </child>
152                                 <child>
153                                   <object class="GtkEntry" id="entry2">
154                                     <property name="visible">True</property>
155                                     <property name="can_focus">True</property>
156                                     <property name="invisible_char">&#x25CF;</property>
157                                   </object>
158                                   <packing>
159                                     <property name="left_attach">1</property>
160                                     <property name="right_attach">2</property>
161                                     <property name="top_attach">1</property>
162                                     <property name="bottom_attach">2</property>
163                                   </packing>
164                                 </child>
165                               </object>
166                               <packing>
167                                 <property name="expand">False</property>
168                                 <property name="fill">False</property>
169                                 <property name="position">2</property>
170                               </packing>
171                             </child>
172                           </object>
173                         </child>
174                       </object>
175                     </child>
176                     <child type="label">
177                       <object class="GtkLabel" id="label2">
178                         <property name="visible">True</property>
179                         <property name="label" translatable="yes">Expected Range:</property>
180                         <property name="use_markup">True</property>
181                       </object>
182                     </child>
183                   </object>
184                   <packing>
185                     <property name="top_attach">1</property>
186                     <property name="bottom_attach">2</property>
187                     <property name="y_options"></property>
188                     <property name="x_padding">5</property>
189                   </packing>
190                 </child>
191                 <child>
192                   <object class="GtkFrame" id="frame2">
193                     <property name="visible">True</property>
194                     <property name="label_xalign">0</property>
195                     <child>
196                       <object class="GtkAlignment" id="alignment3">
197                         <property name="visible">True</property>
198                         <property name="left_padding">5</property>
199                         <property name="right_padding">5</property>
200                         <child>
201                           <object class="GtkVBox" id="vbox3">
202                             <property name="visible">True</property>
203                             <property name="orientation">vertical</property>
204                             <child>
205                               <object class="GtkRadioButton" id="radiobutton1">
206                                 <property name="label" translatable="yes">All categor_ies equal</property>
207                                 <property name="visible">True</property>
208                                 <property name="can_focus">True</property>
209                                 <property name="receives_default">False</property>
210                                 <property name="use_underline">True</property>
211                                 <property name="active">True</property>
212                                 <property name="draw_indicator">True</property>
213                               </object>
214                               <packing>
215                                 <property name="position">0</property>
216                               </packing>
217                             </child>
218                             <child>
219                               <object class="GtkHBox" id="hbox1">
220                                 <property name="visible">True</property>
221                                 <child>
222                                   <object class="GtkRadioButton" id="radiobutton2">
223                                     <property name="label" translatable="yes">_Values</property>
224                                     <property name="visible">True</property>
225                                     <property name="can_focus">True</property>
226                                     <property name="receives_default">False</property>
227                                     <property name="use_underline">True</property>
228                                     <property name="draw_indicator">True</property>
229                                     <property name="group">radiobutton1</property>
230                                   </object>
231                                   <packing>
232                                     <property name="position">0</property>
233                                   </packing>
234                                 </child>
235                                 <child>
236                                   <object class="GtkEntry" id="expected-value-entry">
237                                     <property name="visible">True</property>
238                                     <property name="sensitive">False</property>
239                                     <property name="can_focus">True</property>
240                                     <property name="invisible_char">&#x25CF;</property>
241                                   </object>
242                                   <packing>
243                                     <property name="position">1</property>
244                                   </packing>
245                                 </child>
246                               </object>
247                               <packing>
248                                 <property name="position">1</property>
249                               </packing>
250                             </child>
251                             <child>
252                               <object class="PsppireAcr" id="psppire-acr1">
253                                 <property name="visible">True</property>
254                                 <property name="border_width">5</property>
255                                 <child>
256                                   <placeholder/>
257                                 </child>
258                               </object>
259                               <packing>
260                                 <property name="position">2</property>
261                               </packing>
262                             </child>
263                           </object>
264                         </child>
265                       </object>
266                     </child>
267                     <child type="label">
268                       <object class="GtkLabel" id="label3">
269                         <property name="visible">True</property>
270                         <property name="label" translatable="yes">Expected Values:</property>
271                         <property name="use_markup">True</property>
272                       </object>
273                     </child>
274                   </object>
275                   <packing>
276                     <property name="left_attach">2</property>
277                     <property name="right_attach">3</property>
278                     <property name="top_attach">1</property>
279                     <property name="bottom_attach">2</property>
280                     <property name="y_options"></property>
281                     <property name="x_padding">5</property>
282                   </packing>
283                 </child>
284                 <child>
285                   <object class="GtkFrame" id="frame3">
286                     <property name="visible">True</property>
287                     <property name="label_xalign">0</property>
288                     <property name="shadow_type">none</property>
289                     <child>
290                       <object class="GtkAlignment" id="alignment4">
291                         <property name="visible">True</property>
292                         <property name="left_padding">12</property>
293                         <child>
294                           <object class="GtkScrolledWindow" id="scrolledwindow1">
295                             <property name="visible">True</property>
296                             <property name="can_focus">True</property>
297                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
298                             <property name="hscrollbar_policy">never</property>
299                             <property name="vscrollbar_policy">automatic</property>
300                             <property name="shadow_type">etched-in</property>
301                             <child>
302                               <object class="PsppireVarView" id="variables-treeview">
303                                 <property name="visible">True</property>
304                                 <property name="can_focus">True</property>
305                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
306                                 <property name="headers_visible">False</property>
307                                 <property name="headers_clickable">False</property>
308                               </object>
309                             </child>
310                           </object>
311                         </child>
312                       </object>
313                     </child>
314                     <child type="label">
315                       <object class="GtkLabel" id="label1">
316                         <property name="visible">True</property>
317                         <property name="label" translatable="yes">Test _Variables</property>
318                         <property name="use_markup">True</property>
319                         <property name="use_underline">True</property>
320                         <property name="mnemonic_widget">variables-treeview</property>
321                       </object>
322                     </child>
323                   </object>
324                   <packing>
325                     <property name="left_attach">2</property>
326                     <property name="right_attach">3</property>
327                   </packing>
328                 </child>
329                 <child>
330                   <placeholder/>
331                 </child>
332               </object>
333             </child>
334           </object>
335           <packing>
336             <property name="position">0</property>
337           </packing>
338         </child>
339         <child>
340           <object class="PsppireVButtonBox" id="psppire-vbuttonbox1">
341             <property name="visible">True</property>
342             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
343             <property name="border_width">5</property>
344           </object>
345           <packing>
346             <property name="expand">False</property>
347             <property name="fill">False</property>
348             <property name="pack_type">end</property>
349             <property name="position">1</property>
350           </packing>
351         </child>
352       </object>
353     </child>
354   </object>
355 </interface>