basicmacrodialog.ui 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="basctl">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkTreeStore" id="liststore1">
  6. <columns>
  7. <!-- column-name expander -->
  8. <column type="GdkPixbuf"/>
  9. <!-- column-name text -->
  10. <column type="gchararray"/>
  11. <!-- column-name id -->
  12. <column type="gchararray"/>
  13. </columns>
  14. </object>
  15. <object class="GtkTreeStore" id="liststore2">
  16. <columns>
  17. <!-- column-name text -->
  18. <column type="gchararray"/>
  19. <!-- column-name id -->
  20. <column type="gchararray"/>
  21. </columns>
  22. </object>
  23. <object class="GtkDialog" id="BasicMacroDialog">
  24. <property name="can_focus">False</property>
  25. <property name="border_width">6</property>
  26. <property name="title" translatable="yes" context="basicmacrodialog|BasicMacroDialog">Basic Macros</property>
  27. <property name="modal">True</property>
  28. <property name="type_hint">dialog</property>
  29. <child internal-child="vbox">
  30. <object class="GtkBox" id="dialog-vbox1">
  31. <property name="can_focus">False</property>
  32. <property name="hexpand">True</property>
  33. <property name="vexpand">True</property>
  34. <property name="orientation">vertical</property>
  35. <property name="spacing">12</property>
  36. <child internal-child="action_area">
  37. <object class="GtkButtonBox" id="dialog-action_area1">
  38. <property name="can_focus">False</property>
  39. <property name="homogeneous">True</property>
  40. <property name="layout_style">end</property>
  41. <child>
  42. <object class="GtkButton" id="ok">
  43. <property name="label" translatable="yes" context="basicmacrodialog|run">Run</property>
  44. <property name="visible">True</property>
  45. <property name="can_focus">True</property>
  46. <property name="can_default">True</property>
  47. <property name="has_default">True</property>
  48. <property name="receives_default">True</property>
  49. <property name="use_underline">True</property>
  50. <child internal-child="accessible">
  51. <object class="AtkObject" id="ok-atkobject">
  52. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|ok">Runs or saves the current macro.</property>
  53. </object>
  54. </child>
  55. </object>
  56. <packing>
  57. <property name="expand">False</property>
  58. <property name="fill">True</property>
  59. <property name="position">0</property>
  60. </packing>
  61. </child>
  62. <child>
  63. <object class="GtkButton" id="close">
  64. <property name="label">gtk-close</property>
  65. <property name="visible">True</property>
  66. <property name="can_focus">True</property>
  67. <property name="receives_default">True</property>
  68. <property name="use_stock">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="help">
  78. <property name="label">gtk-help</property>
  79. <property name="visible">True</property>
  80. <property name="can_focus">True</property>
  81. <property name="receives_default">True</property>
  82. <property name="use_stock">True</property>
  83. </object>
  84. <packing>
  85. <property name="expand">False</property>
  86. <property name="fill">True</property>
  87. <property name="position">8</property>
  88. <property name="secondary">True</property>
  89. </packing>
  90. </child>
  91. </object>
  92. <packing>
  93. <property name="expand">False</property>
  94. <property name="fill">True</property>
  95. <property name="pack_type">end</property>
  96. <property name="position">0</property>
  97. </packing>
  98. </child>
  99. <child>
  100. <object class="GtkBox" id="box1">
  101. <property name="visible">True</property>
  102. <property name="can_focus">False</property>
  103. <property name="spacing">12</property>
  104. <child>
  105. <!-- n-columns=1 n-rows=1 -->
  106. <object class="GtkGrid" id="grid1">
  107. <property name="visible">True</property>
  108. <property name="can_focus">False</property>
  109. <property name="hexpand">True</property>
  110. <property name="vexpand">True</property>
  111. <property name="row_spacing">6</property>
  112. <property name="column_spacing">12</property>
  113. <child>
  114. <object class="GtkFrame" id="frame3">
  115. <property name="visible">True</property>
  116. <property name="can_focus">False</property>
  117. <property name="hexpand">True</property>
  118. <property name="vexpand">True</property>
  119. <property name="label_xalign">0</property>
  120. <property name="shadow_type">none</property>
  121. <child>
  122. <object class="GtkAlignment" id="alignment3">
  123. <property name="visible">True</property>
  124. <property name="can_focus">False</property>
  125. <property name="vexpand">True</property>
  126. <property name="top_padding">6</property>
  127. <property name="left_padding">12</property>
  128. <child>
  129. <object class="GtkScrolledWindow">
  130. <property name="visible">True</property>
  131. <property name="can_focus">True</property>
  132. <property name="hexpand">True</property>
  133. <property name="vexpand">True</property>
  134. <property name="shadow_type">in</property>
  135. <child>
  136. <object class="GtkTreeView" id="macros">
  137. <property name="visible">True</property>
  138. <property name="can_focus">True</property>
  139. <property name="receives_default">True</property>
  140. <property name="hexpand">True</property>
  141. <property name="vexpand">True</property>
  142. <property name="model">liststore2</property>
  143. <property name="headers_visible">False</property>
  144. <property name="search_column">0</property>
  145. <property name="show_expanders">False</property>
  146. <child internal-child="selection">
  147. <object class="GtkTreeSelection" id="Tree List-selection1"/>
  148. </child>
  149. <child>
  150. <object class="GtkTreeViewColumn" id="treeviewcolumn1">
  151. <child>
  152. <object class="GtkCellRendererText" id="cellrenderertext1"/>
  153. <attributes>
  154. <attribute name="text">0</attribute>
  155. </attributes>
  156. </child>
  157. </object>
  158. </child>
  159. <child internal-child="accessible">
  160. <object class="AtkObject" id="macros-atkobject">
  161. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|macros">Lists the macros that are contained in the module selected in the Macro from list.</property>
  162. </object>
  163. </child>
  164. </object>
  165. </child>
  166. </object>
  167. </child>
  168. </object>
  169. </child>
  170. <child type="label">
  171. <object class="GtkLabel" id="existingmacrosft">
  172. <property name="visible">True</property>
  173. <property name="can_focus">False</property>
  174. <property name="label" translatable="yes" context="basicmacrodialog|existingmacrosft">Existing Macros In:</property>
  175. <property name="ellipsize">end</property>
  176. <property name="track_visited_links">False</property>
  177. <attributes>
  178. <attribute name="weight" value="bold"/>
  179. </attributes>
  180. </object>
  181. </child>
  182. </object>
  183. <packing>
  184. <property name="left_attach">1</property>
  185. <property name="top_attach">1</property>
  186. </packing>
  187. </child>
  188. <child>
  189. <object class="GtkFrame" id="frame2">
  190. <property name="visible">True</property>
  191. <property name="can_focus">False</property>
  192. <property name="hexpand">True</property>
  193. <property name="vexpand">True</property>
  194. <property name="label_xalign">0</property>
  195. <property name="shadow_type">none</property>
  196. <child>
  197. <object class="GtkAlignment" id="alignment2">
  198. <property name="visible">True</property>
  199. <property name="can_focus">False</property>
  200. <property name="vexpand">True</property>
  201. <property name="top_padding">6</property>
  202. <property name="left_padding">12</property>
  203. <child>
  204. <object class="GtkScrolledWindow">
  205. <property name="visible">True</property>
  206. <property name="can_focus">True</property>
  207. <property name="hexpand">True</property>
  208. <property name="vexpand">True</property>
  209. <property name="shadow_type">in</property>
  210. <child>
  211. <object class="GtkTreeView" id="libraries">
  212. <property name="visible">True</property>
  213. <property name="can_focus">True</property>
  214. <property name="receives_default">True</property>
  215. <property name="hexpand">True</property>
  216. <property name="vexpand">True</property>
  217. <property name="model">liststore1</property>
  218. <property name="headers_visible">False</property>
  219. <property name="search_column">1</property>
  220. <property name="enable_tree_lines">True</property>
  221. <child internal-child="selection">
  222. <object class="GtkTreeSelection" id="Macro Library List-selection1"/>
  223. </child>
  224. <child>
  225. <object class="GtkTreeViewColumn" id="treeviewcolumn2">
  226. <property name="spacing">6</property>
  227. <child>
  228. <object class="GtkCellRendererPixbuf" id="cellrenderertext4"/>
  229. <attributes>
  230. <attribute name="pixbuf">0</attribute>
  231. </attributes>
  232. </child>
  233. <child>
  234. <object class="GtkCellRendererText" id="cellrenderertext2"/>
  235. <attributes>
  236. <attribute name="text">1</attribute>
  237. </attributes>
  238. </child>
  239. </object>
  240. </child>
  241. <child internal-child="accessible">
  242. <object class="AtkObject" id="libraries-atkobject">
  243. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|libraries">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</property>
  244. </object>
  245. </child>
  246. </object>
  247. </child>
  248. </object>
  249. </child>
  250. </object>
  251. </child>
  252. <child type="label">
  253. <object class="GtkBox" id="box2">
  254. <property name="visible">True</property>
  255. <property name="can_focus">False</property>
  256. <property name="orientation">vertical</property>
  257. <child>
  258. <object class="GtkLabel" id="macrofromft">
  259. <property name="visible">True</property>
  260. <property name="can_focus">False</property>
  261. <property name="label" translatable="yes" context="basicmacrodialog|macrofromft">Macro From</property>
  262. <property name="xalign">0</property>
  263. <attributes>
  264. <attribute name="weight" value="bold"/>
  265. </attributes>
  266. </object>
  267. <packing>
  268. <property name="expand">False</property>
  269. <property name="fill">True</property>
  270. <property name="position">0</property>
  271. </packing>
  272. </child>
  273. <child>
  274. <object class="GtkLabel" id="macrotoft">
  275. <property name="visible">True</property>
  276. <property name="can_focus">False</property>
  277. <property name="label" translatable="yes" context="basicmacrodialog|macrotoft">Save Macro In</property>
  278. <property name="xalign">0</property>
  279. <attributes>
  280. <attribute name="weight" value="bold"/>
  281. </attributes>
  282. </object>
  283. <packing>
  284. <property name="expand">False</property>
  285. <property name="fill">True</property>
  286. <property name="position">1</property>
  287. </packing>
  288. </child>
  289. </object>
  290. </child>
  291. </object>
  292. <packing>
  293. <property name="left_attach">0</property>
  294. <property name="top_attach">1</property>
  295. </packing>
  296. </child>
  297. <child>
  298. <object class="GtkFrame" id="frame1">
  299. <property name="visible">True</property>
  300. <property name="can_focus">False</property>
  301. <property name="label_xalign">0</property>
  302. <property name="shadow_type">none</property>
  303. <child>
  304. <object class="GtkAlignment" id="alignment1">
  305. <property name="visible">True</property>
  306. <property name="can_focus">False</property>
  307. <property name="hexpand">True</property>
  308. <property name="top_padding">6</property>
  309. <property name="left_padding">12</property>
  310. <child>
  311. <object class="GtkEntry" id="macronameedit">
  312. <property name="visible">True</property>
  313. <property name="can_focus">True</property>
  314. <property name="hexpand">True</property>
  315. <property name="activates_default">True</property>
  316. <property name="truncate-multiline">True</property>
  317. <child internal-child="accessible">
  318. <object class="AtkObject" id="macronameedit-atkobject">
  319. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|macronameedit">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</property>
  320. </object>
  321. </child>
  322. </object>
  323. </child>
  324. </object>
  325. </child>
  326. <child type="label">
  327. <object class="GtkLabel" id="libraryft1">
  328. <property name="visible">True</property>
  329. <property name="can_focus">False</property>
  330. <property name="label" translatable="yes" context="basicmacrodialog|libraryft1">Macro Name</property>
  331. <attributes>
  332. <attribute name="weight" value="bold"/>
  333. </attributes>
  334. </object>
  335. </child>
  336. </object>
  337. <packing>
  338. <property name="left_attach">0</property>
  339. <property name="top_attach">0</property>
  340. </packing>
  341. </child>
  342. <child>
  343. <object class="GtkButtonBox" id="buttonbox1">
  344. <property name="visible">True</property>
  345. <property name="can_focus">False</property>
  346. <property name="resize_mode">immediate</property>
  347. <property name="orientation">vertical</property>
  348. <property name="spacing">5</property>
  349. <property name="homogeneous">True</property>
  350. <property name="layout_style">start</property>
  351. <child>
  352. <object class="GtkButton" id="assign">
  353. <property name="label" translatable="yes" context="basicmacrodialog|assign">Assign...</property>
  354. <property name="visible">True</property>
  355. <property name="can_focus">True</property>
  356. <property name="receives_default">True</property>
  357. <property name="use_underline">True</property>
  358. <child internal-child="accessible">
  359. <object class="AtkObject" id="assign-atkobject">
  360. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|assign">Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.</property>
  361. </object>
  362. </child>
  363. </object>
  364. <packing>
  365. <property name="expand">False</property>
  366. <property name="fill">True</property>
  367. <property name="position">0</property>
  368. </packing>
  369. </child>
  370. <child>
  371. <object class="GtkButton" id="edit">
  372. <property name="label" translatable="yes" context="basicmacrodialog|edit">Edit</property>
  373. <property name="visible">True</property>
  374. <property name="can_focus">True</property>
  375. <property name="receives_default">True</property>
  376. <property name="use_underline">True</property>
  377. <child internal-child="accessible">
  378. <object class="AtkObject" id="edit-atkobject">
  379. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|edit">Starts the %PRODUCTNAME Basic editor and opens the selected macro or dialog for editing.</property>
  380. </object>
  381. </child>
  382. </object>
  383. <packing>
  384. <property name="expand">False</property>
  385. <property name="fill">True</property>
  386. <property name="position">1</property>
  387. </packing>
  388. </child>
  389. <child>
  390. <object class="GtkButton" id="delete">
  391. <property name="label" translatable="yes" context="basicmacrodialog|delete">_Delete</property>
  392. <property name="visible">True</property>
  393. <property name="can_focus">True</property>
  394. <property name="receives_default">True</property>
  395. <property name="use_underline">True</property>
  396. <child internal-child="accessible">
  397. <object class="AtkObject" id="delete-atkobject">
  398. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|delete">Creates a new macro, creates a new module or deletes the selected macro or selected module.</property>
  399. </object>
  400. </child>
  401. </object>
  402. <packing>
  403. <property name="expand">False</property>
  404. <property name="fill">True</property>
  405. <property name="position">2</property>
  406. </packing>
  407. </child>
  408. <child>
  409. <object class="GtkButton" id="new">
  410. <property name="label" translatable="yes" context="basicmacrodialog|new">_New</property>
  411. <property name="can_focus">True</property>
  412. <property name="receives_default">True</property>
  413. <property name="no_show_all">True</property>
  414. <property name="use_underline">True</property>
  415. <child internal-child="accessible">
  416. <object class="AtkObject" id="new-atkobject">
  417. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|new">Creates a new library.</property>
  418. </object>
  419. </child>
  420. </object>
  421. <packing>
  422. <property name="expand">False</property>
  423. <property name="fill">True</property>
  424. <property name="position">3</property>
  425. </packing>
  426. </child>
  427. <child>
  428. <object class="GtkButton" id="organize">
  429. <property name="label" translatable="yes" context="basicmacrodialog|organize">Organizer...</property>
  430. <property name="visible">True</property>
  431. <property name="can_focus">True</property>
  432. <property name="receives_default">True</property>
  433. <property name="use_underline">True</property>
  434. <child internal-child="accessible">
  435. <object class="AtkObject" id="organize-atkobject">
  436. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|organize">Opens the Macro Organizer dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</property>
  437. </object>
  438. </child>
  439. </object>
  440. <packing>
  441. <property name="expand">False</property>
  442. <property name="fill">True</property>
  443. <property name="position">4</property>
  444. </packing>
  445. </child>
  446. <child>
  447. <object class="GtkButton" id="newlibrary">
  448. <property name="label" translatable="yes" context="basicmacrodialog|newlibrary">New Library</property>
  449. <property name="can_focus">True</property>
  450. <property name="receives_default">True</property>
  451. <property name="no_show_all">True</property>
  452. <property name="use_underline">True</property>
  453. <child internal-child="accessible">
  454. <object class="AtkObject" id="newlibrary-atkobject">
  455. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|newlibrary">Saves the recorded macro in a new library.</property>
  456. </object>
  457. </child>
  458. </object>
  459. <packing>
  460. <property name="expand">False</property>
  461. <property name="fill">True</property>
  462. <property name="position">5</property>
  463. </packing>
  464. </child>
  465. <child>
  466. <object class="GtkButton" id="newmodule">
  467. <property name="label" translatable="yes" context="basicmacrodialog|newmodule">New Module</property>
  468. <property name="can_focus">True</property>
  469. <property name="receives_default">True</property>
  470. <property name="no_show_all">True</property>
  471. <property name="use_underline">True</property>
  472. <child internal-child="accessible">
  473. <object class="AtkObject" id="newmodule-atkobject">
  474. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|newmodule">Saves the recorded macro in a new module.</property>
  475. </object>
  476. </child>
  477. </object>
  478. <packing>
  479. <property name="expand">False</property>
  480. <property name="fill">True</property>
  481. <property name="position">6</property>
  482. </packing>
  483. </child>
  484. </object>
  485. <packing>
  486. <property name="left_attach">2</property>
  487. <property name="top_attach">1</property>
  488. </packing>
  489. </child>
  490. <child>
  491. <placeholder/>
  492. </child>
  493. <child>
  494. <placeholder/>
  495. </child>
  496. </object>
  497. <packing>
  498. <property name="expand">False</property>
  499. <property name="fill">True</property>
  500. <property name="position">0</property>
  501. </packing>
  502. </child>
  503. </object>
  504. <packing>
  505. <property name="expand">True</property>
  506. <property name="fill">True</property>
  507. <property name="position">1</property>
  508. </packing>
  509. </child>
  510. </object>
  511. </child>
  512. <action-widgets>
  513. <action-widget response="-5">ok</action-widget>
  514. <action-widget response="-7">close</action-widget>
  515. <action-widget response="-11">help</action-widget>
  516. </action-widgets>
  517. <child type="titlebar">
  518. <placeholder/>
  519. </child>
  520. <child internal-child="accessible">
  521. <object class="AtkObject" id="BasicMacroDialog-atkobject">
  522. <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|BasicMacroDialog">Opens a dialog to organize macros.</property>
  523. </object>
  524. </child>
  525. </object>
  526. </interface>