gui: Factor out duplicated code for executing and pasting syntax.
[pspp] / src / ui / gui / reliability.ui
1 <?xml version="1.0"?>
2 <interface>
3   <!-- interface-requires gtk+ 2.12 -->
4   <!-- interface-requires psppire 0.0 -->
5   <!-- interface-naming-policy toplevel-contextual -->
6   <object class="GtkAdjustment" id="adjustment1">
7     <property name="upper">100</property>
8     <property name="step_increment">1</property>
9     <property name="page_increment">10</property>
10   </object>
11   <object class="GtkListStore" id="model1">
12     <columns>
13       <!-- column-name gchararray -->
14       <column type="gchararray"/>
15     </columns>
16     <data>
17       <row>
18         <col id="0" translatable="yes">Alpha</col>
19       </row>
20       <row>
21         <col id="0" translatable="yes">Split</col>
22       </row>
23     </data>
24   </object>
25   <object class="PsppireDialog" id="reliability-dialog">
26     <property name="title" translatable="yes">Reliability Analysis</property>
27     <property name="modal">True</property>
28     <child internal-child="hbox">
29       <object class="GtkHBox" id="dialog-hbox5">
30         <property name="visible">True</property>
31         <child>
32           <object class="GtkAlignment" id="alignment1">
33             <property name="visible">True</property>
34             <property name="top_padding">5</property>
35             <property name="bottom_padding">5</property>
36             <property name="left_padding">6</property>
37             <child>
38               <object class="GtkVBox" id="vbox1">
39                 <property name="visible">True</property>
40                 <property name="orientation">vertical</property>
41                 <property name="spacing">12</property>
42                 <child>
43                   <object class="GtkHBox" id="hbox1">
44                     <property name="visible">True</property>
45                     <child>
46                       <object class="GtkScrolledWindow" id="scrolledwindow1">
47                         <property name="visible">True</property>
48                         <property name="can_focus">True</property>
49                         <property name="hscrollbar_policy">never</property>
50                         <property name="vscrollbar_policy">automatic</property>
51                         <property name="shadow_type">etched-in</property>
52                         <child>
53                           <object class="PsppireDictView" id="dict-view">
54                             <property name="visible">True</property>
55                             <property name="can_focus">True</property>
56                             <property name="border_width">5</property>
57                             <property name="headers_visible">False</property>
58                             <property name="headers_clickable">False</property>
59                           </object>
60                         </child>
61                       </object>
62                       <packing>
63                         <property name="position">0</property>
64                       </packing>
65                     </child>
66                     <child>
67                       <object class="GtkAlignment" id="alignment2">
68                         <property name="visible">True</property>
69                         <property name="xscale">0</property>
70                         <property name="yscale">0</property>
71                         <child>
72                           <object class="PsppireSelector" id="psppire-selector1">
73                             <property name="visible">True</property>
74                             <property name="can_focus">True</property>
75                             <property name="receives_default">True</property>
76                             <property name="no_show_all">True</property>
77                             <property name="border_width">5</property>
78                             <property name="source_widget">dict-view</property>
79                             <property name="dest_widget">treeview2</property>
80                           </object>
81                         </child>
82                       </object>
83                       <packing>
84                         <property name="expand">False</property>
85                         <property name="fill">False</property>
86                         <property name="position">1</property>
87                       </packing>
88                     </child>
89                     <child>
90                       <object class="GtkVBox" id="vbox2">
91                         <property name="visible">True</property>
92                         <property name="orientation">vertical</property>
93                         <child>
94                           <object class="GtkFrame" id="frame1">
95                             <property name="visible">True</property>
96                             <property name="label_xalign">0</property>
97                             <property name="shadow_type">none</property>
98                             <child>
99                               <object class="GtkAlignment" id="alignment3">
100                                 <property name="visible">True</property>
101                                 <property name="left_padding">12</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="hscrollbar_policy">never</property>
107                                     <property name="vscrollbar_policy">automatic</property>
108                                     <property name="shadow_type">etched-in</property>
109                                     <child>
110                                       <object class="PsppireVarView" id="treeview2">
111                                         <property name="visible">True</property>
112                                         <property name="can_focus">True</property>
113                                         <property name="headers_visible">False</property>
114                                         <property name="headers_clickable">False</property>
115                                       </object>
116                                     </child>
117                                   </object>
118                                 </child>
119                               </object>
120                             </child>
121                             <child type="label">
122                               <object class="GtkLabel" id="label1">
123                                 <property name="visible">True</property>
124                                 <property name="label" translatable="yes">_Items:</property>
125                                 <property name="use_markup">True</property>
126                                 <property name="use_underline">True</property>
127                               </object>
128                             </child>
129                           </object>
130                           <packing>
131                             <property name="position">0</property>
132                           </packing>
133                         </child>
134                         <child>
135                           <object class="GtkHBox" id="hbox2">
136                             <property name="visible">True</property>
137                             <child>
138                               <object class="GtkLabel" id="label3">
139                                 <property name="visible">True</property>
140                                 <property name="xalign">1</property>
141                                 <property name="label" translatable="yes">Model:        </property>
142                                 <property name="justify">right</property>
143                               </object>
144                               <packing>
145                                 <property name="expand">False</property>
146                                 <property name="fill">False</property>
147                                 <property name="position">0</property>
148                               </packing>
149                             </child>
150                             <child>
151                               <object class="GtkComboBox" id="combobox1">
152                                 <property name="visible">True</property>
153                                 <property name="model">model1</property>
154                                 <child>
155                                   <object class="GtkCellRendererText" id="renderer1"/>
156                                   <attributes>
157                                     <attribute name="text">0</attribute>
158                                   </attributes>
159                                 </child>
160                               </object>
161                               <packing>
162                                 <property name="expand">False</property>
163                                 <property name="position">1</property>
164                               </packing>
165                             </child>
166                           </object>
167                           <packing>
168                             <property name="expand">False</property>
169                             <property name="position">1</property>
170                           </packing>
171                         </child>
172                         <child>
173                           <object class="GtkHBox" id="split-point-hbox">
174                             <property name="visible">True</property>
175                             <property name="sensitive">False</property>
176                             <property name="spacing">5</property>
177                             <child>
178                               <object class="GtkLabel" id="label2">
179                                 <property name="visible">True</property>
180                                 <property name="label" translatable="yes">Variables in first split:</property>
181                               </object>
182                               <packing>
183                                 <property name="expand">False</property>
184                                 <property name="position">0</property>
185                               </packing>
186                             </child>
187                             <child>
188                               <object class="GtkSpinButton" id="spinbutton1">
189                                 <property name="visible">True</property>
190                                 <property name="can_focus">True</property>
191                                 <property name="invisible_char">&#x25CF;</property>
192                                 <property name="adjustment">adjustment1</property>
193                               </object>
194                               <packing>
195                                 <property name="expand">False</property>
196                                 <property name="position">1</property>
197                               </packing>
198                             </child>
199                           </object>
200                           <packing>
201                             <property name="expand">False</property>
202                             <property name="position">2</property>
203                           </packing>
204                         </child>
205                       </object>
206                       <packing>
207                         <property name="position">2</property>
208                       </packing>
209                     </child>
210                   </object>
211                   <packing>
212                     <property name="position">0</property>
213                   </packing>
214                 </child>
215                 <child>
216                   <object class="GtkCheckButton" id="totals-checkbutton">
217                     <property name="label" translatable="yes">Show descriptives for scale if _item is deleted</property>
218                     <property name="use_underline">True</property>
219                     <property name="visible">True</property>
220                     <property name="can_focus">True</property>
221                     <property name="receives_default">False</property>
222                     <property name="draw_indicator">True</property>
223                   </object>
224                   <packing>
225                     <property name="expand">False</property>
226                     <property name="fill">False</property>
227                     <property name="position">1</property>
228                   </packing>
229                 </child>
230               </object>
231             </child>
232           </object>
233           <packing>
234             <property name="position">0</property>
235           </packing>
236         </child>
237         <child>
238           <object class="PsppireVButtonBox" id="psppire-vbuttonbox1">
239             <property name="visible">True</property>
240             <property name="border_width">5</property>
241           </object>
242           <packing>
243             <property name="expand">False</property>
244             <property name="fill">False</property>
245             <property name="pack_type">end</property>
246             <property name="position">1</property>
247           </packing>
248         </child>
249       </object>
250     </child>
251   </object>
252 </interface>