gui: Factor out duplicated code for executing and pasting syntax.
[pspp] / src / ui / gui / factor.ui
1 <?xml version="1.0"?>
2 <interface>
3   <requires lib="gtk+" version="2.16"/>
4   <!-- interface-requires psppire 0.0 -->
5   <!-- interface-naming-policy project-wide -->
6   <object class="GtkListStore" id="extraction-methods">
7     <columns>
8       <!-- column-name Method-Name -->
9       <column type="gchararray"/>
10     </columns>
11     <data>
12       <row>
13         <col id="0" translatable="yes">Principal Components Analysis</col>
14       </row>
15       <row>
16         <col id="0" translatable="yes">Principal Axis Factoring</col>
17       </row>
18     </data>
19   </object>
20   <object class="GtkLabel" id="bug-workaround1">
21     <property name="sensitive">False</property>
22     <property name="label" translatable="yes">Principal Components Analysis</property>
23   </object>
24   <object class="GtkLabel" id="bug-workaround2">
25     <property name="sensitive">False</property>
26     <property name="label" translatable="yes">Principal Axis Factoring</property>
27   </object>
28   <object class="PsppireDialog" id="factor-dialog">
29     <property name="title" translatable="yes">Factor Analysis</property>
30     <property name="modal">True</property>
31     <property name="orientation">Tabular</property>
32     <child internal-child="hbox">
33       <object class="GtkTable" id="dialog-hbox1">
34         <property name="visible">True</property>
35         <property name="n_rows">2</property>
36         <property name="n_columns">2</property>
37         <property name="row_spacing">5</property>
38         <child>
39           <object class="PsppireVButtonBox" id="psppire-vbuttonbox1">
40             <property name="visible">True</property>
41             <property name="border_width">5</property>
42           </object>
43           <packing>
44             <property name="left_attach">1</property>
45             <property name="right_attach">2</property>
46             <property name="x_options"></property>
47           </packing>
48         </child>
49         <child>
50           <object class="GtkHButtonBox" id="hbuttonbox1">
51             <property name="visible">True</property>
52             <property name="layout_style">spread</property>
53             <child>
54               <object class="GtkButton" id="button-descriptives">
55                 <property name="label" translatable="yes">_Descriptives...</property>
56                 <property name="can_focus">True</property>
57                 <property name="receives_default">True</property>
58                 <property name="use_underline">True</property>
59               </object>
60               <packing>
61                 <property name="expand">False</property>
62                 <property name="fill">False</property>
63                 <property name="position">0</property>
64               </packing>
65             </child>
66             <child>
67               <object class="GtkButton" id="button-extractions">
68                 <property name="label" translatable="yes">_Extraction...</property>
69                 <property name="visible">True</property>
70                 <property name="can_focus">True</property>
71                 <property name="receives_default">True</property>
72                 <property name="use_underline">True</property>
73               </object>
74               <packing>
75                 <property name="expand">False</property>
76                 <property name="fill">False</property>
77                 <property name="position">1</property>
78               </packing>
79             </child>
80             <child>
81               <object class="GtkButton" id="button-rotations">
82                 <property name="label" translatable="yes">_Rotations...</property>
83                 <property name="visible">True</property>
84                 <property name="can_focus">True</property>
85                 <property name="receives_default">True</property>
86                 <property name="use_underline">True</property>
87               </object>
88               <packing>
89                 <property name="expand">False</property>
90                 <property name="fill">False</property>
91                 <property name="position">2</property>
92               </packing>
93             </child>
94           </object>
95           <packing>
96             <property name="right_attach">2</property>
97             <property name="top_attach">1</property>
98             <property name="bottom_attach">2</property>
99             <property name="y_options"></property>
100             <property name="x_padding">5</property>
101             <property name="y_padding">5</property>
102           </packing>
103         </child>
104         <child>
105           <object class="GtkHBox" id="hbox1">
106             <property name="visible">True</property>
107             <child>
108               <object class="GtkScrolledWindow" id="scrolledwindow1">
109                 <property name="visible">True</property>
110                 <property name="can_focus">True</property>
111                 <property name="hscrollbar_policy">never</property>
112                 <property name="vscrollbar_policy">automatic</property>
113                 <property name="shadow_type">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="has_tooltip">True</property>
119                     <property name="border_width">5</property>
120                     <property name="headers_visible">False</property>
121                     <property name="headers_clickable">False</property>
122                   </object>
123                 </child>
124               </object>
125               <packing>
126                 <property name="position">0</property>
127               </packing>
128             </child>
129             <child>
130               <object class="GtkAlignment" id="alignment2">
131                 <property name="visible">True</property>
132                 <property name="xscale">0.5</property>
133                 <property name="yscale">0</property>
134                 <child>
135                   <object class="PsppireSelector" id="dep-selector">
136                     <property name="visible">True</property>
137                     <property name="can_focus">True</property>
138                     <property name="receives_default">True</property>
139                     <property name="border_width">5</property>
140                     <property name="source_widget">dict-view</property>
141                     <property name="dest_widget">psppire-var-view1</property>
142                   </object>
143                 </child>
144               </object>
145               <packing>
146                 <property name="position">1</property>
147               </packing>
148             </child>
149             <child>
150               <object class="GtkFrame" id="frame1">
151                 <property name="visible">True</property>
152                 <property name="label_xalign">0</property>
153                 <property name="shadow_type">none</property>
154                 <child>
155                   <object class="GtkAlignment" id="alignment1">
156                     <property name="visible">True</property>
157                     <property name="left_padding">12</property>
158                     <child>
159                       <object class="GtkScrolledWindow" id="scrolledwindow2">
160                         <property name="visible">True</property>
161                         <property name="can_focus">True</property>
162                         <property name="hscrollbar_policy">never</property>
163                         <property name="vscrollbar_policy">automatic</property>
164                         <property name="shadow_type">in</property>
165                         <child>
166                           <object class="PsppireVarView" id="psppire-var-view1">
167                             <property name="visible">True</property>
168                             <property name="can_focus">True</property>
169                             <property name="border_width">5</property>
170                             <property name="headers_visible">False</property>
171                             <property name="headers_clickable">False</property>
172                           </object>
173                         </child>
174                       </object>
175                     </child>
176                   </object>
177                 </child>
178                 <child type="label">
179                   <object class="GtkLabel" id="label1">
180                     <property name="visible">True</property>
181                     <property name="label" translatable="yes">Variables:</property>
182                     <property name="use_markup">True</property>
183                   </object>
184                 </child>
185               </object>
186               <packing>
187                 <property name="position">2</property>
188               </packing>
189             </child>
190           </object>
191           <packing>
192             <property name="x_padding">5</property>
193             <property name="y_padding">5</property>
194           </packing>
195         </child>
196       </object>
197     </child>
198   </object>
199   <object class="PsppireDialog" id="extractions-dialog">
200     <property name="title" translatable="yes">Factor Analysis: Extraction</property>
201     <property name="modal">True</property>
202     <child internal-child="hbox">
203       <object class="GtkHBox" id="dialog-hbox4">
204         <property name="visible">True</property>
205         <property name="spacing">2</property>
206         <child>
207           <object class="GtkAlignment" id="alignment3">
208             <property name="visible">True</property>
209             <property name="top_padding">5</property>
210             <property name="bottom_padding">5</property>
211             <property name="left_padding">5</property>
212             <property name="right_padding">5</property>
213             <child>
214               <object class="GtkVBox" id="vbox1">
215                 <property name="visible">True</property>
216                 <property name="orientation">vertical</property>
217                 <property name="spacing">5</property>
218                 <child>
219                   <object class="GtkHBox" id="hbox3">
220                     <property name="visible">True</property>
221                     <child>
222                       <object class="GtkLabel" id="label5">
223                         <property name="visible">True</property>
224                         <property name="label" translatable="yes">Method: </property>
225                       </object>
226                       <packing>
227                         <property name="expand">False</property>
228                         <property name="fill">False</property>
229                         <property name="position">0</property>
230                       </packing>
231                     </child>
232                     <child>
233                       <object class="GtkComboBox" id="combobox1">
234                         <property name="visible">True</property>
235                         <property name="model">extraction-methods</property>
236                         <property name="active">0</property>
237                         <child>
238                           <object class="GtkCellRendererText" id="renderer1"/>
239                           <attributes>
240                             <attribute name="text">0</attribute>
241                           </attributes>
242                         </child>
243                       </object>
244                       <packing>
245                         <property name="expand">False</property>
246                         <property name="position">1</property>
247                       </packing>
248                     </child>
249                   </object>
250                   <packing>
251                     <property name="expand">False</property>
252                     <property name="position">0</property>
253                   </packing>
254                 </child>
255                 <child>
256                   <object class="GtkHBox" id="hbox2">
257                     <property name="visible">True</property>
258                     <property name="spacing">5</property>
259                     <child>
260                       <object class="GtkFrame" id="frame3">
261                         <property name="visible">True</property>
262                         <property name="label_xalign">0</property>
263                         <child>
264                           <object class="GtkAlignment" id="alignment4">
265                             <property name="visible">True</property>
266                             <property name="left_padding">12</property>
267                             <child>
268                               <object class="GtkVButtonBox" id="vbuttonbox1">
269                                 <property name="visible">True</property>
270                                 <property name="orientation">vertical</property>
271                                 <property name="layout_style">spread</property>
272                                 <child>
273                                   <object class="GtkRadioButton" id="correlations-radiobutton">
274                                     <property name="label" translatable="yes">Correlation matrix</property>
275                                     <property name="visible">True</property>
276                                     <property name="can_focus">True</property>
277                                     <property name="receives_default">False</property>
278                                     <property name="draw_indicator">True</property>
279                                   </object>
280                                   <packing>
281                                     <property name="expand">False</property>
282                                     <property name="fill">False</property>
283                                     <property name="position">0</property>
284                                   </packing>
285                                 </child>
286                                 <child>
287                                   <object class="GtkRadioButton" id="covariance-radiobutton">
288                                     <property name="label" translatable="yes">Covariance matrix</property>
289                                     <property name="visible">True</property>
290                                     <property name="can_focus">True</property>
291                                     <property name="receives_default">False</property>
292                                     <property name="draw_indicator">True</property>
293                                     <property name="group">correlations-radiobutton</property>
294                                   </object>
295                                   <packing>
296                                     <property name="expand">False</property>
297                                     <property name="fill">False</property>
298                                     <property name="position">1</property>
299                                   </packing>
300                                 </child>
301                               </object>
302                             </child>
303                           </object>
304                         </child>
305                         <child type="label">
306                           <object class="GtkLabel" id="label3">
307                             <property name="visible">True</property>
308                             <property name="label" translatable="yes">Analyze</property>
309                             <property name="use_markup">True</property>
310                           </object>
311                         </child>
312                       </object>
313                       <packing>
314                         <property name="position">0</property>
315                       </packing>
316                     </child>
317                     <child>
318                       <object class="GtkFrame" id="frame4">
319                         <property name="visible">True</property>
320                         <property name="label_xalign">0</property>
321                         <child>
322                           <object class="GtkAlignment" id="alignment5">
323                             <property name="visible">True</property>
324                             <property name="left_padding">12</property>
325                             <child>
326                               <object class="GtkVButtonBox" id="vbuttonbox2">
327                                 <property name="visible">True</property>
328                                 <property name="orientation">vertical</property>
329                                 <property name="layout_style">spread</property>
330                                 <child>
331                                   <object class="GtkCheckButton" id="unrotated-button">
332                                     <property name="label" translatable="yes">Unrotated factor solution</property>
333                                     <property name="visible">True</property>
334                                     <property name="can_focus">True</property>
335                                     <property name="receives_default">False</property>
336                                     <property name="draw_indicator">True</property>
337                                   </object>
338                                   <packing>
339                                     <property name="expand">False</property>
340                                     <property name="fill">False</property>
341                                     <property name="position">0</property>
342                                   </packing>
343                                 </child>
344                                 <child>
345                                   <object class="GtkCheckButton" id="scree-button">
346                                     <property name="label" translatable="yes">Scree plot</property>
347                                     <property name="visible">True</property>
348                                     <property name="can_focus">True</property>
349                                     <property name="receives_default">False</property>
350                                     <property name="draw_indicator">True</property>
351                                   </object>
352                                   <packing>
353                                     <property name="expand">False</property>
354                                     <property name="fill">False</property>
355                                     <property name="position">1</property>
356                                   </packing>
357                                 </child>
358                               </object>
359                             </child>
360                           </object>
361                         </child>
362                         <child type="label">
363                           <object class="GtkLabel" id="label4">
364                             <property name="visible">True</property>
365                             <property name="label" translatable="yes">Display</property>
366                             <property name="use_markup">True</property>
367                           </object>
368                         </child>
369                       </object>
370                       <packing>
371                         <property name="position">1</property>
372                       </packing>
373                     </child>
374                   </object>
375                   <packing>
376                     <property name="padding">5</property>
377                     <property name="position">1</property>
378                   </packing>
379                 </child>
380                 <child>
381                   <object class="GtkFrame" id="frame2">
382                     <property name="visible">True</property>
383                     <property name="label_xalign">0</property>
384                     <child>
385                       <object class="GtkAlignment" id="alignment6">
386                         <property name="visible">True</property>
387                         <property name="left_padding">12</property>
388                         <child>
389                           <object class="GtkVBox" id="vbox2">
390                             <property name="visible">True</property>
391                             <property name="orientation">vertical</property>
392                             <child>
393                               <object class="GtkHBox" id="hbox6">
394                                 <property name="visible">True</property>
395                                 <child>
396                                   <object class="GtkRadioButton" id="mineigen-radiobutton">
397                                     <property name="visible">True</property>
398                                     <property name="can_focus">True</property>
399                                     <property name="receives_default">False</property>
400                                     <property name="active">True</property>
401                                     <property name="draw_indicator">True</property>
402                                     <property name="group">nfactors-radiobutton</property>
403                                   </object>
404                                   <packing>
405                                     <property name="expand">False</property>
406                                     <property name="fill">False</property>
407                                     <property name="position">0</property>
408                                   </packing>
409                                 </child>
410                                 <child>
411                                   <placeholder/>
412                                 </child>
413                               </object>
414                               <packing>
415                                 <property name="position">0</property>
416                               </packing>
417                             </child>
418                             <child>
419                               <object class="GtkHBox" id="hbox5">
420                                 <property name="visible">True</property>
421                                 <child>
422                                   <object class="GtkRadioButton" id="nfactors-radiobutton">
423                                     <property name="visible">True</property>
424                                     <property name="can_focus">True</property>
425                                     <property name="receives_default">False</property>
426                                     <property name="draw_indicator">True</property>
427                                   </object>
428                                   <packing>
429                                     <property name="expand">False</property>
430                                     <property name="fill">False</property>
431                                     <property name="position">0</property>
432                                   </packing>
433                                 </child>
434                                 <child>
435                                   <object class="GtkLabel" id="label7">
436                                     <property name="visible">True</property>
437                                     <property name="xalign">0</property>
438                                     <property name="label" translatable="yes">Number of factors:</property>
439                                   </object>
440                                   <packing>
441                                     <property name="position">1</property>
442                                   </packing>
443                                 </child>
444                                 <child>
445                                   <object class="GtkSpinButton" id="spinbutton-nfactors">
446                                     <property name="visible">True</property>
447                                     <property name="can_focus">True</property>
448                                     <property name="invisible_char">&#x2022;</property>
449                                     <property name="adjustment">adjustment1</property>
450                                     <property name="numeric">True</property>
451                                   </object>
452                                   <packing>
453                                     <property name="position">2</property>
454                                   </packing>
455                                 </child>
456                               </object>
457                               <packing>
458                                 <property name="position">1</property>
459                               </packing>
460                             </child>
461                           </object>
462                         </child>
463                       </object>
464                     </child>
465                     <child type="label">
466                       <object class="GtkLabel" id="label2">
467                         <property name="visible">True</property>
468                         <property name="label" translatable="yes">Extract</property>
469                         <property name="use_markup">True</property>
470                       </object>
471                     </child>
472                   </object>
473                   <packing>
474                     <property name="position">2</property>
475                   </packing>
476                 </child>
477                 <child>
478                   <object class="GtkHBox" id="hbox4">
479                     <property name="visible">True</property>
480                     <child>
481                       <object class="GtkLabel" id="label6">
482                         <property name="visible">True</property>
483                         <property name="label" translatable="yes">Maximum iterations for convergence:</property>
484                       </object>
485                       <packing>
486                         <property name="position">0</property>
487                       </packing>
488                     </child>
489                     <child>
490                       <object class="GtkSpinButton" id="spinbutton-extract-iterations">
491                         <property name="visible">True</property>
492                         <property name="can_focus">True</property>
493                         <property name="invisible_char">&#x2022;</property>
494                         <property name="adjustment">adjustment2</property>
495                       </object>
496                       <packing>
497                         <property name="position">1</property>
498                       </packing>
499                     </child>
500                   </object>
501                   <packing>
502                     <property name="expand">False</property>
503                     <property name="position">3</property>
504                   </packing>
505                 </child>
506               </object>
507             </child>
508           </object>
509           <packing>
510             <property name="position">0</property>
511           </packing>
512         </child>
513         <child>
514           <object class="PsppireVButtonBox" id="psppire-vbuttonbox2">
515             <property name="visible">True</property>
516             <property name="border_width">5</property>
517             <property name="spacing">5</property>
518             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
519           </object>
520           <packing>
521             <property name="expand">False</property>
522             <property name="fill">False</property>
523             <property name="pack_type">end</property>
524             <property name="position">1</property>
525           </packing>
526         </child>
527       </object>
528     </child>
529   </object>
530   <object class="GtkAdjustment" id="adjustment1">
531     <property name="upper">100</property>
532     <property name="step_increment">1</property>
533     <property name="page_increment">10</property>
534   </object>
535   <object class="GtkAdjustment" id="adjustment2">
536     <property name="upper">100</property>
537     <property name="step_increment">1</property>
538     <property name="page_increment">10</property>
539   </object>
540   <object class="GtkAdjustment" id="adjustment3">
541     <property name="upper">100</property>
542     <property name="step_increment">1</property>
543     <property name="page_increment">10</property>
544   </object>
545   <object class="PsppireDialog" id="rotations-dialog">
546     <property name="title" translatable="yes">Factor Analysis: Rotation</property>
547     <property name="modal">True</property>
548     <child internal-child="hbox">
549       <object class="GtkHBox" id="dialog-hbox8">
550         <property name="visible">True</property>
551         <property name="spacing">2</property>
552         <child>
553           <object class="GtkAlignment" id="alignment7">
554             <property name="visible">True</property>
555             <property name="top_padding">5</property>
556             <property name="bottom_padding">5</property>
557             <property name="left_padding">5</property>
558             <property name="right_padding">5</property>
559             <child>
560               <object class="GtkVBox" id="vbox3">
561                 <property name="visible">True</property>
562                 <property name="orientation">vertical</property>
563                 <property name="spacing">5</property>
564                 <child>
565                   <object class="GtkFrame" id="frame5">
566                     <property name="visible">True</property>
567                     <property name="label_xalign">0</property>
568                     <child>
569                       <object class="GtkAlignment" id="alignment8">
570                         <property name="visible">True</property>
571                         <property name="left_padding">12</property>
572                         <child>
573                           <object class="GtkTable" id="table1">
574                             <property name="visible">True</property>
575                             <property name="n_rows">2</property>
576                             <property name="n_columns">2</property>
577                             <child>
578                               <object class="GtkRadioButton" id="radiobutton-none">
579                                 <property name="label" translatable="yes">_None</property>
580                                 <property name="visible">True</property>
581                                 <property name="can_focus">True</property>
582                                 <property name="receives_default">False</property>
583                                 <property name="use_underline">True</property>
584                                 <property name="active">True</property>
585                                 <property name="draw_indicator">True</property>
586                               </object>
587                             </child>
588                             <child>
589                               <object class="GtkRadioButton" id="radiobutton-varimax">
590                                 <property name="label" translatable="yes">_Varimax</property>
591                                 <property name="visible">True</property>
592                                 <property name="can_focus">True</property>
593                                 <property name="receives_default">False</property>
594                                 <property name="use_underline">True</property>
595                                 <property name="active">True</property>
596                                 <property name="draw_indicator">True</property>
597                                 <property name="group">radiobutton-none</property>
598                               </object>
599                               <packing>
600                                 <property name="top_attach">1</property>
601                                 <property name="bottom_attach">2</property>
602                               </packing>
603                             </child>
604                             <child>
605                               <object class="GtkRadioButton" id="radiobutton-quartimax">
606                                 <property name="label" translatable="yes">_Quartimax</property>
607                                 <property name="visible">True</property>
608                                 <property name="can_focus">True</property>
609                                 <property name="receives_default">False</property>
610                                 <property name="use_underline">True</property>
611                                 <property name="active">True</property>
612                                 <property name="draw_indicator">True</property>
613                                 <property name="group">radiobutton-none</property>
614                               </object>
615                               <packing>
616                                 <property name="left_attach">1</property>
617                                 <property name="right_attach">2</property>
618                               </packing>
619                             </child>
620                             <child>
621                               <object class="GtkRadioButton" id="radiobutton-equimax">
622                                 <property name="label" translatable="yes">_Equimax</property>
623                                 <property name="visible">True</property>
624                                 <property name="can_focus">True</property>
625                                 <property name="receives_default">False</property>
626                                 <property name="use_underline">True</property>
627                                 <property name="active">True</property>
628                                 <property name="draw_indicator">True</property>
629                                 <property name="group">radiobutton-none</property>
630                               </object>
631                               <packing>
632                                 <property name="left_attach">1</property>
633                                 <property name="right_attach">2</property>
634                                 <property name="top_attach">1</property>
635                                 <property name="bottom_attach">2</property>
636                               </packing>
637                             </child>
638                           </object>
639                         </child>
640                       </object>
641                     </child>
642                     <child type="label">
643                       <object class="GtkLabel" id="label9">
644                         <property name="visible">True</property>
645                         <property name="label" translatable="yes">Method</property>
646                         <property name="use_markup">True</property>
647                       </object>
648                     </child>
649                   </object>
650                   <packing>
651                     <property name="position">0</property>
652                   </packing>
653                 </child>
654                 <child>
655                   <object class="GtkCheckButton" id="checkbutton-rotated-solution">
656                     <property name="label" translatable="yes">_Display rotated solution</property>
657                     <property name="visible">True</property>
658                     <property name="can_focus">True</property>
659                     <property name="receives_default">False</property>
660                     <property name="use_underline">True</property>
661                     <property name="draw_indicator">True</property>
662                   </object>
663                   <packing>
664                     <property name="position">1</property>
665                   </packing>
666                 </child>
667                 <child>
668                   <object class="GtkHBox" id="hbox11">
669                     <property name="visible">True</property>
670                     <child>
671                       <object class="GtkLabel" id="label13">
672                         <property name="visible">True</property>
673                         <property name="label" translatable="yes">Maximum iterations for convergence:</property>
674                       </object>
675                       <packing>
676                         <property name="position">0</property>
677                       </packing>
678                     </child>
679                     <child>
680                       <object class="GtkSpinButton" id="spinbutton-rot-iterations">
681                         <property name="visible">True</property>
682                         <property name="can_focus">True</property>
683                         <property name="invisible_char">&#x2022;</property>
684                         <property name="adjustment">adjustment3</property>
685                       </object>
686                       <packing>
687                         <property name="position">1</property>
688                       </packing>
689                     </child>
690                   </object>
691                   <packing>
692                     <property name="expand">False</property>
693                     <property name="position">2</property>
694                   </packing>
695                 </child>
696               </object>
697             </child>
698           </object>
699           <packing>
700             <property name="position">0</property>
701           </packing>
702         </child>
703         <child>
704           <object class="PsppireVButtonBox" id="psppire-vbuttonbox3">
705             <property name="visible">True</property>
706             <property name="border_width">5</property>
707             <property name="orientation">vertical</property>
708             <property name="spacing">5</property>
709             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
710           </object>
711           <packing>
712             <property name="expand">False</property>
713             <property name="fill">False</property>
714             <property name="pack_type">end</property>
715             <property name="position">1</property>
716           </packing>
717         </child>
718       </object>
719     </child>
720   </object>
721 </interface>