Merge 'master' into 'gtk3'.
[pspp] / src / ui / gui / logistic.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="logistic-dialog">
7     <property name="title" translatable="yes">Logistic 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="GtkAlignment" id="alignment1">
16             <property name="visible">True</property>
17             <property name="top_padding">5</property>
18             <property name="left_padding">5</property>
19             <child>
20               <object class="GtkTable" id="table1">
21                 <property name="visible">True</property>
22                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
23                 <property name="n_rows">3</property>
24                 <property name="n_columns">3</property>
25                 <child>
26                   <object class="GtkHButtonBox" id="hbuttonbox1">
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="layout_style">spread</property>
30                     <child>
31                       <object class="GtkButton" id="options-button">
32                         <property name="label" translatable="yes">_Options...</property>
33                         <property name="visible">True</property>
34                         <property name="can_focus">True</property>
35                         <property name="receives_default">True</property>
36                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
37                         <property name="use_underline">True</property>
38                       </object>
39                       <packing>
40                         <property name="expand">False</property>
41                         <property name="fill">False</property>
42                         <property name="position">0</property>
43                       </packing>
44                     </child>
45                     <child>
46                       <object class="GtkButton" id="save-button">
47                         <property name="label" translatable="yes">_Save...</property>
48                         <property name="can_focus">True</property>
49                         <property name="receives_default">True</property>
50                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
51                         <property name="use_underline">True</property>
52                       </object>
53                       <packing>
54                         <property name="expand">False</property>
55                         <property name="fill">False</property>
56                         <property name="position">1</property>
57                       </packing>
58                     </child>
59                   </object>
60                   <packing>
61                     <property name="right_attach">3</property>
62                     <property name="top_attach">2</property>
63                     <property name="bottom_attach">3</property>
64                     <property name="y_options"></property>
65                     <property name="y_padding">5</property>
66                   </packing>
67                 </child>
68                 <child>
69                   <object class="PsppireSelector" id="dep-selector">
70                     <property name="visible">True</property>
71                     <property name="can_focus">True</property>
72                     <property name="receives_default">True</property>
73                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
74                     <property name="no_show_all">True</property>
75                     <property name="border_width">5</property>
76                     <property name="source_widget">dict-view</property>
77                     <property name="dest_widget">dependent-entry</property>
78                   </object>
79                   <packing>
80                     <property name="left_attach">1</property>
81                     <property name="right_attach">2</property>
82                     <property name="x_options"></property>
83                     <property name="y_options"></property>
84                   </packing>
85                 </child>
86                 <child>
87                   <object class="PsppireSelector" id="indep-selector">
88                     <property name="visible">True</property>
89                     <property name="can_focus">True</property>
90                     <property name="receives_default">True</property>
91                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
92                     <property name="no_show_all">True</property>
93                     <property name="border_width">5</property>
94                     <property name="source_widget">dict-view</property>
95                     <property name="dest_widget">indep-view</property>
96                   </object>
97                   <packing>
98                     <property name="left_attach">1</property>
99                     <property name="right_attach">2</property>
100                     <property name="top_attach">1</property>
101                     <property name="bottom_attach">2</property>
102                     <property name="x_options"></property>
103                     <property name="y_options"></property>
104                   </packing>
105                 </child>
106                 <child>
107                   <object class="GtkScrolledWindow" id="variables">
108                     <property name="visible">True</property>
109                     <property name="can_focus">True</property>
110                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
111                     <property name="hscrollbar_policy">never</property>
112                     <property name="vscrollbar_policy">automatic</property>
113                     <property name="shadow_type">etched-in</property>
114                     <child>
115                       <object class="PsppireDictView" id="dict-view">
116                         <property name="visible">True</property>
117                         <property name="can_focus">True</property>
118                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
119                         <property name="headers_visible">False</property>
120                         <property name="headers_clickable">False</property>
121                       </object>
122                     </child>
123                   </object>
124                   <packing>
125                     <property name="bottom_attach">2</property>
126                   </packing>
127                 </child>
128                 <child>
129                   <object class="GtkFrame" id="frame2">
130                     <property name="visible">True</property>
131                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
132                     <property name="label_xalign">0</property>
133                     <property name="shadow_type">none</property>
134                     <child>
135                       <object class="GtkAlignment" id="alignment2">
136                         <property name="visible">True</property>
137                         <property name="left_padding">10</property>
138                         <child>
139                           <object class="GtkEntry" id="dependent-entry">
140                             <property name="visible">True</property>
141                             <property name="can_focus">True</property>
142                             <property name="invisible_char">&#x25CF;</property>
143                           </object>
144                         </child>
145                       </object>
146                     </child>
147                     <child type="label">
148                       <object class="GtkLabel" id="label1">
149                         <property name="visible">True</property>
150                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
151                         <property name="label" translatable="yes">_Dependent</property>
152                         <property name="use_markup">True</property>
153                         <property name="use_underline">True</property>
154                         <property name="mnemonic_widget">dependent-entry</property>
155                       </object>
156                     </child>
157                   </object>
158                   <packing>
159                     <property name="left_attach">2</property>
160                     <property name="right_attach">3</property>
161                     <property name="y_options"></property>
162                   </packing>
163                 </child>
164                 <child>
165                   <object class="GtkFrame" id="frame3">
166                     <property name="visible">True</property>
167                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
168                     <property name="label_xalign">0</property>
169                     <property name="shadow_type">none</property>
170                     <child>
171                       <object class="GtkAlignment" id="alignment4">
172                         <property name="visible">True</property>
173                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
174                         <property name="left_padding">12</property>
175                         <child>
176                           <object class="GtkScrolledWindow" id="scrolledwindow2">
177                             <property name="visible">True</property>
178                             <property name="can_focus">True</property>
179                             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
180                             <property name="hscrollbar_policy">never</property>
181                             <property name="vscrollbar_policy">automatic</property>
182                             <property name="shadow_type">etched-in</property>
183                             <child>
184                               <object class="PsppireVarView" id="indep-view">
185                                 <property name="visible">True</property>
186                                 <property name="can_focus">True</property>
187                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
188                                 <property name="headers_visible">False</property>
189                                 <property name="headers_clickable">False</property>
190                               </object>
191                             </child>
192                           </object>
193                         </child>
194                       </object>
195                     </child>
196                     <child type="label">
197                       <object class="GtkLabel" id="label3">
198                         <property name="visible">True</property>
199                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
200                         <property name="label" translatable="yes">_Independent</property>
201                         <property name="use_markup">True</property>
202                         <property name="use_underline">True</property>
203                         <property name="mnemonic_widget">indep-view</property>
204                       </object>
205                     </child>
206                   </object>
207                   <packing>
208                     <property name="left_attach">2</property>
209                     <property name="right_attach">3</property>
210                     <property name="top_attach">1</property>
211                     <property name="bottom_attach">2</property>
212                   </packing>
213                 </child>
214               </object>
215             </child>
216           </object>
217           <packing>
218             <property name="position">0</property>
219           </packing>
220         </child>
221         <child>
222           <object class="PsppireVButtonBox" id="psppire-vbuttonbox1">
223             <property name="visible">True</property>
224             <property name="border_width">5</property>
225             <property name="orientation">vertical</property>
226           </object>
227           <packing>
228             <property name="expand">False</property>
229             <property name="fill">False</property>
230             <property name="pack_type">end</property>
231             <property name="position">1</property>
232           </packing>
233         </child>
234       </object>
235     </child>
236   </object>
237   <object class="PsppireDialog" id="options-dialog">
238     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
239     <property name="title" translatable="yes">Logistic Regression: Options</property>
240     <property name="modal">True</property>
241     <child internal-child="hbox">
242       <object class="GtkHBox" id="dialog-hbox4">
243         <property name="visible">True</property>
244         <property name="spacing">2</property>
245         <child>
246           <object class="GtkAlignment" id="alignment3">
247             <property name="visible">True</property>
248             <property name="top_padding">5</property>
249             <property name="bottom_padding">5</property>
250             <child>
251               <object class="GtkVBox" id="vbox1">
252                 <property name="visible">True</property>
253                 <property name="orientation">vertical</property>
254                 <child>
255                   <object class="GtkHBox" id="hbox1">
256                     <property name="visible">True</property>
257                     <child>
258                       <object class="GtkCheckButton" id="checkbutton2">
259                         <property name="label" translatable="yes">CI for _exp(B): </property>
260                         <property name="visible">True</property>
261                         <property name="can_focus">True</property>
262                         <property name="receives_default">False</property>
263                         <property name="use_underline">True</property>
264                         <property name="xalign">1</property>
265                         <property name="draw_indicator">True</property>
266                       </object>
267                       <packing>
268                         <property name="expand">False</property>
269                         <property name="fill">False</property>
270                         <property name="position">0</property>
271                       </packing>
272                     </child>
273                     <child>
274                       <object class="GtkSpinButton" id="spinbutton1">
275                         <property name="visible">True</property>
276                         <property name="can_focus">True</property>
277                         <property name="editable">False</property>
278                         <property name="width_chars">2</property>
279                         <property name="adjustment">adjustment1</property>
280                       </object>
281                       <packing>
282                         <property name="position">1</property>
283                       </packing>
284                     </child>
285                     <child>
286                       <object class="GtkLabel" id="label2">
287                         <property name="visible">True</property>
288                         <property name="label" translatable="yes">%</property>
289                       </object>
290                       <packing>
291                         <property name="expand">False</property>
292                         <property name="fill">False</property>
293                         <property name="position">2</property>
294                       </packing>
295                     </child>
296                   </object>
297                   <packing>
298                     <property name="position">0</property>
299                   </packing>
300                 </child>
301                 <child>
302                   <object class="GtkTable" id="table2">
303                     <property name="visible">True</property>
304                     <property name="n_rows">2</property>
305                     <property name="n_columns">2</property>
306                     <child>
307                       <object class="GtkSpinButton" id="spinbutton2">
308                         <property name="visible">True</property>
309                         <property name="can_focus">True</property>
310                         <property name="invisible_char">&#x25CF;</property>
311                         <property name="adjustment">adjustment2</property>
312                         <property name="digits">2</property>
313                       </object>
314                       <packing>
315                         <property name="left_attach">1</property>
316                         <property name="right_attach">2</property>
317                       </packing>
318                     </child>
319                     <child>
320                       <object class="GtkSpinButton" id="spinbutton3">
321                         <property name="visible">True</property>
322                         <property name="can_focus">True</property>
323                         <property name="invisible_char">&#x25CF;</property>
324                         <property name="adjustment">adjustment3</property>
325                       </object>
326                       <packing>
327                         <property name="left_attach">1</property>
328                         <property name="right_attach">2</property>
329                         <property name="top_attach">1</property>
330                         <property name="bottom_attach">2</property>
331                       </packing>
332                     </child>
333                     <child>
334                       <object class="GtkLabel" id="label4">
335                         <property name="visible">True</property>
336                         <property name="label" translatable="yes">Classification cu_toff: </property>
337                         <property name="use_underline">True</property>
338                         <property name="mnemonic_widget">spinbutton2</property>
339                       </object>
340                       <packing>
341                         <property name="x_options"></property>
342                       </packing>
343                     </child>
344                     <child>
345                       <object class="GtkLabel" id="label5">
346                         <property name="visible">True</property>
347                         <property name="label" translatable="yes">_Maximum Iterations: </property>
348                         <property name="use_underline">True</property>
349                         <property name="mnemonic_widget">spinbutton3</property>
350                       </object>
351                       <packing>
352                         <property name="top_attach">1</property>
353                         <property name="bottom_attach">2</property>
354                         <property name="x_options"></property>
355                       </packing>
356                     </child>
357                   </object>
358                   <packing>
359                     <property name="position">1</property>
360                   </packing>
361                 </child>
362                 <child>
363                   <object class="GtkCheckButton" id="checkbutton1">
364                     <property name="label" translatable="yes">Include _constant in model</property>
365                     <property name="visible">True</property>
366                     <property name="can_focus">True</property>
367                     <property name="receives_default">False</property>
368                     <property name="use_underline">True</property>
369                     <property name="draw_indicator">True</property>
370                   </object>
371                   <packing>
372                     <property name="position">2</property>
373                   </packing>
374                 </child>
375               </object>
376             </child>
377           </object>
378           <packing>
379             <property name="padding">5</property>
380             <property name="position">0</property>
381           </packing>
382         </child>
383         <child>
384           <object class="PsppireVButtonBox" id="psppire-vbuttonbox2">
385             <property name="visible">True</property>
386             <property name="border_width">5</property>
387             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
388           </object>
389           <packing>
390             <property name="expand">False</property>
391             <property name="fill">False</property>
392             <property name="pack_type">end</property>
393             <property name="position">1</property>
394           </packing>
395         </child>
396       </object>
397     </child>
398   </object>
399   <object class="GtkAdjustment" id="adjustment1">
400     <property name="upper">100</property>
401     <property name="step_increment">1</property>
402     <property name="page_increment">10</property>
403   </object>
404   <object class="GtkAdjustment" id="adjustment2">
405     <property name="value">0.5</property>
406     <property name="upper">1</property>
407     <property name="step_increment">0.01</property>
408     <property name="page_increment">0.10000000000000001</property>
409   </object>
410   <object class="GtkAdjustment" id="adjustment3">
411     <property name="lower">1</property>
412     <property name="upper">1000</property>
413     <property name="step_increment">1</property>
414     <property name="page_increment">10</property>
415   </object>
416 </interface>