Added COUNT dialog box. Addresses one part of bug #29869
[pspp] / src / ui / gui / count.ui
1 <?xml version="1.0"?>
2 <interface>
3   <!-- interface-requires psppire 0.0 -->
4   <!-- interface-requires gtk+ 2.12 -->
5   <!-- interface-naming-policy toplevel-contextual -->
6   <object class="PsppireDialog" id="count-dialog">
7     <property name="title" translatable="yes">Count Occurrences of Values within Cases</property>
8     <property name="modal">True</property>
9     <child internal-child="hbox">
10       <object class="GtkHBox" id="dialog-hbox5">
11         <property name="visible">True</property>
12         <property name="orientation">vertical</property>
13         <child>
14           <object class="GtkAlignment" id="alignment1">
15             <property name="visible">True</property>
16             <property name="top_padding">5</property>
17             <property name="bottom_padding">5</property>
18             <property name="left_padding">5</property>
19             <property name="right_padding">5</property>
20             <child>
21               <object class="GtkTable" id="table1">
22                 <property name="visible">True</property>
23                 <property name="n_rows">4</property>
24                 <property name="n_columns">3</property>
25                 <child>
26                   <object class="GtkScrolledWindow" id="scrolledwindow1">
27                     <property name="visible">True</property>
28                     <property name="can_focus">True</property>
29                     <property name="hscrollbar_policy">never</property>
30                     <property name="vscrollbar_policy">automatic</property>
31                     <property name="shadow_type">etched-in</property>
32                     <child>
33                       <object class="PsppireDictView" id="dict-view">
34                         <property name="visible">True</property>
35                         <property name="can_focus">True</property>
36                         <property name="border_width">5</property>
37                         <property name="headers_visible">False</property>
38                         <property name="headers_clickable">False</property>
39                       </object>
40                     </child>
41                   </object>
42                   <packing>
43                     <property name="top_attach">1</property>
44                     <property name="bottom_attach">4</property>
45                   </packing>
46                 </child>
47                 <child>
48                   <object class="PsppireSelector" id="count-selector1">
49                     <property name="visible">True</property>
50                     <property name="can_focus">True</property>
51                     <property name="receives_default">True</property>
52                     <property name="no_show_all">True</property>
53                     <property name="border_width">5</property>
54                     <property name="source_widget">dict-view</property>
55                     <property name="dest_widget">treeview2</property>
56                   </object>
57                   <packing>
58                     <property name="left_attach">1</property>
59                     <property name="right_attach">2</property>
60                     <property name="top_attach">1</property>
61                     <property name="bottom_attach">2</property>
62                     <property name="x_options"></property>
63                     <property name="y_options"></property>
64                   </packing>
65                 </child>
66                 <child>
67                   <object class="GtkFrame" id="frame1">
68                     <property name="visible">True</property>
69                     <property name="label_xalign">0</property>
70                     <property name="shadow_type">none</property>
71                     <child>
72                       <object class="GtkAlignment" id="alignment3">
73                         <property name="visible">True</property>
74                         <property name="left_padding">12</property>
75                         <child>
76                           <object class="GtkScrolledWindow" id="scrolledwindow2">
77                             <property name="visible">True</property>
78                             <property name="can_focus">True</property>
79                             <property name="hscrollbar_policy">never</property>
80                             <property name="vscrollbar_policy">automatic</property>
81                             <property name="shadow_type">etched-in</property>
82                             <child>
83                               <object class="PsppireVarView" id="treeview2">
84                                 <property name="visible">True</property>
85                                 <property name="can_focus">True</property>
86                                 <property name="headers_visible">False</property>
87                                 <property name="headers_clickable">False</property>
88                               </object>
89                             </child>
90                           </object>
91                         </child>
92                       </object>
93                     </child>
94                     <child type="label">
95                       <object class="GtkLabel" id="label1">
96                         <property name="visible">True</property>
97                         <property name="label" translatable="yes">Numeric _Variables:</property>
98                         <property name="use_markup">True</property>
99                         <property name="use_underline">True</property>
100                         <property name="mnemonic_widget">treeview2</property>
101                       </object>
102                     </child>
103                   </object>
104                   <packing>
105                     <property name="left_attach">2</property>
106                     <property name="right_attach">3</property>
107                     <property name="top_attach">1</property>
108                     <property name="bottom_attach">2</property>
109                   </packing>
110                 </child>
111                 <child>
112                   <object class="GtkFrame" id="frame2">
113                     <property name="visible">True</property>
114                     <property name="label_xalign">0</property>
115                     <property name="shadow_type">none</property>
116                     <child>
117                       <object class="GtkAlignment" id="alignment2">
118                         <property name="visible">True</property>
119                         <property name="left_padding">12</property>
120                         <child>
121                           <object class="GtkEntry" id="entry1">
122                             <property name="visible">True</property>
123                             <property name="can_focus">True</property>
124                             <property name="invisible_char">&#x2022;</property>
125                           </object>
126                         </child>
127                       </object>
128                     </child>
129                     <child type="label">
130                       <object class="GtkLabel" id="label2">
131                         <property name="visible">True</property>
132                         <property name="label" translatable="yes">_Target Variable:</property>
133                         <property name="use_markup">True</property>
134                         <property name="use_underline">True</property>
135                         <property name="mnemonic_widget">entry1</property>
136                       </object>
137                     </child>
138                   </object>
139                   <packing>
140                     <property name="y_options">GTK_SHRINK</property>
141                   </packing>
142                 </child>
143                 <child>
144                   <object class="GtkFrame" id="frame3">
145                     <property name="visible">True</property>
146                     <property name="label_xalign">0</property>
147                     <property name="shadow_type">none</property>
148                     <child>
149                       <object class="GtkAlignment" id="alignment4">
150                         <property name="visible">True</property>
151                         <property name="left_padding">12</property>
152                         <child>
153                           <object class="GtkEntry" id="entry2">
154                             <property name="visible">True</property>
155                             <property name="can_focus">True</property>
156                             <property name="invisible_char">&#x2022;</property>
157                           </object>
158                         </child>
159                       </object>
160                     </child>
161                     <child type="label">
162                       <object class="GtkLabel" id="label3">
163                         <property name="visible">True</property>
164                         <property name="label" translatable="yes">Target _Label:</property>
165                         <property name="use_markup">True</property>
166                         <property name="use_underline">True</property>
167                         <property name="mnemonic_widget">entry2</property>
168                       </object>
169                     </child>
170                   </object>
171                   <packing>
172                     <property name="left_attach">2</property>
173                     <property name="right_attach">3</property>
174                     <property name="y_options">GTK_SHRINK</property>
175                   </packing>
176                 </child>
177                 <child>
178                   <object class="GtkButton" id="button1">
179                     <property name="label" translatable="yes">_Define Values...</property>
180                     <property name="visible">True</property>
181                     <property name="can_focus">True</property>
182                     <property name="receives_default">True</property>
183                     <property name="use_underline">True</property>
184                   </object>
185                   <packing>
186                     <property name="left_attach">2</property>
187                     <property name="right_attach">3</property>
188                     <property name="top_attach">2</property>
189                     <property name="bottom_attach">3</property>
190                     <property name="x_options">GTK_EXPAND</property>
191                     <property name="y_options"></property>
192                   </packing>
193                 </child>
194                 <child>
195                   <placeholder/>
196                 </child>
197                 <child>
198                   <placeholder/>
199                 </child>
200                 <child>
201                   <placeholder/>
202                 </child>
203                 <child>
204                   <placeholder/>
205                 </child>
206               </object>
207             </child>
208           </object>
209           <packing>
210             <property name="position">0</property>
211           </packing>
212         </child>
213         <child>
214           <object class="PsppireHButtonBox" id="psppire-hbuttonbox1">
215             <property name="visible">True</property>
216             <property name="border_width">5</property>
217           </object>
218           <packing>
219             <property name="expand">False</property>
220             <property name="fill">False</property>
221             <property name="pack_type">end</property>
222             <property name="position">1</property>
223           </packing>
224         </child>
225       </object>
226     </child>
227   </object>
228   <object class="PsppireDialog" id="values-dialog">
229     <property name="title" translatable="yes">Count Values within Cases: Values to Count</property>
230     <property name="modal">True</property>
231     <property name="orientation">Vertical</property>
232     <child internal-child="hbox">
233       <object class="GtkVBox" id="dialog-hbox6">
234         <property name="visible">True</property>
235         <property name="orientation">vertical</property>
236         <property name="spacing">2</property>
237         <child>
238           <object class="GtkHBox" id="hbox1">
239             <property name="visible">True</property>
240             <child>
241               <object class="PsppireValChooser" id="value-chooser">
242                 <property name="visible">True</property>
243                 <property name="show-else">False</property>
244                 <property name="label" translatable="yes">Value</property>
245               </object>
246               <packing>
247                 <property name="position">0</property>
248                 <property name="padding">5</property>
249               </packing>
250             </child>
251             <child>
252               <object class="GtkFrame" id="frame-acr">
253                 <property name="visible">True</property>
254                 <property name="label_xalign">0</property>
255                 <property name="shadow_type">etched-in</property>
256                 <child>
257                   <object class="GtkAlignment" id="alignment-acr">
258                     <property name="visible">True</property>
259                     <property name="left_padding">12</property>
260                     <child>
261                       <object class="PsppireAcr" id="acr">
262                         <property name="visible">True</property>
263                         <property name="border_width">5</property>
264                       </object>
265                     </child>
266                   </object>
267                 </child>
268                 <child type="label">
269                   <object class="GtkLabel" id="label-v2c">
270                     <property name="visible">True</property>
271                     <property name="label" translatable="yes">Values _to Count:</property>
272                     <property name="use_markup">True</property>
273                     <property name="use_underline">True</property>
274                     <property name="mnemonic_widget">acr</property>
275                   </object>
276                 </child>
277               </object>
278               <packing>
279                 <property name="position">1</property>
280               </packing>
281             </child>
282           </object>
283           <packing>
284             <property name="position">0</property>
285           </packing>
286         </child>
287         <child>
288           <object class="PsppireHButtonBox" id="psppire-hbuttonbox2">
289             <property name="visible">True</property>
290             <property name="border_width">5</property>
291             <property name="buttons">PSPPIRE_BUTTON_CONTINUE_MASK | PSPPIRE_BUTTON_CANCEL_MASK | PSPPIRE_BUTTON_HELP_MASK</property>
292             <property name="default">PSPPIRE_BUTTON_CONTINUE_MASK</property>
293           </object>
294           <packing>
295             <property name="expand">False</property>
296             <property name="fill">False</property>
297             <property name="pack_type">end</property>
298             <property name="position">1</property>
299           </packing>
300         </child>
301       </object>
302     </child>
303   </object>
304 </interface>