datafielddialog.ui 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  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="GtkTreeStore" id="liststore2">
  6. <columns>
  7. <!-- column-name text -->
  8. <column type="gchararray"/>
  9. <!-- column-name id -->
  10. <column type="gchararray"/>
  11. </columns>
  12. </object>
  13. <object class="GtkDialog" id="DataFieldDialog">
  14. <property name="can_focus">False</property>
  15. <property name="border_width">6</property>
  16. <property name="title" translatable="yes" context="datafielddialog|DataFieldDialog">Data Field</property>
  17. <property name="resizable">False</property>
  18. <property name="type_hint">dialog</property>
  19. <child internal-child="vbox">
  20. <object class="GtkBox" id="dialog-vbox1">
  21. <property name="can_focus">False</property>
  22. <property name="hexpand">True</property>
  23. <property name="vexpand">True</property>
  24. <property name="orientation">vertical</property>
  25. <property name="spacing">12</property>
  26. <child internal-child="action_area">
  27. <object class="GtkButtonBox" id="dialog-action_area1">
  28. <property name="can_focus">False</property>
  29. <property name="layout_style">end</property>
  30. <child>
  31. <object class="GtkButton" id="ok">
  32. <property name="label">gtk-ok</property>
  33. <property name="visible">True</property>
  34. <property name="can_focus">True</property>
  35. <property name="can_default">True</property>
  36. <property name="has_default">True</property>
  37. <property name="receives_default">True</property>
  38. <property name="use_stock">True</property>
  39. </object>
  40. <packing>
  41. <property name="expand">False</property>
  42. <property name="fill">True</property>
  43. <property name="position">0</property>
  44. </packing>
  45. </child>
  46. <child>
  47. <object class="GtkButton" id="cancel">
  48. <property name="label">gtk-cancel</property>
  49. <property name="visible">True</property>
  50. <property name="can_focus">True</property>
  51. <property name="can_default">True</property>
  52. <property name="receives_default">True</property>
  53. <property name="use_stock">True</property>
  54. </object>
  55. <packing>
  56. <property name="expand">False</property>
  57. <property name="fill">True</property>
  58. <property name="position">1</property>
  59. </packing>
  60. </child>
  61. <child>
  62. <object class="GtkButton" id="help">
  63. <property name="label">gtk-help</property>
  64. <property name="visible">True</property>
  65. <property name="can_focus">True</property>
  66. <property name="receives_default">True</property>
  67. <property name="use_stock">True</property>
  68. </object>
  69. <packing>
  70. <property name="expand">False</property>
  71. <property name="fill">True</property>
  72. <property name="position">2</property>
  73. <property name="secondary">True</property>
  74. </packing>
  75. </child>
  76. </object>
  77. <packing>
  78. <property name="expand">False</property>
  79. <property name="fill">True</property>
  80. <property name="pack_type">end</property>
  81. <property name="position">0</property>
  82. </packing>
  83. </child>
  84. <child>
  85. <!-- n-columns=1 n-rows=1 -->
  86. <object class="GtkGrid" id="grid1">
  87. <property name="visible">True</property>
  88. <property name="can_focus">False</property>
  89. <property name="hexpand">True</property>
  90. <property name="vexpand">True</property>
  91. <property name="row_spacing">12</property>
  92. <child>
  93. <object class="GtkFrame" id="frame1">
  94. <property name="visible">True</property>
  95. <property name="can_focus">False</property>
  96. <property name="hexpand">True</property>
  97. <property name="vexpand">True</property>
  98. <property name="label_xalign">0</property>
  99. <property name="shadow_type">none</property>
  100. <child>
  101. <object class="GtkAlignment" id="alignment1">
  102. <property name="visible">True</property>
  103. <property name="can_focus">False</property>
  104. <property name="margin_top">6</property>
  105. <property name="hexpand">True</property>
  106. <property name="vexpand">True</property>
  107. <property name="top_padding">6</property>
  108. <property name="left_padding">12</property>
  109. <child>
  110. <!-- n-columns=1 n-rows=1 -->
  111. <object class="GtkGrid" id="grid2">
  112. <property name="visible">True</property>
  113. <property name="can_focus">False</property>
  114. <property name="hexpand">True</property>
  115. <property name="vexpand">True</property>
  116. <property name="row_spacing">6</property>
  117. <child>
  118. <object class="GtkScrolledWindow">
  119. <property name="visible">True</property>
  120. <property name="can_focus">True</property>
  121. <property name="hexpand">True</property>
  122. <property name="vexpand">True</property>
  123. <property name="shadow_type">in</property>
  124. <child>
  125. <object class="GtkTreeView" id="functions">
  126. <property name="visible">True</property>
  127. <property name="can_focus">True</property>
  128. <property name="receives_default">True</property>
  129. <property name="hexpand">True</property>
  130. <property name="vexpand">True</property>
  131. <property name="model">liststore2</property>
  132. <property name="headers_visible">False</property>
  133. <property name="search_column">1</property>
  134. <property name="show_expanders">False</property>
  135. <child internal-child="selection">
  136. <object class="GtkTreeSelection" id="Macro Library List-selection2"/>
  137. </child>
  138. <child>
  139. <object class="GtkTreeViewColumn" id="treeviewcolumn5">
  140. <property name="resizable">True</property>
  141. <property name="spacing">6</property>
  142. <child>
  143. <object class="GtkCellRendererText" id="cellrenderer4"/>
  144. <attributes>
  145. <attribute name="text">0</attribute>
  146. </attributes>
  147. </child>
  148. </object>
  149. </child>
  150. <child internal-child="accessible">
  151. <object class="AtkObject" id="functions-atkobject">
  152. <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|functions">Click the type of subtotal that you want to calculate. This option is only available if the User-defined option is selected.</property>
  153. </object>
  154. </child>
  155. </object>
  156. </child>
  157. </object>
  158. <packing>
  159. <property name="left_attach">0</property>
  160. <property name="top_attach">0</property>
  161. </packing>
  162. </child>
  163. </object>
  164. </child>
  165. </object>
  166. </child>
  167. <child type="label">
  168. <object class="GtkLabel" id="label1">
  169. <property name="visible">True</property>
  170. <property name="can_focus">False</property>
  171. <property name="label" translatable="yes" context="datafielddialog|label1">Function</property>
  172. <attributes>
  173. <attribute name="weight" value="bold"/>
  174. </attributes>
  175. </object>
  176. </child>
  177. </object>
  178. <packing>
  179. <property name="left_attach">0</property>
  180. <property name="top_attach">0</property>
  181. </packing>
  182. </child>
  183. <child>
  184. <object class="GtkCheckButton" id="checkbutton1">
  185. <property name="label" translatable="yes" context="datafielddialog|checkbutton1">Show it_ems without data</property>
  186. <property name="visible">True</property>
  187. <property name="can_focus">True</property>
  188. <property name="receives_default">False</property>
  189. <property name="use_underline">True</property>
  190. <property name="xalign">0</property>
  191. <property name="draw_indicator">True</property>
  192. <child internal-child="accessible">
  193. <object class="AtkObject" id="checkbutton1-atkobject">
  194. <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|checkbutton1">Includes empty columns and rows in the results table.</property>
  195. </object>
  196. </child>
  197. </object>
  198. <packing>
  199. <property name="left_attach">0</property>
  200. <property name="top_attach">1</property>
  201. </packing>
  202. </child>
  203. <child>
  204. <!-- n-columns=1 n-rows=1 -->
  205. <object class="GtkGrid" id="grid3">
  206. <property name="visible">True</property>
  207. <property name="can_focus">False</property>
  208. <property name="column_spacing">12</property>
  209. <child>
  210. <object class="GtkLabel" id="label2">
  211. <property name="visible">True</property>
  212. <property name="can_focus">False</property>
  213. <property name="label" translatable="yes" context="datafielddialog|label2">Name:</property>
  214. <property name="xalign">0</property>
  215. </object>
  216. <packing>
  217. <property name="left_attach">0</property>
  218. <property name="top_attach">0</property>
  219. </packing>
  220. </child>
  221. <child>
  222. <object class="GtkLabel" id="name">
  223. <property name="visible">True</property>
  224. <property name="can_focus">False</property>
  225. <property name="xalign">0</property>
  226. </object>
  227. <packing>
  228. <property name="left_attach">1</property>
  229. <property name="top_attach">0</property>
  230. </packing>
  231. </child>
  232. </object>
  233. <packing>
  234. <property name="left_attach">0</property>
  235. <property name="top_attach">2</property>
  236. </packing>
  237. </child>
  238. <child>
  239. <object class="GtkExpander" id="expander">
  240. <property name="visible">True</property>
  241. <property name="can_focus">True</property>
  242. <property name="resize_toplevel">True</property>
  243. <child>
  244. <object class="GtkAlignment" id="alignment2">
  245. <property name="visible">True</property>
  246. <property name="can_focus">False</property>
  247. <property name="margin_top">6</property>
  248. <property name="hexpand">True</property>
  249. <property name="top_padding">6</property>
  250. <property name="left_padding">12</property>
  251. <child>
  252. <!-- n-columns=1 n-rows=1 -->
  253. <object class="GtkGrid" id="grid4">
  254. <property name="visible">True</property>
  255. <property name="can_focus">False</property>
  256. <property name="row_spacing">6</property>
  257. <property name="column_spacing">12</property>
  258. <child>
  259. <object class="GtkLabel" id="label4">
  260. <property name="visible">True</property>
  261. <property name="can_focus">False</property>
  262. <property name="label" translatable="yes" context="datafielddialog|label4">_Type:</property>
  263. <property name="use_underline">True</property>
  264. <property name="mnemonic_widget">type</property>
  265. <property name="ellipsize">end</property>
  266. <property name="xalign">0</property>
  267. </object>
  268. <packing>
  269. <property name="left_attach">0</property>
  270. <property name="top_attach">0</property>
  271. </packing>
  272. </child>
  273. <child>
  274. <object class="GtkLabel" id="basefieldft">
  275. <property name="visible">True</property>
  276. <property name="can_focus">False</property>
  277. <property name="label" translatable="yes" context="datafielddialog|basefieldft">_Base field:</property>
  278. <property name="use_underline">True</property>
  279. <property name="mnemonic_widget">basefield</property>
  280. <property name="ellipsize">end</property>
  281. <property name="xalign">0</property>
  282. </object>
  283. <packing>
  284. <property name="left_attach">0</property>
  285. <property name="top_attach">1</property>
  286. </packing>
  287. </child>
  288. <child>
  289. <object class="GtkLabel" id="baseitemft">
  290. <property name="visible">True</property>
  291. <property name="can_focus">False</property>
  292. <property name="label" translatable="yes" context="datafielddialog|baseitemft">Ba_se item:</property>
  293. <property name="use_underline">True</property>
  294. <property name="mnemonic_widget">baseitem</property>
  295. <property name="ellipsize">end</property>
  296. <property name="xalign">0</property>
  297. </object>
  298. <packing>
  299. <property name="left_attach">0</property>
  300. <property name="top_attach">2</property>
  301. </packing>
  302. </child>
  303. <child>
  304. <object class="GtkComboBoxText" id="type">
  305. <property name="visible">True</property>
  306. <property name="can_focus">False</property>
  307. <items>
  308. <item translatable="yes" context="datafielddialog|type">Normal</item>
  309. <item translatable="yes" context="datafielddialog|type">Difference from</item>
  310. <item translatable="yes" context="datafielddialog|type">% of</item>
  311. <item translatable="yes" context="datafielddialog|type">% difference from</item>
  312. <item translatable="yes" context="datafielddialog|type">Running total in</item>
  313. <item translatable="yes" context="datafielddialog|type">% of row</item>
  314. <item translatable="yes" context="datafielddialog|type">% of column</item>
  315. <item translatable="yes" context="datafielddialog|type">% of total</item>
  316. <item translatable="yes" context="datafielddialog|type">Index</item>
  317. </items>
  318. <child internal-child="accessible">
  319. <object class="AtkObject" id="type-atkobject">
  320. <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|type">Select the type of calculating of the displayed value for the data field.</property>
  321. </object>
  322. </child>
  323. </object>
  324. <packing>
  325. <property name="left_attach">1</property>
  326. <property name="top_attach">0</property>
  327. </packing>
  328. </child>
  329. <child>
  330. <object class="GtkComboBoxText" id="basefield">
  331. <property name="visible">True</property>
  332. <property name="can_focus">False</property>
  333. <child internal-child="accessible">
  334. <object class="AtkObject" id="basefield-atkobject">
  335. <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|basefield">Select the field from which the respective value is taken as base for the calculation.</property>
  336. </object>
  337. </child>
  338. </object>
  339. <packing>
  340. <property name="left_attach">1</property>
  341. <property name="top_attach">1</property>
  342. </packing>
  343. </child>
  344. <child>
  345. <object class="GtkComboBoxText" id="baseitem">
  346. <property name="visible">True</property>
  347. <property name="can_focus">False</property>
  348. <items>
  349. <item translatable="yes" context="datafielddialog|baseitem">- previous item -</item>
  350. <item translatable="yes" context="datafielddialog|baseitem">- next item -</item>
  351. </items>
  352. <child internal-child="accessible">
  353. <object class="AtkObject" id="baseitem-atkobject">
  354. <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|baseitem">Select the item of the base field from which the respective value is taken as base for the calculation.</property>
  355. </object>
  356. </child>
  357. </object>
  358. <packing>
  359. <property name="left_attach">1</property>
  360. <property name="top_attach">2</property>
  361. </packing>
  362. </child>
  363. </object>
  364. </child>
  365. </object>
  366. </child>
  367. <child type="label">
  368. <object class="GtkLabel" id="label3">
  369. <property name="visible">True</property>
  370. <property name="can_focus">False</property>
  371. <property name="label" translatable="yes" context="datafielddialog|label3">Displayed Value</property>
  372. </object>
  373. </child>
  374. <child internal-child="accessible">
  375. <object class="AtkObject" id="expander-atkobject">
  376. <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|expander">Expands or reduces the dialog. The More button is visible for data fields only.</property>
  377. </object>
  378. </child>
  379. </object>
  380. <packing>
  381. <property name="left_attach">0</property>
  382. <property name="top_attach">3</property>
  383. </packing>
  384. </child>
  385. </object>
  386. <packing>
  387. <property name="expand">False</property>
  388. <property name="fill">True</property>
  389. <property name="position">1</property>
  390. </packing>
  391. </child>
  392. </object>
  393. </child>
  394. <action-widgets>
  395. <action-widget response="-5">ok</action-widget>
  396. <action-widget response="-6">cancel</action-widget>
  397. <action-widget response="-11">help</action-widget>
  398. </action-widgets>
  399. <child type="titlebar">
  400. <placeholder/>
  401. </child>
  402. </object>
  403. </interface>