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