refactor
[pspp] / src / ui / gui / aggregate.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.22.1 -->
3 <!-- PSPP - a program for statistical analysis. -->
4 <!-- Copyright (C) 2017, 2020 Free Software Foundation, Inc. -->
5 <!-- This program is free software: you can redistribute it and/or modify -->
6 <!-- it under the terms of the GNU General Public License as published by -->
7 <!-- the Free Software Foundation, either version 3 of the License, or -->
8 <!-- (at your option) any later version. -->
9 <!-- This program is distributed in the hope that it will be useful, -->
10 <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
11 <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
12 <!-- GNU General Public License for more details. -->
13 <!-- You should have received a copy of the GNU General Public License -->
14 <!-- along with this program.  If not, see <http://www.gnu.org/licenses/>. -->
15 <interface>
16   <requires lib="gtk+" version="3.22"/>
17   <requires lib="psppire" version="0.0"/>
18   <object class="PsppireDialog" id="aggregate-dialog">
19     <property name="can_focus">False</property>
20     <property name="title" translatable="yes">Aggregate Data</property>
21     <property name="modal">True</property>
22     <property name="help_page">AGGREGATE</property>
23     <child>
24       <placeholder/>
25     </child>
26     <child>
27       <object class="GtkBox" id="dialog-hbox1">
28         <property name="visible">True</property>
29         <property name="can_focus">False</property>
30         <property name="margin_left">5</property>
31         <property name="margin_right">5</property>
32         <property name="margin_top">5</property>
33         <property name="orientation">vertical</property>
34         <property name="spacing">7</property>
35         <child>
36           <object class="GtkPaned" id="hbox1">
37             <property name="visible">True</property>
38             <property name="can_focus">False</property>
39             <property name="position">40</property>
40             <property name="position_set">True</property>
41             <child>
42               <object class="GtkScrolledWindow" id="scrolledwindow1">
43                 <property name="width_request">200</property>
44                 <property name="visible">True</property>
45                 <property name="can_focus">True</property>
46                 <property name="margin_right">5</property>
47                 <property name="shadow_type">in</property>
48                 <child>
49                   <object class="PsppireDictView" id="dict-view">
50                     <property name="visible">True</property>
51                     <property name="can_focus">True</property>
52                     <property name="has_tooltip">True</property>
53                     <property name="border_width">5</property>
54                     <property name="headers_visible">False</property>
55                     <property name="headers_clickable">False</property>
56                     <child internal-child="selection">
57                       <object class="GtkTreeSelection" id="psppire-dictview-selection1"/>
58                     </child>
59                   </object>
60                 </child>
61               </object>
62               <packing>
63                 <property name="resize">True</property>
64                 <property name="shrink">False</property>
65               </packing>
66             </child>
67             <child>
68               <object class="GtkBox" id="vbox1">
69                 <property name="visible">True</property>
70                 <property name="can_focus">False</property>
71                 <property name="margin_left">5</property>
72                 <property name="orientation">vertical</property>
73                 <property name="spacing">5</property>
74                 <child>
75                   <object class="GtkBox" id="hbox2">
76                     <property name="visible">True</property>
77                     <property name="can_focus">False</property>
78                     <child>
79                       <object class="PsppireSelector" id="break-selector">
80                         <property name="visible">True</property>
81                         <property name="can_focus">True</property>
82                         <property name="receives_default">True</property>
83                         <property name="halign">center</property>
84                         <property name="valign">center</property>
85                         <property name="border_width">5</property>
86                         <property name="source_widget">dict-view</property>
87                         <property name="dest_widget">psppire-var-view1</property>
88                       </object>
89                       <packing>
90                         <property name="expand">False</property>
91                         <property name="fill">True</property>
92                         <property name="position">0</property>
93                       </packing>
94                     </child>
95                     <child>
96                       <object class="GtkFrame" id="frame2">
97                         <property name="visible">True</property>
98                         <property name="can_focus">False</property>
99                         <property name="label_xalign">0</property>
100                         <property name="shadow_type">none</property>
101                         <child>
102                           <object class="GtkScrolledWindow" id="scrolledwindow2">
103                             <property name="visible">True</property>
104                             <property name="can_focus">True</property>
105                             <property name="margin_start">12</property>
106                             <property name="shadow_type">in</property>
107                             <child>
108                               <object class="PsppireVarView" id="psppire-var-view1">
109                                 <property name="visible">True</property>
110                                 <property name="can_focus">True</property>
111                                 <property name="border_width">5</property>
112                                 <property name="headers_visible">False</property>
113                                 <property name="headers_clickable">False</property>
114                                 <child internal-child="selection">
115                                   <object class="GtkTreeSelection" id="psppire-var-view-selection1"/>
116                                 </child>
117                               </object>
118                             </child>
119                           </object>
120                         </child>
121                         <child type="label">
122                           <object class="GtkLabel" id="label2">
123                             <property name="visible">True</property>
124                             <property name="can_focus">False</property>
125                             <property name="label" translatable="yes">_Break variable(s)</property>
126                             <property name="use_markup">True</property>
127                             <property name="use_underline">True</property>
128                             <property name="mnemonic_widget">psppire-var-view1</property>
129                           </object>
130                         </child>
131                       </object>
132                       <packing>
133                         <property name="expand">True</property>
134                         <property name="fill">True</property>
135                         <property name="position">1</property>
136                       </packing>
137                     </child>
138                   </object>
139                   <packing>
140                     <property name="expand">True</property>
141                     <property name="fill">True</property>
142                     <property name="position">0</property>
143                   </packing>
144                 </child>
145                 <child>
146                   <object class="GtkFrame" id="frame4">
147                     <property name="visible">True</property>
148                     <property name="can_focus">False</property>
149                     <property name="label_xalign">0</property>
150                     <child>
151                       <object class="GtkBox" id="vbox2">
152                         <property name="visible">True</property>
153                         <property name="can_focus">False</property>
154                         <property name="orientation">vertical</property>
155                         <property name="spacing">5</property>
156                         <child>
157                           <object class="GtkGrid" id="table1">
158                             <property name="visible">True</property>
159                             <property name="can_focus">False</property>
160                             <property name="margin_left">5</property>
161                             <property name="margin_right">5</property>
162                             <property name="margin_top">5</property>
163                             <property name="margin_bottom">5</property>
164                             <property name="row_spacing">5</property>
165                             <property name="column_spacing">5</property>
166                             <child>
167                               <object class="GtkBox" id="hbox5">
168                                 <property name="visible">True</property>
169                                 <property name="can_focus">False</property>
170                                 <property name="hexpand">True</property>
171                                 <property name="spacing">5</property>
172                                 <child>
173                                   <object class="GtkLabel" id="label6">
174                                     <property name="visible">True</property>
175                                     <property name="can_focus">False</property>
176                                     <property name="halign">start</property>
177                                     <property name="label" translatable="yes">Variable Name: </property>
178                                   </object>
179                                   <packing>
180                                     <property name="expand">True</property>
181                                     <property name="fill">True</property>
182                                     <property name="position">0</property>
183                                   </packing>
184                                 </child>
185                                 <child>
186                                   <object class="GtkEntry" id="summary-var-name-entry">
187                                     <property name="visible">True</property>
188                                     <property name="can_focus">True</property>
189                                     <property name="invisible_char">●</property>
190                                   </object>
191                                   <packing>
192                                     <property name="expand">True</property>
193                                     <property name="fill">True</property>
194                                     <property name="position">1</property>
195                                   </packing>
196                                 </child>
197                               </object>
198                               <packing>
199                                 <property name="left_attach">0</property>
200                                 <property name="top_attach">0</property>
201                               </packing>
202                             </child>
203                             <child>
204                               <object class="GtkBox" id="hbox9">
205                                 <property name="visible">True</property>
206                                 <property name="can_focus">False</property>
207                                 <property name="spacing">5</property>
208                                 <child>
209                                   <object class="GtkLabel" id="label10">
210                                     <property name="visible">True</property>
211                                     <property name="can_focus">False</property>
212                                     <property name="halign">start</property>
213                                     <property name="label" translatable="yes">Variable Label: </property>
214                                   </object>
215                                   <packing>
216                                     <property name="expand">True</property>
217                                     <property name="fill">True</property>
218                                     <property name="position">0</property>
219                                   </packing>
220                                 </child>
221                                 <child>
222                                   <object class="GtkEntry" id="summary-var-label-entry">
223                                     <property name="visible">True</property>
224                                     <property name="can_focus">True</property>
225                                     <property name="invisible_char">●</property>
226                                   </object>
227                                   <packing>
228                                     <property name="expand">True</property>
229                                     <property name="fill">True</property>
230                                     <property name="position">1</property>
231                                   </packing>
232                                 </child>
233                               </object>
234                               <packing>
235                                 <property name="left_attach">1</property>
236                                 <property name="top_attach">0</property>
237                               </packing>
238                             </child>
239                             <child>
240                               <object class="GtkBox" id="hbox8">
241                                 <property name="visible">True</property>
242                                 <property name="can_focus">False</property>
243                                 <property name="hexpand">True</property>
244                                 <property name="spacing">5</property>
245                                 <child>
246                                   <object class="GtkLabel" id="label5">
247                                     <property name="visible">True</property>
248                                     <property name="can_focus">False</property>
249                                     <property name="halign">start</property>
250                                     <property name="label" translatable="yes">Function: </property>
251                                   </object>
252                                   <packing>
253                                     <property name="expand">False</property>
254                                     <property name="fill">True</property>
255                                     <property name="position">0</property>
256                                   </packing>
257                                 </child>
258                                 <child>
259                                   <object class="GtkComboBox" id="function-combo">
260                                     <property name="visible">True</property>
261                                     <property name="can_focus">False</property>
262                                   </object>
263                                   <packing>
264                                     <property name="expand">True</property>
265                                     <property name="fill">True</property>
266                                     <property name="pack_type">end</property>
267                                     <property name="position">1</property>
268                                   </packing>
269                                 </child>
270                               </object>
271                               <packing>
272                                 <property name="left_attach">0</property>
273                                 <property name="top_attach">1</property>
274                                 <property name="width">2</property>
275                               </packing>
276                             </child>
277                             <child>
278                               <object class="GtkBox" id="source-var">
279                                 <property name="visible">True</property>
280                                 <property name="can_focus">False</property>
281                                 <child>
282                                   <object class="PsppireSelector" id="psppire-selector1">
283                                     <property name="visible">True</property>
284                                     <property name="can_focus">True</property>
285                                     <property name="receives_default">True</property>
286                                     <property name="border_width">5</property>
287                                     <property name="source_widget">dict-view</property>
288                                     <property name="dest_widget">source-var-entry</property>
289                                   </object>
290                                   <packing>
291                                     <property name="expand">False</property>
292                                     <property name="fill">True</property>
293                                     <property name="position">0</property>
294                                   </packing>
295                                 </child>
296                                 <child>
297                                   <object class="GtkEntry" id="source-var-entry">
298                                     <property name="visible">True</property>
299                                     <property name="can_focus">True</property>
300                                     <property name="invisible_char">●</property>
301                                   </object>
302                                   <packing>
303                                     <property name="expand">True</property>
304                                     <property name="fill">True</property>
305                                     <property name="position">1</property>
306                                   </packing>
307                                 </child>
308                               </object>
309                               <packing>
310                                 <property name="left_attach">0</property>
311                                 <property name="top_attach">2</property>
312                               </packing>
313                             </child>
314                             <child>
315                               <object class="GtkBox" id="summary-arg1">
316                                 <property name="visible">True</property>
317                                 <property name="can_focus">False</property>
318                                 <property name="spacing">5</property>
319                                 <child>
320                                   <object class="GtkLabel" id="label8">
321                                     <property name="visible">True</property>
322                                     <property name="can_focus">False</property>
323                                     <property name="halign">start</property>
324                                     <property name="label" translatable="yes">Argument 1: </property>
325                                   </object>
326                                   <packing>
327                                     <property name="expand">True</property>
328                                     <property name="fill">True</property>
329                                     <property name="position">0</property>
330                                   </packing>
331                                 </child>
332                                 <child>
333                                   <object class="GtkEntry" id="summary-arg-entry1">
334                                     <property name="visible">True</property>
335                                     <property name="can_focus">True</property>
336                                     <property name="hexpand">True</property>
337                                     <property name="invisible_char">●</property>
338                                   </object>
339                                   <packing>
340                                     <property name="expand">True</property>
341                                     <property name="fill">True</property>
342                                     <property name="position">1</property>
343                                   </packing>
344                                 </child>
345                               </object>
346                               <packing>
347                                 <property name="left_attach">0</property>
348                                 <property name="top_attach">3</property>
349                               </packing>
350                             </child>
351                             <child>
352                               <object class="GtkBox" id="summary-arg2">
353                                 <property name="visible">True</property>
354                                 <property name="can_focus">False</property>
355                                 <property name="spacing">5</property>
356                                 <child>
357                                   <object class="GtkLabel" id="label9">
358                                     <property name="visible">True</property>
359                                     <property name="can_focus">False</property>
360                                     <property name="halign">start</property>
361                                     <property name="label" translatable="yes">Argument 2: </property>
362                                   </object>
363                                   <packing>
364                                     <property name="expand">True</property>
365                                     <property name="fill">True</property>
366                                     <property name="position">0</property>
367                                   </packing>
368                                 </child>
369                                 <child>
370                                   <object class="GtkEntry" id="summary-arg-entry2">
371                                     <property name="visible">True</property>
372                                     <property name="can_focus">True</property>
373                                     <property name="invisible_char">●</property>
374                                   </object>
375                                   <packing>
376                                     <property name="expand">True</property>
377                                     <property name="fill">True</property>
378                                     <property name="position">1</property>
379                                   </packing>
380                                 </child>
381                               </object>
382                               <packing>
383                                 <property name="left_attach">1</property>
384                                 <property name="top_attach">3</property>
385                               </packing>
386                             </child>
387                             <child>
388                               <placeholder/>
389                             </child>
390                           </object>
391                           <packing>
392                             <property name="expand">True</property>
393                             <property name="fill">True</property>
394                             <property name="position">0</property>
395                           </packing>
396                         </child>
397                         <child>
398                           <object class="PsppireAcr" id="psppire-acr1">
399                             <property name="visible">True</property>
400                             <property name="can_focus">False</property>
401                             <property name="border_width">5</property>
402                           </object>
403                           <packing>
404                             <property name="expand">True</property>
405                             <property name="fill">True</property>
406                             <property name="position">1</property>
407                           </packing>
408                         </child>
409                       </object>
410                     </child>
411                     <child type="label">
412                       <object class="GtkLabel" id="label4">
413                         <property name="visible">True</property>
414                         <property name="can_focus">False</property>
415                         <property name="label" translatable="yes">Aggregated variables</property>
416                         <property name="use_markup">True</property>
417                       </object>
418                     </child>
419                   </object>
420                   <packing>
421                     <property name="expand">True</property>
422                     <property name="fill">True</property>
423                     <property name="position">1</property>
424                   </packing>
425                 </child>
426               </object>
427               <packing>
428                 <property name="resize">True</property>
429                 <property name="shrink">True</property>
430               </packing>
431             </child>
432           </object>
433           <packing>
434             <property name="expand">True</property>
435             <property name="fill">True</property>
436             <property name="position">0</property>
437           </packing>
438         </child>
439         <child>
440           <object class="GtkFrame" id="frame3">
441             <property name="visible">True</property>
442             <property name="can_focus">False</property>
443             <property name="label_xalign">0</property>
444             <child>
445               <object class="GtkBox" id="vbox4">
446                 <property name="visible">True</property>
447                 <property name="can_focus">False</property>
448                 <property name="margin_left">5</property>
449                 <property name="margin_right">5</property>
450                 <property name="margin_start">12</property>
451                 <property name="margin_top">5</property>
452                 <property name="margin_bottom">5</property>
453                 <property name="orientation">vertical</property>
454                 <child>
455                   <object class="GtkRadioButton" id="add-radiobutton">
456                     <property name="label" translatable="yes">_Add aggregated variables to the active dataset</property>
457                     <property name="visible">True</property>
458                     <property name="can_focus">True</property>
459                     <property name="receives_default">False</property>
460                     <property name="halign">start</property>
461                     <property name="use_underline">True</property>
462                     <property name="active">True</property>
463                     <property name="draw_indicator">True</property>
464                   </object>
465                   <packing>
466                     <property name="expand">True</property>
467                     <property name="fill">True</property>
468                     <property name="position">0</property>
469                   </packing>
470                 </child>
471                 <child>
472                   <object class="GtkRadioButton" id="replace-radiobutton">
473                     <property name="label" translatable="yes">_Replace the current dataset with the aggregated variables</property>
474                     <property name="visible">True</property>
475                     <property name="can_focus">True</property>
476                     <property name="receives_default">False</property>
477                     <property name="halign">start</property>
478                     <property name="use_underline">True</property>
479                     <property name="active">True</property>
480                     <property name="draw_indicator">True</property>
481                     <property name="group">add-radiobutton</property>
482                   </object>
483                   <packing>
484                     <property name="expand">True</property>
485                     <property name="fill">True</property>
486                     <property name="position">1</property>
487                   </packing>
488                 </child>
489                 <child>
490                   <object class="GtkRadioButton" id="filename-radiobutton">
491                     <property name="label" translatable="yes">_Write a new data file containing only the aggregated variables</property>
492                     <property name="visible">True</property>
493                     <property name="can_focus">True</property>
494                     <property name="receives_default">False</property>
495                     <property name="halign">start</property>
496                     <property name="use_underline">True</property>
497                     <property name="active">True</property>
498                     <property name="draw_indicator">True</property>
499                     <property name="group">add-radiobutton</property>
500                   </object>
501                   <packing>
502                     <property name="expand">True</property>
503                     <property name="fill">True</property>
504                     <property name="position">2</property>
505                   </packing>
506                 </child>
507                 <child>
508                   <object class="GtkBox" id="filename-box">
509                     <property name="visible">True</property>
510                     <property name="sensitive">False</property>
511                     <property name="can_focus">False</property>
512                     <property name="margin_start">15</property>
513                     <child>
514                       <object class="GtkButton" id="filename-button">
515                         <property name="label">gtk-save</property>
516                         <property name="visible">True</property>
517                         <property name="can_focus">True</property>
518                         <property name="receives_default">True</property>
519                         <property name="use_stock">True</property>
520                       </object>
521                       <packing>
522                         <property name="expand">False</property>
523                         <property name="fill">True</property>
524                         <property name="position">0</property>
525                       </packing>
526                     </child>
527                     <child>
528                       <object class="GtkLabel" id="filename-label">
529                         <property name="visible">True</property>
530                         <property name="can_focus">False</property>
531                         <property name="label" translatable="yes">label</property>
532                       </object>
533                       <packing>
534                         <property name="expand">True</property>
535                         <property name="fill">True</property>
536                         <property name="position">1</property>
537                       </packing>
538                     </child>
539                   </object>
540                   <packing>
541                     <property name="expand">True</property>
542                     <property name="fill">True</property>
543                     <property name="position">3</property>
544                   </packing>
545                 </child>
546               </object>
547             </child>
548             <child type="label">
549               <object class="GtkLabel" id="label3">
550                 <property name="visible">True</property>
551                 <property name="can_focus">False</property>
552                 <property name="label" translatable="yes">Save</property>
553                 <property name="use_markup">True</property>
554               </object>
555             </child>
556           </object>
557           <packing>
558             <property name="expand">False</property>
559             <property name="fill">True</property>
560             <property name="position">1</property>
561           </packing>
562         </child>
563         <child>
564           <object class="GtkFrame" id="frame1">
565             <property name="visible">True</property>
566             <property name="can_focus">False</property>
567             <property name="label_xalign">0</property>
568             <child>
569               <object class="GtkBox" id="vboxbuttons">
570                 <property name="visible">True</property>
571                 <property name="can_focus">False</property>
572                 <property name="margin_left">5</property>
573                 <property name="margin_right">5</property>
574                 <property name="margin_start">12</property>
575                 <property name="margin_top">5</property>
576                 <property name="margin_bottom">5</property>
577                 <property name="orientation">vertical</property>
578                 <child>
579                   <object class="GtkRadioButton" id="sorted-radiobutton">
580                     <property name="label" translatable="yes">File is _already sorted on break variable(s)</property>
581                     <property name="visible">True</property>
582                     <property name="can_focus">True</property>
583                     <property name="receives_default">False</property>
584                     <property name="halign">start</property>
585                     <property name="use_underline">True</property>
586                     <property name="draw_indicator">True</property>
587                   </object>
588                   <packing>
589                     <property name="expand">False</property>
590                     <property name="fill">False</property>
591                     <property name="position">0</property>
592                   </packing>
593                 </child>
594                 <child>
595                   <object class="GtkRadioButton" id="needs-sort-radiobutton">
596                     <property name="label" translatable="yes">Sort file before a_ggregating</property>
597                     <property name="visible">True</property>
598                     <property name="can_focus">True</property>
599                     <property name="receives_default">False</property>
600                     <property name="halign">start</property>
601                     <property name="use_underline">True</property>
602                     <property name="draw_indicator">True</property>
603                     <property name="group">sorted-radiobutton</property>
604                   </object>
605                   <packing>
606                     <property name="expand">False</property>
607                     <property name="fill">False</property>
608                     <property name="position">1</property>
609                   </packing>
610                 </child>
611               </object>
612             </child>
613             <child type="label">
614               <object class="GtkLabel" id="label1">
615                 <property name="visible">True</property>
616                 <property name="can_focus">False</property>
617                 <property name="label" translatable="yes">Options for very large datasets</property>
618                 <property name="use_markup">True</property>
619               </object>
620             </child>
621           </object>
622           <packing>
623             <property name="expand">False</property>
624             <property name="fill">True</property>
625             <property name="position">2</property>
626           </packing>
627         </child>
628         <child>
629           <object class="PsppireButtonBox" id="psppire-hbuttonbox1">
630             <property name="visible">True</property>
631             <property name="can_focus">False</property>
632             <property name="border_width">5</property>
633           </object>
634           <packing>
635             <property name="expand">False</property>
636             <property name="fill">False</property>
637             <property name="pack_type">end</property>
638             <property name="position">3</property>
639           </packing>
640         </child>
641       </object>
642     </child>
643   </object>
644 </interface>