gui: Factor out duplicated code for executing and pasting syntax.
[pspp] / src / ui / gui / regression.ui
1 <?xml version="1.0"?>
2 <interface>
3   <!-- interface-requires gtk+ 2.12 -->
4   <requires lib="psppire" version="2054.17080"/>
5   <!-- interface-naming-policy project-wide -->
6   <object class="PsppireDialog" id="regression-dialog">
7     <property name="title" translatable="yes">Regression</property>
8     <property name="modal">True</property>
9     <child internal-child="hbox">
10       <object class="GtkHBox" id="dialog-hbox1">
11         <property name="visible">True</property>
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="spacing">2</property>
14         <child>
15           <object class="GtkTable" id="table1">
16             <property name="visible">True</property>
17             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
18             <property name="n_rows">3</property>
19             <property name="n_columns">3</property>
20             <child>
21               <object class="GtkHButtonBox" id="hbuttonbox1">
22                 <property name="visible">True</property>
23                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
24                 <property name="layout_style">spread</property>
25                 <child>
26                   <object class="GtkButton" id="stat-button">
27                     <property name="label" translatable="yes">Statistics...</property>
28                     <property name="visible">True</property>
29                     <property name="can_focus">True</property>
30                     <property name="receives_default">True</property>
31                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
32                   </object>
33                   <packing>
34                     <property name="expand">False</property>
35                     <property name="fill">False</property>
36                     <property name="position">0</property>
37                   </packing>
38                 </child>
39                 <child>
40                   <object class="GtkButton" id="save-button">
41                     <property name="label" translatable="yes">Save...</property>
42                     <property name="visible">True</property>
43                     <property name="can_focus">True</property>
44                     <property name="receives_default">True</property>
45                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
46                   </object>
47                   <packing>
48                     <property name="expand">False</property>
49                     <property name="fill">False</property>
50                     <property name="position">1</property>
51                   </packing>
52                 </child>
53               </object>
54               <packing>
55                 <property name="right_attach">3</property>
56                 <property name="top_attach">2</property>
57                 <property name="bottom_attach">3</property>
58                 <property name="y_options"></property>
59                 <property name="y_padding">5</property>
60               </packing>
61             </child>
62             <child>
63               <object class="PsppireSelector" id="dep-selector">
64                 <property name="visible">True</property>
65                 <property name="can_focus">True</property>
66                 <property name="receives_default">True</property>
67                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
68                 <property name="no_show_all">True</property>
69                 <property name="border_width">5</property>
70                 <property name="source_widget">dict-view</property>
71                 <property name="dest_widget">dep-view</property>
72               </object>
73               <packing>
74                 <property name="left_attach">1</property>
75                 <property name="right_attach">2</property>
76                 <property name="x_options"></property>
77                 <property name="y_options"></property>
78               </packing>
79             </child>
80             <child>
81               <object class="PsppireSelector" id="indep-selector">
82                 <property name="visible">True</property>
83                 <property name="can_focus">True</property>
84                 <property name="receives_default">True</property>
85                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
86                 <property name="no_show_all">True</property>
87                 <property name="border_width">5</property>
88                 <property name="source_widget">dict-view</property>
89                 <property name="dest_widget">indep-view</property>
90               </object>
91               <packing>
92                 <property name="left_attach">1</property>
93                 <property name="right_attach">2</property>
94                 <property name="top_attach">1</property>
95                 <property name="bottom_attach">2</property>
96                 <property name="x_options"></property>
97                 <property name="y_options"></property>
98               </packing>
99             </child>
100             <child>
101               <object class="GtkScrolledWindow" id="variables">
102                 <property name="visible">True</property>
103                 <property name="can_focus">True</property>
104                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
105                 <property name="hscrollbar_policy">never</property>
106                 <property name="vscrollbar_policy">automatic</property>
107                 <property name="shadow_type">etched-in</property>
108                 <child>
109                   <object class="PsppireDictView" id="dict-view">
110                     <property name="visible">True</property>
111                     <property name="can_focus">True</property>
112                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
113                     <property name="headers_visible">False</property>
114                   </object>
115                 </child>
116               </object>
117               <packing>
118                 <property name="bottom_attach">2</property>
119               </packing>
120             </child>
121             <child>
122               <object class="GtkFrame" id="frame2">
123                 <property name="visible">True</property>
124                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
125                 <property name="label_xalign">0</property>
126                 <property name="shadow_type">none</property>
127                 <child>
128                   <object class="GtkAlignment" id="alignment1">
129                     <property name="visible">True</property>
130                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
131                     <property name="left_padding">12</property>
132                     <child>
133                       <object class="GtkScrolledWindow" id="scrolledwindow1">
134                         <property name="visible">True</property>
135                         <property name="can_focus">True</property>
136                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
137                         <property name="hscrollbar_policy">never</property>
138                         <property name="vscrollbar_policy">automatic</property>
139                         <property name="shadow_type">etched-in</property>
140                         <child>
141                           <object class="PsppireVarView" id="dep-view">
142                             <property name="visible">True</property>
143                             <property name="can_focus">True</property>
144                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
145                             <property name="headers_visible">False</property>
146                           </object>
147                         </child>
148                       </object>
149                     </child>
150                   </object>
151                 </child>
152                 <child type="label">
153                   <object class="GtkLabel" id="label1">
154                     <property name="visible">True</property>
155                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
156                     <property name="label" translatable="yes">Dependent</property>
157                     <property name="use_markup">True</property>
158                   </object>
159                 </child>
160               </object>
161               <packing>
162                 <property name="left_attach">2</property>
163                 <property name="right_attach">3</property>
164               </packing>
165             </child>
166             <child>
167               <object class="GtkFrame" id="frame3">
168                 <property name="visible">True</property>
169                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
170                 <property name="label_xalign">0</property>
171                 <property name="shadow_type">none</property>
172                 <child>
173                   <object class="GtkAlignment" id="alignment2">
174                     <property name="visible">True</property>
175                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
176                     <property name="left_padding">12</property>
177                     <child>
178                       <object class="GtkScrolledWindow" id="scrolledwindow2">
179                         <property name="visible">True</property>
180                         <property name="can_focus">True</property>
181                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
182                         <property name="hscrollbar_policy">never</property>
183                         <property name="vscrollbar_policy">automatic</property>
184                         <property name="shadow_type">etched-in</property>
185                         <child>
186                           <object class="PsppireVarView" id="indep-view">
187                             <property name="visible">True</property>
188                             <property name="can_focus">True</property>
189                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
190                             <property name="headers_visible">False</property>
191                           </object>
192                         </child>
193                       </object>
194                     </child>
195                   </object>
196                 </child>
197                 <child type="label">
198                   <object class="GtkLabel" id="label3">
199                     <property name="visible">True</property>
200                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
201                     <property name="label" translatable="yes">Independent</property>
202                     <property name="use_markup">True</property>
203                   </object>
204                 </child>
205               </object>
206               <packing>
207                 <property name="left_attach">2</property>
208                 <property name="right_attach">3</property>
209                 <property name="top_attach">1</property>
210                 <property name="bottom_attach">2</property>
211               </packing>
212             </child>
213           </object>
214           <packing>
215             <property name="position">0</property>
216           </packing>
217         </child>
218         <child>
219           <object class="PsppireVButtonBox" id="psppire-vbuttonbox1">
220             <property name="visible">True</property>
221             <property name="border_width">5</property>
222             <property name="orientation">vertical</property>
223           </object>
224           <packing>
225             <property name="expand">False</property>
226             <property name="fill">False</property>
227             <property name="pack_type">end</property>
228             <property name="position">1</property>
229           </packing>
230         </child>
231       </object>
232     </child>
233   </object>
234   <object class="PsppireDialog" id="save-dialog">
235     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
236     <property name="title" translatable="yes">Regression: Save</property>
237     <property name="modal">True</property>
238     <child internal-child="hbox">
239       <object class="GtkHBox" id="dialog-hbox2">
240         <property name="visible">True</property>
241         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
242         <property name="spacing">2</property>
243         <child>
244           <object class="GtkVBox" id="vbox5">
245             <property name="visible">True</property>
246             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
247             <property name="orientation">vertical</property>
248             <child>
249               <object class="GtkCheckButton" id="pred-button">
250                 <property name="label" translatable="yes">Predicted values</property>
251                 <property name="visible">True</property>
252                 <property name="can_focus">True</property>
253                 <property name="receives_default">False</property>
254                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
255                 <property name="draw_indicator">True</property>
256               </object>
257               <packing>
258                 <property name="position">0</property>
259               </packing>
260             </child>
261             <child>
262               <object class="GtkCheckButton" id="resid-button">
263                 <property name="label" translatable="yes">Residuals</property>
264                 <property name="visible">True</property>
265                 <property name="can_focus">True</property>
266                 <property name="receives_default">False</property>
267                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
268                 <property name="draw_indicator">True</property>
269               </object>
270               <packing>
271                 <property name="position">1</property>
272               </packing>
273             </child>
274           </object>
275           <packing>
276             <property name="position">0</property>
277           </packing>
278         </child>
279         <child>
280           <object class="PsppireVButtonBox" id="psppire-vbuttonbox2">
281             <property name="visible">True</property>
282             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
283             <property name="border_width">5</property>
284             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
285           </object>
286           <packing>
287             <property name="expand">False</property>
288             <property name="fill">False</property>
289             <property name="pack_type">end</property>
290             <property name="position">1</property>
291           </packing>
292         </child>
293       </object>
294     </child>
295   </object>
296   <object class="PsppireDialog" id="statistics-dialog">
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="title" translatable="yes">Regression: Statistics</property>
299     <property name="modal">True</property>
300     <child internal-child="hbox">
301       <object class="GtkHBox" id="dialog-hbox3">
302         <property name="visible">True</property>
303         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
304         <property name="spacing">2</property>
305         <child>
306           <object class="GtkFrame" id="frame1">
307             <property name="visible">True</property>
308             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
309             <property name="label_xalign">0</property>
310             <property name="shadow_type">none</property>
311             <child>
312               <object class="GtkAlignment" id="alignment3">
313                 <property name="visible">True</property>
314                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
315                 <property name="left_padding">12</property>
316                 <child>
317                   <object class="GtkScrolledWindow" id="scrolledwindow4">
318                     <property name="visible">True</property>
319                     <property name="can_focus">True</property>
320                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
321                     <property name="hscrollbar_policy">never</property>
322                     <property name="vscrollbar_policy">automatic</property>
323                     <property name="shadow_type">etched-in</property>
324                     <child>
325                       <object class="GtkTreeView" id="stat-view">
326                         <property name="visible">True</property>
327                         <property name="can_focus">True</property>
328                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
329                         <property name="headers_visible">False</property>
330                       </object>
331                     </child>
332                   </object>
333                 </child>
334               </object>
335             </child>
336             <child type="label">
337               <object class="GtkLabel" id="label2">
338                 <property name="visible">True</property>
339                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
340                 <property name="label" translatable="yes">Statistics</property>
341                 <property name="use_markup">True</property>
342               </object>
343             </child>
344           </object>
345           <packing>
346             <property name="position">0</property>
347           </packing>
348         </child>
349         <child>
350           <object class="PsppireVButtonBox" id="psppire-vbuttonbox3">
351             <property name="visible">True</property>
352             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
353             <property name="border_width">5</property>
354             <property name="orientation">vertical</property>
355             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
356           </object>
357           <packing>
358             <property name="expand">False</property>
359             <property name="fill">False</property>
360             <property name="pack_type">end</property>
361             <property name="position">1</property>
362           </packing>
363         </child>
364       </object>
365     </child>
366   </object>
367 </interface>