Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / uiconfig / scalc / ui / randomnumbergenerator.ui
blobd9481046bd8fc5911e9411e1055a108b5007a9d5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.36.0 -->
3 <interface domain="sc">
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkAdjustment" id="adjustment1">
6 <property name="upper">10000000000</property>
7 <property name="step_increment">1</property>
8 <property name="page_increment">10</property>
9 </object>
10 <object class="GtkAdjustment" id="decimal-places-adjustment">
11 <property name="lower">1</property>
12 <property name="upper">255</property>
13 <property name="value">1</property>
14 <property name="step_increment">1</property>
15 <property name="page_increment">10</property>
16 </object>
17 <object class="GtkAdjustment" id="parameter1-adjustment">
18 <property name="upper">100</property>
19 <property name="value">1</property>
20 <property name="step_increment">1</property>
21 <property name="page_increment">10</property>
22 </object>
23 <object class="GtkAdjustment" id="parameter2-adjustment">
24 <property name="upper">100</property>
25 <property name="step_increment">1</property>
26 <property name="page_increment">10</property>
27 </object>
28 <object class="GtkDialog" id="RandomNumberGeneratorDialog">
29 <property name="can_focus">False</property>
30 <property name="border_width">6</property>
31 <property name="title" translatable="yes" context="randomnumbergenerator|RandomNumberGeneratorDialog">Random Number Generator</property>
32 <property name="resizable">False</property>
33 <property name="default_width">0</property>
34 <property name="default_height">0</property>
35 <property name="type_hint">dialog</property>
36 <child internal-child="vbox">
37 <object class="GtkBox" id="dialog-vbox1">
38 <property name="can_focus">False</property>
39 <property name="orientation">vertical</property>
40 <property name="spacing">12</property>
41 <child internal-child="action_area">
42 <object class="GtkButtonBox" id="dialog-action_area1">
43 <property name="can_focus">False</property>
44 <property name="layout_style">end</property>
45 <child>
46 <object class="GtkButton" id="apply">
47 <property name="label" translatable="yes" context="stock">_Apply</property>
48 <property name="visible">True</property>
49 <property name="can_focus">True</property>
50 <property name="can_default">True</property>
51 <property name="receives_default">True</property>
52 <property name="use-underline">True</property>
53 </object>
54 <packing>
55 <property name="expand">False</property>
56 <property name="fill">True</property>
57 <property name="position">0</property>
58 </packing>
59 </child>
60 <child>
61 <object class="GtkButton" id="ok">
62 <property name="label" translatable="yes" context="stock">_OK</property>
63 <property name="visible">True</property>
64 <property name="can_focus">True</property>
65 <property name="can_default">True</property>
66 <property name="has_default">True</property>
67 <property name="receives_default">True</property>
68 <property name="use-underline">True</property>
69 </object>
70 <packing>
71 <property name="expand">False</property>
72 <property name="fill">True</property>
73 <property name="position">1</property>
74 </packing>
75 </child>
76 <child>
77 <object class="GtkButton" id="close">
78 <property name="label" translatable="yes" context="stock">_Close</property>
79 <property name="visible">True</property>
80 <property name="can_focus">True</property>
81 <property name="can_default">True</property>
82 <property name="receives_default">True</property>
83 <property name="use-underline">True</property>
84 </object>
85 <packing>
86 <property name="expand">False</property>
87 <property name="fill">True</property>
88 <property name="position">2</property>
89 </packing>
90 </child>
91 <child>
92 <object class="GtkButton" id="help">
93 <property name="label" translatable="yes" context="stock">_Help</property>
94 <property name="visible">True</property>
95 <property name="can_focus">True</property>
96 <property name="receives_default">True</property>
97 <property name="use-underline">True</property>
98 </object>
99 <packing>
100 <property name="expand">False</property>
101 <property name="fill">True</property>
102 <property name="position">3</property>
103 <property name="secondary">True</property>
104 </packing>
105 </child>
106 </object>
107 <packing>
108 <property name="expand">False</property>
109 <property name="fill">True</property>
110 <property name="pack_type">end</property>
111 <property name="position">0</property>
112 </packing>
113 </child>
114 <child>
115 <object class="GtkFrame" id="frame-data">
116 <property name="visible">True</property>
117 <property name="can_focus">False</property>
118 <property name="label_xalign">0</property>
119 <property name="shadow_type">none</property>
120 <child>
121 <object class="GtkBox" id="box1">
122 <property name="visible">True</property>
123 <property name="can_focus">False</property>
124 <property name="spacing">12</property>
125 <property name="margin-start">12</property>
126 <property name="margin-top">6</property>
127 <property name="margin-bottom">6</property>
128 <property name="margin-end">12</property>
129 <child>
130 <object class="GtkLabel" id="cell-range-label">
131 <property name="visible">True</property>
132 <property name="can_focus">False</property>
133 <property name="label" translatable="yes" context="randomnumbergenerator|cell-range-label">Cell range:</property>
134 <property name="use_underline">True</property>
135 <property name="mnemonic_widget">cell-range-edit</property>
136 <property name="xalign">0</property>
137 </object>
138 <packing>
139 <property name="expand">False</property>
140 <property name="fill">True</property>
141 <property name="position">0</property>
142 </packing>
143 </child>
144 <child>
145 <object class="GtkEntry" id="cell-range-edit">
146 <property name="visible">True</property>
147 <property name="can_focus">True</property>
148 <property name="valign">center</property>
149 <property name="hexpand">True</property>
150 <property name="activates_default">True</property>
151 <property name="width_chars">30</property>
152 <property name="truncate-multiline">True</property>
153 <child internal-child="accessible">
154 <object class="AtkObject" id="cell-range-edit-atkobject">
155 <property name="AtkObject::accessible-description" translatable="yes" context="randomnumbergenerator|extended_tip|cell-range-edit">Define the range of cells to fill with random numbers. If you have previously selected a range, it will be displayed here.</property>
156 </object>
157 </child>
158 </object>
159 <packing>
160 <property name="expand">False</property>
161 <property name="fill">True</property>
162 <property name="position">1</property>
163 </packing>
164 </child>
165 <child>
166 <object class="GtkButton" id="cell-range-button">
167 <property name="visible">True</property>
168 <property name="can_focus">True</property>
169 <property name="receives_default">True</property>
170 </object>
171 <packing>
172 <property name="expand">False</property>
173 <property name="fill">True</property>
174 <property name="position">2</property>
175 </packing>
176 </child>
177 </object>
178 </child>
179 <child type="label">
180 <object class="GtkLabel" id="label1">
181 <property name="visible">True</property>
182 <property name="can_focus">False</property>
183 <property name="label" translatable="yes" context="randomnumbergenerator|label1">Data</property>
184 <attributes>
185 <attribute name="weight" value="bold"/>
186 </attributes>
187 </object>
188 </child>
189 </object>
190 <packing>
191 <property name="expand">False</property>
192 <property name="fill">True</property>
193 <property name="position">1</property>
194 </packing>
195 </child>
196 <child>
197 <object class="GtkFrame" id="frame-statistics">
198 <property name="visible">True</property>
199 <property name="can_focus">False</property>
200 <property name="label_xalign">0</property>
201 <property name="shadow_type">none</property>
202 <child>
203 <!-- n-columns=1 n-rows=1 -->
204 <object class="GtkGrid" id="grid3">
205 <property name="visible">True</property>
206 <property name="can_focus">False</property>
207 <property name="row_spacing">6</property>
208 <property name="column_spacing">12</property>
209 <property name="margin-start">12</property>
210 <property name="margin-top">6</property>
211 <property name="margin-bottom">6</property>
212 <property name="margin-end">12</property>
213 <child>
214 <object class="GtkLabel" id="distribution-label">
215 <property name="visible">True</property>
216 <property name="can_focus">False</property>
217 <property name="label" translatable="yes" context="randomnumbergenerator|distribution-label">Distribution:</property>
218 <property name="use_underline">True</property>
219 <property name="mnemonic_widget">distribution-combo</property>
220 <property name="xalign">0</property>
221 </object>
222 <packing>
223 <property name="left_attach">0</property>
224 <property name="top_attach">0</property>
225 </packing>
226 </child>
227 <child>
228 <object class="GtkComboBoxText" id="distribution-combo">
229 <property name="visible">True</property>
230 <property name="can_focus">False</property>
231 <property name="hexpand">True</property>
232 <property name="active">0</property>
233 <items>
234 <item id="0" translatable="yes" context="randomnumbergenerator|distribution-liststore">Uniform</item>
235 <item id="8" translatable="yes" context="randomnumbergenerator|distribution-liststore">Uniform Integer</item>
236 <item id="1" translatable="yes" context="randomnumbergenerator|distribution-liststore">Normal</item>
237 <item id="2" translatable="yes" context="randomnumbergenerator|distribution-liststore">Cauchy</item>
238 <item id="3" translatable="yes" context="randomnumbergenerator|distribution-liststore">Bernoulli</item>
239 <item id="4" translatable="yes" context="randomnumbergenerator|distribution-liststore">Binomial</item>
240 <item id="5" translatable="yes" context="randomnumbergenerator|distribution-liststore">Chi Squared</item>
241 <item id="6" translatable="yes" context="randomnumbergenerator|distribution-liststore">Geometric</item>
242 <item id="7" translatable="yes" context="randomnumbergenerator|distribution-liststore">Negative Binomial</item>
243 <item id="9" translatable="yes" context="randomnumbergenerator|distribution-liststore">Poisson</item>
244 </items>
245 <child internal-child="accessible">
246 <object class="AtkObject" id="distribution-combo-atkobject">
247 <property name="AtkObject::accessible-description" translatable="yes" context="randomnumbergenerator|extended_tip|distribution-combo">The distribution function for the random number generator.</property>
248 </object>
249 </child>
250 </object>
251 <packing>
252 <property name="left_attach">1</property>
253 <property name="top_attach">0</property>
254 </packing>
255 </child>
256 <child>
257 <object class="GtkLabel" id="parameter1-label">
258 <property name="visible">True</property>
259 <property name="can_focus">False</property>
260 <property name="hexpand">True</property>
261 <property name="label" translatable="yes" context="randomnumbergenerator|parameter1-label">...</property>
262 <property name="use_underline">True</property>
263 <property name="mnemonic_widget">parameter1-spin</property>
264 <property name="xalign">0</property>
265 </object>
266 <packing>
267 <property name="left_attach">0</property>
268 <property name="top_attach">1</property>
269 </packing>
270 </child>
271 <child>
272 <object class="GtkLabel" id="parameter2-label">
273 <property name="visible">True</property>
274 <property name="can_focus">False</property>
275 <property name="hexpand">True</property>
276 <property name="label" translatable="yes" context="randomnumbergenerator|parameter2-label">...</property>
277 <property name="use_underline">True</property>
278 <property name="mnemonic_widget">parameter2-spin</property>
279 <property name="xalign">0</property>
280 </object>
281 <packing>
282 <property name="left_attach">0</property>
283 <property name="top_attach">2</property>
284 </packing>
285 </child>
286 <child>
287 <object class="GtkSpinButton" id="parameter1-spin">
288 <property name="visible">True</property>
289 <property name="can_focus">True</property>
290 <property name="hexpand">True</property>
291 <property name="activates_default">True</property>
292 <property name="text">0.0000</property>
293 <property name="adjustment">parameter2-adjustment</property>
294 <property name="truncate-multiline">True</property>
295 <property name="digits">4</property>
296 </object>
297 <packing>
298 <property name="left_attach">1</property>
299 <property name="top_attach">1</property>
300 </packing>
301 </child>
302 <child>
303 <object class="GtkSpinButton" id="parameter2-spin">
304 <property name="visible">True</property>
305 <property name="can_focus">True</property>
306 <property name="hexpand">True</property>
307 <property name="activates_default">True</property>
308 <property name="text">1,0000</property>
309 <property name="adjustment">parameter1-adjustment</property>
310 <property name="digits">4</property>
311 <property name="truncate-multiline">True</property>
312 <property name="value">1</property>
313 </object>
314 <packing>
315 <property name="left_attach">1</property>
316 <property name="top_attach">2</property>
317 </packing>
318 </child>
319 </object>
320 </child>
321 <child type="label">
322 <object class="GtkLabel" id="label2">
323 <property name="visible">True</property>
324 <property name="can_focus">False</property>
325 <property name="label" translatable="yes" context="randomnumbergenerator|label2">Random Number Generator</property>
326 <attributes>
327 <attribute name="weight" value="bold"/>
328 </attributes>
329 </object>
330 </child>
331 </object>
332 <packing>
333 <property name="expand">False</property>
334 <property name="fill">True</property>
335 <property name="position">2</property>
336 </packing>
337 </child>
338 <child>
339 <object class="GtkFrame" id="frame-options">
340 <property name="visible">True</property>
341 <property name="can_focus">False</property>
342 <property name="label_xalign">0</property>
343 <property name="shadow_type">none</property>
344 <child>
345 <!-- n-columns=1 n-rows=1 -->
346 <object class="GtkGrid" id="grid2">
347 <property name="visible">True</property>
348 <property name="can_focus">False</property>
349 <property name="row_spacing">6</property>
350 <property name="column_spacing">12</property>
351 <property name="margin-start">12</property>
352 <property name="margin-top">6</property>
353 <property name="margin-bottom">6</property>
354 <property name="margin-end">12</property>
355 <child>
356 <object class="GtkCheckButton" id="enable-seed-check">
357 <property name="label" translatable="yes" context="randomnumbergenerator|enable-seed-check">Enable custom seed</property>
358 <property name="visible">True</property>
359 <property name="can_focus">True</property>
360 <property name="receives_default">False</property>
361 <property name="use_underline">True</property>
362 <property name="draw_indicator">True</property>
363 <child internal-child="accessible">
364 <object class="AtkObject" id="enable-seed-check-atkobject">
365 <property name="AtkObject::accessible-description" translatable="yes" context="randomnumbergenerator|extended_tip|enable-seed-check">Set the initial value of the random number generator to a known value Seed.</property>
366 </object>
367 </child>
368 </object>
369 <packing>
370 <property name="left_attach">0</property>
371 <property name="top_attach">0</property>
372 <property name="width">2</property>
373 </packing>
374 </child>
375 <child>
376 <object class="GtkLabel" id="seed-label">
377 <property name="visible">True</property>
378 <property name="can_focus">False</property>
379 <property name="margin-start">12</property>
380 <property name="label" translatable="yes" context="randomnumbergenerator|seed-label">Seed:</property>
381 <property name="use_underline">True</property>
382 <property name="mnemonic_widget">seed-spin</property>
383 <property name="xalign">0</property>
384 </object>
385 <packing>
386 <property name="left_attach">0</property>
387 <property name="top_attach">1</property>
388 </packing>
389 </child>
390 <child>
391 <object class="GtkSpinButton" id="seed-spin">
392 <property name="visible">True</property>
393 <property name="can_focus">True</property>
394 <property name="hexpand">True</property>
395 <property name="activates_default">True</property>
396 <property name="adjustment">adjustment1</property>
397 <property name="truncate-multiline">True</property>
398 <child internal-child="accessible">
399 <object class="AtkObject" id="seed-spin-atkobject">
400 <property name="AtkObject::accessible-description" translatable="yes" context="randomnumbergenerator|extended_tip|seed-spin">Value set to initiate the random number generator algorithm. It is used to initialize (seed) the random number generator in order to reproduce the same sequence of pseudorandom numbers. Specify a positive integer number (1, 2, ...) to produce a specific sequence, or leave the field blank if you don't need this particular feature.</property>
401 </object>
402 </child>
403 </object>
404 <packing>
405 <property name="left_attach">1</property>
406 <property name="top_attach">1</property>
407 </packing>
408 </child>
409 <child>
410 <object class="GtkCheckButton" id="enable-rounding-check">
411 <property name="label" translatable="yes" context="randomnumbergenerator|enable-rounding-check">Enable rounding</property>
412 <property name="visible">True</property>
413 <property name="can_focus">True</property>
414 <property name="receives_default">False</property>
415 <property name="use_underline">True</property>
416 <property name="draw_indicator">True</property>
417 <child internal-child="accessible">
418 <object class="AtkObject" id="enable-rounding-check-atkobject">
419 <property name="AtkObject::accessible-description" translatable="yes" context="randomnumbergenerator|extended_tip|enable-rounding-check">Round the number to a given number of Decimal Places.</property>
420 </object>
421 </child>
422 </object>
423 <packing>
424 <property name="left_attach">0</property>
425 <property name="top_attach">2</property>
426 <property name="width">2</property>
427 </packing>
428 </child>
429 <child>
430 <object class="GtkLabel" id="decimal-places-label">
431 <property name="visible">True</property>
432 <property name="can_focus">False</property>
433 <property name="hexpand">True</property>
434 <property name="margin-start">12</property>
435 <property name="label" translatable="yes" context="randomnumbergenerator|decimal-places-label">Decimal places:</property>
436 <property name="use_underline">True</property>
437 <property name="mnemonic_widget">decimal-places-spin</property>
438 <property name="xalign">0</property>
439 </object>
440 <packing>
441 <property name="left_attach">0</property>
442 <property name="top_attach">3</property>
443 </packing>
444 </child>
445 <child>
446 <object class="GtkSpinButton" id="decimal-places-spin">
447 <property name="visible">True</property>
448 <property name="can_focus">True</property>
449 <property name="hexpand">True</property>
450 <property name="activates_default">True</property>
451 <property name="text">1</property>
452 <property name="adjustment">decimal-places-adjustment</property>
453 <property name="value">1</property>
454 <property name="truncate-multiline">True</property>
455 <child internal-child="accessible">
456 <object class="AtkObject" id="decimal-places-spin-atkobject">
457 <property name="AtkObject::accessible-description" translatable="yes" context="randomnumbergenerator|extended_tip|decimal-places-spin">Number of decimal places of the numbers generated.</property>
458 </object>
459 </child>
460 </object>
461 <packing>
462 <property name="left_attach">1</property>
463 <property name="top_attach">3</property>
464 </packing>
465 </child>
466 </object>
467 </child>
468 <child type="label">
469 <object class="GtkLabel" id="label4">
470 <property name="visible">True</property>
471 <property name="can_focus">False</property>
472 <property name="label" translatable="yes" context="randomnumbergenerator|label4">Options</property>
473 <attributes>
474 <attribute name="weight" value="bold"/>
475 </attributes>
476 </object>
477 </child>
478 </object>
479 <packing>
480 <property name="expand">False</property>
481 <property name="fill">True</property>
482 <property name="position">3</property>
483 </packing>
484 </child>
485 </object>
486 </child>
487 <action-widgets>
488 <action-widget response="100">apply</action-widget>
489 <action-widget response="-5">ok</action-widget>
490 <action-widget response="-7">close</action-widget>
491 <action-widget response="-11">help</action-widget>
492 </action-widgets>
493 <child type="titlebar">
494 <placeholder/>
495 </child>
496 <child internal-child="accessible">
497 <object class="AtkObject" id="RandomNumberGeneratorDialog-atkobject">
498 <property name="AtkObject::accessible-description" translatable="yes" context="randomnumbergenerator|extended_tip|RandomNumberGeneratorDialog">Populate a cell range with automatically generated pseudo random numbers with the selected distribution function and its parameters.</property>
499 </object>
500 </child>
501 </object>
502 <object class="GtkSizeGroup" id="sizegroup1">
503 <widgets>
504 <widget name="distribution-label"/>
505 <widget name="parameter1-label"/>
506 <widget name="parameter2-label"/>
507 <widget name="enable-seed-check"/>
508 <widget name="seed-label"/>
509 <widget name="enable-rounding-check"/>
510 <widget name="decimal-places-label"/>
511 </widgets>
512 </object>
513 <object class="GtkSizeGroup" id="sizegroup2">
514 <widgets>
515 <widget name="distribution-combo"/>
516 <widget name="parameter1-spin"/>
517 <widget name="parameter2-spin"/>
518 <widget name="seed-spin"/>
519 <widget name="decimal-places-spin"/>
520 </widgets>
521 </object>
522 </interface>