xmlsourcedialog.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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="GtkImage" id="image1">
  6. <property name="visible">True</property>
  7. <property name="can_focus">False</property>
  8. <property name="icon_name">sc/res/file.png</property>
  9. </object>
  10. <object class="GtkTreeStore" id="liststore1">
  11. <columns>
  12. <!-- column-name expander -->
  13. <column type="GdkPixbuf"/>
  14. <!-- column-name text -->
  15. <column type="gchararray"/>
  16. <!-- column-name id -->
  17. <column type="gchararray"/>
  18. </columns>
  19. </object>
  20. <object class="GtkDialog" id="XMLSourceDialog">
  21. <property name="can_focus">False</property>
  22. <property name="border_width">6</property>
  23. <property name="title" translatable="yes" context="xmlsourcedialog|XMLSourceDialog">XML Source</property>
  24. <property name="resizable">False</property>
  25. <property name="default_width">0</property>
  26. <property name="default_height">0</property>
  27. <property name="type_hint">dialog</property>
  28. <child internal-child="vbox">
  29. <object class="GtkBox" id="dialog-vbox1">
  30. <property name="can_focus">False</property>
  31. <property name="orientation">vertical</property>
  32. <property name="spacing">12</property>
  33. <child internal-child="action_area">
  34. <object class="GtkButtonBox" id="dialog-action_area1">
  35. <property name="can_focus">False</property>
  36. <property name="layout_style">end</property>
  37. <child>
  38. <object class="GtkButton" id="ok">
  39. <property name="label" translatable="yes" context="xmlsourcedialog|ok">_Import</property>
  40. <property name="visible">True</property>
  41. <property name="can_focus">True</property>
  42. <property name="can_default">True</property>
  43. <property name="has_default">True</property>
  44. <property name="receives_default">True</property>
  45. <property name="use_underline">True</property>
  46. </object>
  47. <packing>
  48. <property name="expand">False</property>
  49. <property name="fill">True</property>
  50. <property name="position">0</property>
  51. </packing>
  52. </child>
  53. <child>
  54. <object class="GtkButton" id="cancel">
  55. <property name="label">gtk-cancel</property>
  56. <property name="visible">True</property>
  57. <property name="can_focus">True</property>
  58. <property name="receives_default">True</property>
  59. <property name="use_stock">True</property>
  60. </object>
  61. <packing>
  62. <property name="expand">False</property>
  63. <property name="fill">True</property>
  64. <property name="position">1</property>
  65. </packing>
  66. </child>
  67. <child>
  68. <object class="GtkButton" id="help">
  69. <property name="label">gtk-help</property>
  70. <property name="visible">True</property>
  71. <property name="can_focus">True</property>
  72. <property name="receives_default">True</property>
  73. <property name="use_stock">True</property>
  74. </object>
  75. <packing>
  76. <property name="expand">False</property>
  77. <property name="fill">True</property>
  78. <property name="position">2</property>
  79. <property name="secondary">True</property>
  80. </packing>
  81. </child>
  82. </object>
  83. <packing>
  84. <property name="expand">False</property>
  85. <property name="fill">True</property>
  86. <property name="pack_type">end</property>
  87. <property name="position">2</property>
  88. </packing>
  89. </child>
  90. <child>
  91. <object class="GtkFrame" id="itemframe">
  92. <property name="visible">True</property>
  93. <property name="can_focus">False</property>
  94. <property name="label_xalign">0</property>
  95. <property name="shadow_type">none</property>
  96. <child>
  97. <object class="GtkAlignment" id="alignment1">
  98. <property name="visible">True</property>
  99. <property name="can_focus">False</property>
  100. <property name="top_padding">6</property>
  101. <property name="left_padding">12</property>
  102. <child>
  103. <!-- n-columns=1 n-rows=1 -->
  104. <object class="GtkGrid" id="grid3">
  105. <property name="visible">True</property>
  106. <property name="can_focus">False</property>
  107. <property name="hexpand">True</property>
  108. <property name="row_spacing">6</property>
  109. <property name="column_spacing">12</property>
  110. <property name="row_homogeneous">True</property>
  111. <child>
  112. <object class="GtkButton" id="selectsource">
  113. <property name="visible">True</property>
  114. <property name="can_focus">True</property>
  115. <property name="receives_default">True</property>
  116. <property name="tooltip_text" translatable="yes" context="xmlsourcedialog|selectsource|tooltip_text">Browse to set source file.</property>
  117. <property name="image">image1</property>
  118. </object>
  119. <packing>
  120. <property name="left_attach">0</property>
  121. <property name="top_attach">0</property>
  122. </packing>
  123. </child>
  124. <child>
  125. <object class="GtkLabel" id="sourcefile">
  126. <property name="visible">True</property>
  127. <property name="can_focus">False</property>
  128. <property name="hexpand">True</property>
  129. <property name="label" translatable="yes" context="xmlsourcedialog|sourcefile">- not set -</property>
  130. <property name="xalign">0</property>
  131. </object>
  132. <packing>
  133. <property name="left_attach">1</property>
  134. <property name="top_attach">0</property>
  135. </packing>
  136. </child>
  137. </object>
  138. </child>
  139. </object>
  140. </child>
  141. <child type="label">
  142. <object class="GtkLabel" id="label1">
  143. <property name="visible">True</property>
  144. <property name="can_focus">False</property>
  145. <property name="label" translatable="yes" context="xmlsourcedialog|label1">Source File</property>
  146. <attributes>
  147. <attribute name="weight" value="bold"/>
  148. </attributes>
  149. </object>
  150. </child>
  151. </object>
  152. <packing>
  153. <property name="expand">False</property>
  154. <property name="fill">True</property>
  155. <property name="position">0</property>
  156. </packing>
  157. </child>
  158. <child>
  159. <object class="GtkFrame" id="itemframe1">
  160. <property name="visible">True</property>
  161. <property name="can_focus">False</property>
  162. <property name="hexpand">True</property>
  163. <property name="vexpand">True</property>
  164. <property name="label_xalign">0</property>
  165. <property name="shadow_type">none</property>
  166. <child>
  167. <object class="GtkAlignment" id="alignment2">
  168. <property name="visible">True</property>
  169. <property name="can_focus">False</property>
  170. <property name="top_padding">6</property>
  171. <property name="left_padding">12</property>
  172. <child>
  173. <!-- n-columns=1 n-rows=1 -->
  174. <object class="GtkGrid" id="grid1">
  175. <property name="visible">True</property>
  176. <property name="can_focus">False</property>
  177. <property name="hexpand">True</property>
  178. <property name="row_spacing">6</property>
  179. <property name="column_spacing">12</property>
  180. <property name="row_homogeneous">True</property>
  181. <child>
  182. <!-- n-columns=1 n-rows=1 -->
  183. <object class="GtkGrid" id="mapgrid">
  184. <property name="visible">True</property>
  185. <property name="can_focus">False</property>
  186. <property name="valign">start</property>
  187. <property name="row_spacing">6</property>
  188. <property name="column_spacing">12</property>
  189. <child>
  190. <object class="GtkLabel" id="label5">
  191. <property name="visible">True</property>
  192. <property name="can_focus">False</property>
  193. <property name="label" translatable="yes" context="xmlsourcedialog|label5">Mapped cell:</property>
  194. <property name="use_underline">True</property>
  195. <property name="xalign">0</property>
  196. </object>
  197. <packing>
  198. <property name="left_attach">0</property>
  199. <property name="top_attach">0</property>
  200. <property name="width">2</property>
  201. </packing>
  202. </child>
  203. <child>
  204. <object class="GtkEntry" id="edit">
  205. <property name="visible">True</property>
  206. <property name="can_focus">True</property>
  207. <property name="activates_default">True</property>
  208. <property name="truncate-multiline">True</property>
  209. <property name="width_chars">20</property>
  210. </object>
  211. <packing>
  212. <property name="left_attach">0</property>
  213. <property name="top_attach">1</property>
  214. </packing>
  215. </child>
  216. <child>
  217. <object class="GtkButton" id="ref">
  218. <property name="visible">True</property>
  219. <property name="can_focus">True</property>
  220. <property name="receives_default">True</property>
  221. </object>
  222. <packing>
  223. <property name="left_attach">1</property>
  224. <property name="top_attach">1</property>
  225. </packing>
  226. </child>
  227. </object>
  228. <packing>
  229. <property name="left_attach">1</property>
  230. <property name="top_attach">0</property>
  231. </packing>
  232. </child>
  233. <child>
  234. <object class="GtkScrolledWindow">
  235. <property name="visible">True</property>
  236. <property name="can_focus">True</property>
  237. <property name="hexpand">True</property>
  238. <property name="vexpand">True</property>
  239. <property name="shadow_type">in</property>
  240. <child>
  241. <object class="GtkTreeView" id="tree">
  242. <property name="width_request">-1</property>
  243. <property name="visible">True</property>
  244. <property name="can_focus">True</property>
  245. <property name="receives_default">True</property>
  246. <property name="hexpand">True</property>
  247. <property name="vexpand">True</property>
  248. <property name="model">liststore1</property>
  249. <property name="headers_visible">False</property>
  250. <property name="search_column">1</property>
  251. <child internal-child="selection">
  252. <object class="GtkTreeSelection" id="Macro Library List-selection1"/>
  253. </child>
  254. <child>
  255. <object class="GtkTreeViewColumn" id="treeviewcolumn2">
  256. <property name="spacing">6</property>
  257. <child>
  258. <object class="GtkCellRendererPixbuf" id="cellrenderertext4"/>
  259. <attributes>
  260. <attribute name="pixbuf">0</attribute>
  261. </attributes>
  262. </child>
  263. <child>
  264. <object class="GtkCellRendererText" id="cellrenderertext2"/>
  265. <attributes>
  266. <attribute name="text">1</attribute>
  267. </attributes>
  268. </child>
  269. </object>
  270. </child>
  271. </object>
  272. </child>
  273. </object>
  274. <packing>
  275. <property name="left_attach">0</property>
  276. <property name="top_attach">0</property>
  277. </packing>
  278. </child>
  279. </object>
  280. </child>
  281. </object>
  282. </child>
  283. <child type="label">
  284. <object class="GtkLabel" id="label4">
  285. <property name="visible">True</property>
  286. <property name="can_focus">False</property>
  287. <property name="label" translatable="yes" context="xmlsourcedialog|label4">Map to Document</property>
  288. <attributes>
  289. <attribute name="weight" value="bold"/>
  290. </attributes>
  291. </object>
  292. </child>
  293. </object>
  294. <packing>
  295. <property name="expand">False</property>
  296. <property name="fill">True</property>
  297. <property name="position">1</property>
  298. </packing>
  299. </child>
  300. </object>
  301. </child>
  302. <action-widgets>
  303. <action-widget response="-5">ok</action-widget>
  304. <action-widget response="-6">cancel</action-widget>
  305. <action-widget response="-11">help</action-widget>
  306. </action-widgets>
  307. <child type="titlebar">
  308. <placeholder/>
  309. </child>
  310. <child internal-child="accessible">
  311. <object class="AtkObject" id="XMLSourceDialog-atkobject">
  312. <property name="AtkObject::accessible-description" translatable="yes" context="xmlsourcedialog|extended_tip|XMLSourceDialog">Import XML data in a spreadsheet.</property>
  313. </object>
  314. </child>
  315. </object>
  316. </interface>