Revert "Fixed a use after free error when manipulating datasets."
[pspp] / src / ui / gui / weight.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="2054.17080"/>
22   <object class="PsppireDialog" id="weight-cases-dialog">
23     <property name="can_focus">False</property>
24     <property name="title" translatable="yes">Weight Cases</property>
25     <property name="modal">True</property>
26     <property name="help_page">WEIGHT</property>
27     <child>
28       <object class="GtkBox" id="dialog-hbox2">
29         <property name="visible">True</property>
30         <property name="can_focus">False</property>
31         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
32         <child>
33           <object class="GtkBox" id="hbox4">
34             <property name="visible">True</property>
35             <property name="can_focus">False</property>
36             <property name="margin_top">5</property>
37             <property name="margin_bottom">5</property>
38             <property name="spacing">5</property>
39             <child>
40               <object class="GtkScrolledWindow" id="scrolledwindow1">
41                 <property name="visible">True</property>
42                 <property name="can_focus">False</property>
43                 <property name="hscrollbar_policy">never</property>
44                 <property name="shadow_type">etched-in</property>
45                 <child>
46                   <object class="PsppireDictView" id="weight-cases-treeview">
47                     <property name="visible">True</property>
48                     <property name="can_focus">False</property>
49                     <property name="border_width">0</property>
50                     <property name="headers_visible">False</property>
51                     <property name="fixed_height_mode">True</property>
52                     <child internal-child="selection">
53                       <object class="GtkTreeSelection" id="psppire-dictview-selection1"/>
54                     </child>
55                   </object>
56                 </child>
57               </object>
58               <packing>
59                 <property name="expand">True</property>
60                 <property name="fill">True</property>
61                 <property name="position">0</property>
62               </packing>
63             </child>
64             <child>
65               <object class="GtkBox" id="vbox4">
66                 <property name="visible">True</property>
67                 <property name="can_focus">False</property>
68                 <property name="orientation">vertical</property>
69                 <child>
70                   <object class="GtkFrame" id="frame1">
71                     <property name="visible">True</property>
72                     <property name="can_focus">False</property>
73                     <property name="border_width">5</property>
74                     <property name="label_xalign">0</property>
75                     <child>
76                       <object class="GtkBox" id="vbox2">
77                         <property name="visible">True</property>
78                         <property name="can_focus">False</property>
79                         <property name="border_width">5</property>
80                         <property name="orientation">vertical</property>
81                         <child>
82                           <object class="GtkRadioButton" id="weight-cases-radiobutton1">
83                             <property name="label" translatable="yes">Do not weight cases</property>
84                             <property name="visible">True</property>
85                             <property name="can_focus">False</property>
86                             <property name="receives_default">False</property>
87                             <property name="focus_on_click">False</property>
88                             <property name="xalign">0.5</property>
89                             <property name="active">True</property>
90                             <property name="draw_indicator">True</property>
91                           </object>
92                           <packing>
93                             <property name="expand">False</property>
94                             <property name="fill">True</property>
95                             <property name="position">0</property>
96                           </packing>
97                         </child>
98                         <child>
99                           <object class="GtkRadioButton" id="radiobutton2">
100                             <property name="label" translatable="yes">Weight cases by</property>
101                             <property name="visible">True</property>
102                             <property name="sensitive">False</property>
103                             <property name="can_focus">False</property>
104                             <property name="receives_default">False</property>
105                             <property name="focus_on_click">False</property>
106                             <property name="xalign">0.5</property>
107                             <property name="draw_indicator">True</property>
108                             <property name="group">weight-cases-radiobutton1</property>
109                           </object>
110                           <packing>
111                             <property name="expand">False</property>
112                             <property name="fill">True</property>
113                             <property name="position">1</property>
114                           </packing>
115                         </child>
116                         <child>
117                           <object class="GtkBox" id="hbox3">
118                             <property name="visible">True</property>
119                             <property name="can_focus">False</property>
120                             <child>
121                               <object class="PsppireSelector" id="weight-cases-selector">
122                                 <property name="visible">True</property>
123                                 <property name="can_focus">False</property>
124                                 <property name="receives_default">False</property>
125                                 <property name="border_width">5</property>
126                                 <property name="source_widget">weight-cases-treeview</property>
127                                 <property name="dest_widget">weight-cases-entry</property>
128                               </object>
129                               <packing>
130                                 <property name="expand">False</property>
131                                 <property name="fill">True</property>
132                                 <property name="position">0</property>
133                               </packing>
134                             </child>
135                             <child>
136                               <object class="GtkBox" id="vbox3">
137                                 <property name="visible">True</property>
138                                 <property name="can_focus">False</property>
139                                 <property name="orientation">vertical</property>
140                                 <child>
141                                   <object class="GtkLabel" id="label3">
142                                     <property name="visible">True</property>
143                                     <property name="can_focus">False</property>
144                                     <property name="label" translatable="yes">Frequency Variable</property>
145                                   </object>
146                                   <packing>
147                                     <property name="expand">False</property>
148                                     <property name="fill">True</property>
149                                     <property name="position">0</property>
150                                   </packing>
151                                 </child>
152                                 <child>
153                                   <object class="GtkEntry" id="weight-cases-entry">
154                                     <property name="visible">True</property>
155                                     <property name="can_focus">False</property>
156                                   </object>
157                                   <packing>
158                                     <property name="expand">False</property>
159                                     <property name="fill">True</property>
160                                     <property name="position">1</property>
161                                   </packing>
162                                 </child>
163                               </object>
164                               <packing>
165                                 <property name="expand">False</property>
166                                 <property name="fill">True</property>
167                                 <property name="position">1</property>
168                               </packing>
169                             </child>
170                           </object>
171                           <packing>
172                             <property name="expand">False</property>
173                             <property name="fill">False</property>
174                             <property name="position">2</property>
175                           </packing>
176                         </child>
177                       </object>
178                     </child>
179                     <child type="label_item">
180                       <placeholder/>
181                     </child>
182                   </object>
183                   <packing>
184                     <property name="expand">False</property>
185                     <property name="fill">True</property>
186                     <property name="position">0</property>
187                   </packing>
188                 </child>
189                 <child>
190                   <object class="GtkBox" id="hbox2">
191                     <property name="visible">True</property>
192                     <property name="can_focus">False</property>
193                     <child>
194                       <object class="GtkLabel" id="label2">
195                         <property name="visible">True</property>
196                         <property name="can_focus">False</property>
197                         <property name="xalign">1</property>
198                         <property name="label" translatable="yes">Current Status: </property>
199                       </object>
200                       <packing>
201                         <property name="expand">False</property>
202                         <property name="fill">True</property>
203                         <property name="position">0</property>
204                       </packing>
205                     </child>
206                     <child>
207                       <object class="GtkLabel" id="weight-status-label">
208                         <property name="visible">True</property>
209                         <property name="can_focus">False</property>
210                         <property name="xalign">0</property>
211                         <property name="label" translatable="yes">Do not weight cases</property>
212                       </object>
213                       <packing>
214                         <property name="expand">False</property>
215                         <property name="fill">True</property>
216                         <property name="position">1</property>
217                       </packing>
218                     </child>
219                   </object>
220                   <packing>
221                     <property name="expand">False</property>
222                     <property name="fill">True</property>
223                     <property name="position">1</property>
224                   </packing>
225                 </child>
226               </object>
227               <packing>
228                 <property name="expand">False</property>
229                 <property name="fill">False</property>
230                 <property name="position">1</property>
231               </packing>
232             </child>
233           </object>
234           <packing>
235             <property name="expand">True</property>
236             <property name="fill">True</property>
237             <property name="padding">5</property>
238             <property name="position">0</property>
239           </packing>
240         </child>
241         <child>
242           <object class="PsppireButtonbox" id="psppire-buttonbox1">
243             <property name="orientation">vertical</property>
244             <property name="visible">True</property>
245             <property name="can_focus">False</property>
246             <property name="border_width">5</property>
247           </object>
248           <packing>
249             <property name="expand">False</property>
250             <property name="fill">False</property>
251             <property name="pack_type">end</property>
252             <property name="position">1</property>
253           </packing>
254         </child>
255       </object>
256     </child>
257   </object>
258 </interface>