samplingdialog.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  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="period-adjustment">
  6. <property name="lower">1</property>
  7. <property name="upper">100</property>
  8. <property name="value">1</property>
  9. <property name="step_increment">1</property>
  10. <property name="page_increment">10</property>
  11. </object>
  12. <object class="GtkAdjustment" id="sample-size-adjustment">
  13. <property name="upper">100</property>
  14. <property name="step_increment">1</property>
  15. <property name="page_increment">10</property>
  16. </object>
  17. <object class="GtkDialog" id="SamplingDialog">
  18. <property name="can_focus">False</property>
  19. <property name="border_width">6</property>
  20. <property name="title" translatable="yes" context="samplingdialog|SamplingDialog">Sampling</property>
  21. <property name="resizable">False</property>
  22. <property name="default_width">0</property>
  23. <property name="default_height">0</property>
  24. <property name="type_hint">dialog</property>
  25. <child internal-child="vbox">
  26. <object class="GtkBox" id="dialog-vbox1">
  27. <property name="can_focus">False</property>
  28. <property name="orientation">vertical</property>
  29. <property name="spacing">12</property>
  30. <child internal-child="action_area">
  31. <object class="GtkButtonBox" id="dialog-action_area1">
  32. <property name="can_focus">False</property>
  33. <property name="layout_style">end</property>
  34. <child>
  35. <object class="GtkButton" id="ok">
  36. <property name="label">gtk-ok</property>
  37. <property name="visible">True</property>
  38. <property name="can_focus">True</property>
  39. <property name="can_default">True</property>
  40. <property name="has_default">True</property>
  41. <property name="receives_default">True</property>
  42. <property name="use_stock">True</property>
  43. </object>
  44. <packing>
  45. <property name="expand">False</property>
  46. <property name="fill">True</property>
  47. <property name="position">0</property>
  48. </packing>
  49. </child>
  50. <child>
  51. <object class="GtkButton" id="cancel">
  52. <property name="label">gtk-cancel</property>
  53. <property name="visible">True</property>
  54. <property name="can_focus">True</property>
  55. <property name="can_default">True</property>
  56. <property name="receives_default">True</property>
  57. <property name="use_stock">True</property>
  58. </object>
  59. <packing>
  60. <property name="expand">False</property>
  61. <property name="fill">True</property>
  62. <property name="position">1</property>
  63. </packing>
  64. </child>
  65. <child>
  66. <object class="GtkButton" id="help">
  67. <property name="label">gtk-help</property>
  68. <property name="visible">True</property>
  69. <property name="can_focus">True</property>
  70. <property name="receives_default">True</property>
  71. <property name="use_stock">True</property>
  72. </object>
  73. <packing>
  74. <property name="expand">False</property>
  75. <property name="fill">True</property>
  76. <property name="position">2</property>
  77. <property name="secondary">True</property>
  78. </packing>
  79. </child>
  80. </object>
  81. <packing>
  82. <property name="expand">False</property>
  83. <property name="fill">True</property>
  84. <property name="pack_type">end</property>
  85. <property name="position">0</property>
  86. </packing>
  87. </child>
  88. <child>
  89. <object class="GtkFrame" id="frame1">
  90. <property name="visible">True</property>
  91. <property name="can_focus">False</property>
  92. <property name="label_xalign">0</property>
  93. <property name="shadow_type">none</property>
  94. <child>
  95. <object class="GtkAlignment" id="alignment1">
  96. <property name="visible">True</property>
  97. <property name="can_focus">False</property>
  98. <property name="top_padding">6</property>
  99. <property name="bottom_padding">6</property>
  100. <property name="left_padding">12</property>
  101. <property name="right_padding">12</property>
  102. <child>
  103. <!-- n-columns=1 n-rows=1 -->
  104. <object class="GtkGrid" id="grid1">
  105. <property name="visible">True</property>
  106. <property name="can_focus">False</property>
  107. <property name="row_spacing">6</property>
  108. <property name="column_spacing">12</property>
  109. <child>
  110. <object class="GtkLabel" id="input-range-label">
  111. <property name="visible">True</property>
  112. <property name="can_focus">False</property>
  113. <property name="label" translatable="yes" context="samplingdialog|input-range-label">Input range:</property>
  114. <property name="use_underline">True</property>
  115. <property name="mnemonic_widget">input-range-edit</property>
  116. <property name="xalign">0</property>
  117. </object>
  118. <packing>
  119. <property name="left_attach">0</property>
  120. <property name="top_attach">0</property>
  121. </packing>
  122. </child>
  123. <child>
  124. <object class="GtkEntry" id="input-range-edit">
  125. <property name="visible">True</property>
  126. <property name="can_focus">True</property>
  127. <property name="valign">center</property>
  128. <property name="hexpand">True</property>
  129. <property name="activates_default">True</property>
  130. <property name="truncate-multiline">True</property>
  131. <property name="width_chars">30</property>
  132. </object>
  133. <packing>
  134. <property name="left_attach">1</property>
  135. <property name="top_attach">0</property>
  136. </packing>
  137. </child>
  138. <child>
  139. <object class="GtkButton" id="input-range-button">
  140. <property name="visible">True</property>
  141. <property name="can_focus">True</property>
  142. <property name="receives_default">True</property>
  143. </object>
  144. <packing>
  145. <property name="left_attach">2</property>
  146. <property name="top_attach">0</property>
  147. </packing>
  148. </child>
  149. <child>
  150. <object class="GtkLabel" id="output-range-label">
  151. <property name="visible">True</property>
  152. <property name="can_focus">False</property>
  153. <property name="label" translatable="yes" context="samplingdialog|output-range-label">Results to:</property>
  154. <property name="use_underline">True</property>
  155. <property name="mnemonic_widget">output-range-edit</property>
  156. <property name="xalign">0</property>
  157. </object>
  158. <packing>
  159. <property name="left_attach">0</property>
  160. <property name="top_attach">1</property>
  161. </packing>
  162. </child>
  163. <child>
  164. <object class="GtkEntry" id="output-range-edit">
  165. <property name="visible">True</property>
  166. <property name="can_focus">True</property>
  167. <property name="valign">center</property>
  168. <property name="hexpand">True</property>
  169. <property name="activates_default">True</property>
  170. <property name="truncate-multiline">True</property>
  171. <property name="width_chars">30</property>
  172. </object>
  173. <packing>
  174. <property name="left_attach">1</property>
  175. <property name="top_attach">1</property>
  176. </packing>
  177. </child>
  178. <child>
  179. <object class="GtkButton" id="output-range-button">
  180. <property name="visible">True</property>
  181. <property name="can_focus">True</property>
  182. <property name="receives_default">True</property>
  183. </object>
  184. <packing>
  185. <property name="left_attach">2</property>
  186. <property name="top_attach">1</property>
  187. </packing>
  188. </child>
  189. </object>
  190. </child>
  191. </object>
  192. </child>
  193. <child type="label">
  194. <object class="GtkLabel" id="label4">
  195. <property name="visible">True</property>
  196. <property name="can_focus">False</property>
  197. <property name="label" translatable="yes" context="samplingdialog|label4">Data</property>
  198. <attributes>
  199. <attribute name="weight" value="bold"/>
  200. </attributes>
  201. </object>
  202. </child>
  203. </object>
  204. <packing>
  205. <property name="expand">False</property>
  206. <property name="fill">True</property>
  207. <property name="position">2</property>
  208. </packing>
  209. </child>
  210. <child>
  211. <object class="GtkFrame" id="frame2">
  212. <property name="visible">True</property>
  213. <property name="can_focus">False</property>
  214. <property name="label_xalign">0</property>
  215. <property name="shadow_type">none</property>
  216. <child>
  217. <object class="GtkAlignment" id="alignment2">
  218. <property name="visible">True</property>
  219. <property name="can_focus">False</property>
  220. <property name="top_padding">6</property>
  221. <property name="bottom_padding">6</property>
  222. <property name="left_padding">12</property>
  223. <property name="right_padding">12</property>
  224. <child>
  225. <!-- n-columns=1 n-rows=1 -->
  226. <object class="GtkGrid" id="grid2">
  227. <property name="visible">True</property>
  228. <property name="can_focus">False</property>
  229. <property name="row_spacing">6</property>
  230. <property name="column_spacing">12</property>
  231. <child>
  232. <object class="GtkSpinButton" id="sample-size-spin">
  233. <property name="visible">True</property>
  234. <property name="can_focus">True</property>
  235. <property name="hexpand">True</property>
  236. <property name="activates_default">True</property>
  237. <property name="text">1</property>
  238. <property name="adjustment">sample-size-adjustment</property>
  239. <property name="truncate-multiline">True</property>
  240. <property name="value">1</property>
  241. </object>
  242. <packing>
  243. <property name="left_attach">1</property>
  244. <property name="top_attach">1</property>
  245. </packing>
  246. </child>
  247. <child>
  248. <object class="GtkLabel" id="label1">
  249. <property name="visible">True</property>
  250. <property name="can_focus">False</property>
  251. <property name="margin_left">12</property>
  252. <property name="hexpand">True</property>
  253. <property name="xpad">12</property>
  254. <property name="label" translatable="yes" context="samplingdialog|label1">Sample size:</property>
  255. <property name="use_underline">True</property>
  256. <property name="justify">center</property>
  257. <property name="mnemonic_widget">sample-size-spin</property>
  258. <property name="xalign">0</property>
  259. </object>
  260. <packing>
  261. <property name="left_attach">0</property>
  262. <property name="top_attach">1</property>
  263. </packing>
  264. </child>
  265. <child>
  266. <object class="GtkRadioButton" id="random-method-radio">
  267. <property name="label" translatable="yes" context="samplingdialog|random-method-radio">Random</property>
  268. <property name="visible">True</property>
  269. <property name="can_focus">True</property>
  270. <property name="receives_default">False</property>
  271. <property name="use_underline">True</property>
  272. <property name="xalign">0</property>
  273. <property name="active">True</property>
  274. <property name="draw_indicator">True</property>
  275. </object>
  276. <packing>
  277. <property name="left_attach">0</property>
  278. <property name="top_attach">0</property>
  279. <property name="width">2</property>
  280. </packing>
  281. </child>
  282. <child>
  283. <object class="GtkRadioButton" id="periodic-method-radio">
  284. <property name="label" translatable="yes" context="samplingdialog|periodic-method-radio">Periodic</property>
  285. <property name="visible">True</property>
  286. <property name="can_focus">True</property>
  287. <property name="receives_default">False</property>
  288. <property name="use_underline">True</property>
  289. <property name="xalign">0</property>
  290. <property name="draw_indicator">True</property>
  291. <property name="group">random-method-radio</property>
  292. </object>
  293. <packing>
  294. <property name="left_attach">0</property>
  295. <property name="top_attach">4</property>
  296. <property name="width">2</property>
  297. </packing>
  298. </child>
  299. <child>
  300. <object class="GtkSpinButton" id="period-spin">
  301. <property name="visible">True</property>
  302. <property name="can_focus">True</property>
  303. <property name="hexpand">True</property>
  304. <property name="activates_default">True</property>
  305. <property name="text">1</property>
  306. <property name="adjustment">period-adjustment</property>
  307. <property name="truncate-multiline">True</property>
  308. <property name="value">1</property>
  309. </object>
  310. <packing>
  311. <property name="left_attach">1</property>
  312. <property name="top_attach">5</property>
  313. </packing>
  314. </child>
  315. <child>
  316. <object class="GtkLabel" id="label3">
  317. <property name="visible">True</property>
  318. <property name="can_focus">False</property>
  319. <property name="margin_left">12</property>
  320. <property name="hexpand">True</property>
  321. <property name="xpad">12</property>
  322. <property name="label" translatable="yes" context="samplingdialog|label3">Period:</property>
  323. <property name="use_underline">True</property>
  324. <property name="mnemonic_widget">period-spin</property>
  325. <property name="xalign">0</property>
  326. </object>
  327. <packing>
  328. <property name="left_attach">0</property>
  329. <property name="top_attach">5</property>
  330. </packing>
  331. </child>
  332. <child>
  333. <object class="GtkCheckButton" id="with-replacement">
  334. <property name="label" translatable="yes" context="samplingdialog|with-replacement">With replacement</property>
  335. <property name="visible">True</property>
  336. <property name="can_focus">True</property>
  337. <property name="receives_default">False</property>
  338. <property name="use_underline">True</property>
  339. <property name="xalign">0</property>
  340. <property name="draw_indicator">True</property>
  341. </object>
  342. <packing>
  343. <property name="left_attach">0</property>
  344. <property name="top_attach">2</property>
  345. <property name="width">2</property>
  346. </packing>
  347. </child>
  348. <child>
  349. <object class="GtkCheckButton" id="keep-order">
  350. <property name="label" translatable="yes" context="samplingdialog|keep-order">Keep order</property>
  351. <property name="visible">True</property>
  352. <property name="can_focus">True</property>
  353. <property name="receives_default">False</property>
  354. <property name="use_underline">True</property>
  355. <property name="xalign">0</property>
  356. <property name="draw_indicator">True</property>
  357. </object>
  358. <packing>
  359. <property name="left_attach">0</property>
  360. <property name="top_attach">3</property>
  361. <property name="width">2</property>
  362. </packing>
  363. </child>
  364. </object>
  365. </child>
  366. </object>
  367. </child>
  368. <child type="label">
  369. <object class="GtkLabel" id="label2">
  370. <property name="visible">True</property>
  371. <property name="can_focus">False</property>
  372. <property name="label" translatable="yes" context="samplingdialog|label2">Sampling Method</property>
  373. <attributes>
  374. <attribute name="weight" value="bold"/>
  375. </attributes>
  376. </object>
  377. </child>
  378. </object>
  379. <packing>
  380. <property name="expand">False</property>
  381. <property name="fill">True</property>
  382. <property name="position">3</property>
  383. </packing>
  384. </child>
  385. </object>
  386. </child>
  387. <action-widgets>
  388. <action-widget response="-5">ok</action-widget>
  389. <action-widget response="-6">cancel</action-widget>
  390. <action-widget response="-11">help</action-widget>
  391. </action-widgets>
  392. <child type="titlebar">
  393. <placeholder/>
  394. </child>
  395. <child internal-child="accessible">
  396. <object class="AtkObject" id="SamplingDialog-atkobject">
  397. <property name="AtkObject::accessible-description" translatable="yes" context="samplingdialog|extended_tip|SamplingDialog">Create a table with data sampled from another table.</property>
  398. </object>
  399. </child>
  400. </object>
  401. </interface>