addressblockdialog.ui 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="sw">
  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="stock">gtk-go-forward</property>
  9. </object>
  10. <object class="GtkImage" id="image2">
  11. <property name="visible">True</property>
  12. <property name="can_focus">False</property>
  13. <property name="stock">gtk-go-back</property>
  14. </object>
  15. <object class="GtkImage" id="image3">
  16. <property name="visible">True</property>
  17. <property name="can_focus">False</property>
  18. <property name="stock">gtk-go-up</property>
  19. </object>
  20. <object class="GtkImage" id="image4">
  21. <property name="visible">True</property>
  22. <property name="can_focus">False</property>
  23. <property name="stock">gtk-go-down</property>
  24. </object>
  25. <object class="GtkImage" id="image5">
  26. <property name="visible">True</property>
  27. <property name="can_focus">False</property>
  28. <property name="tooltip_text" translatable="yes" context="addressblockdialog|image5|tooltip_text">Add to address</property>
  29. <property name="stock">gtk-go-forward</property>
  30. </object>
  31. <object class="GtkImage" id="image6">
  32. <property name="visible">True</property>
  33. <property name="can_focus">False</property>
  34. <property name="stock">gtk-go-back</property>
  35. </object>
  36. <object class="GtkTreeStore" id="liststore1">
  37. <columns>
  38. <!-- column-name text -->
  39. <column type="gchararray"/>
  40. <!-- column-name id -->
  41. <column type="gchararray"/>
  42. </columns>
  43. </object>
  44. <object class="GtkDialog" id="AddressBlockDialog">
  45. <property name="can_focus">False</property>
  46. <property name="border_width">6</property>
  47. <property name="title" translatable="yes" context="addressblockdialog|AddressBlockDialog">New Address Block</property>
  48. <property name="modal">True</property>
  49. <property name="default_width">0</property>
  50. <property name="default_height">0</property>
  51. <property name="type_hint">dialog</property>
  52. <child internal-child="vbox">
  53. <object class="GtkBox" id="dialog-vbox1">
  54. <property name="can_focus">False</property>
  55. <property name="orientation">vertical</property>
  56. <property name="spacing">12</property>
  57. <child internal-child="action_area">
  58. <object class="GtkButtonBox" id="dialog-action_area1">
  59. <property name="can_focus">False</property>
  60. <property name="layout_style">end</property>
  61. <child>
  62. <object class="GtkButton" id="ok">
  63. <property name="label">gtk-ok</property>
  64. <property name="visible">True</property>
  65. <property name="can_focus">True</property>
  66. <property name="can_default">True</property>
  67. <property name="has_default">True</property>
  68. <property name="receives_default">True</property>
  69. <property name="use_stock">True</property>
  70. </object>
  71. <packing>
  72. <property name="expand">False</property>
  73. <property name="fill">True</property>
  74. <property name="position">0</property>
  75. </packing>
  76. </child>
  77. <child>
  78. <object class="GtkButton" id="cancel">
  79. <property name="label">gtk-cancel</property>
  80. <property name="visible">True</property>
  81. <property name="can_focus">True</property>
  82. <property name="can_default">True</property>
  83. <property name="receives_default">True</property>
  84. <property name="use_stock">True</property>
  85. </object>
  86. <packing>
  87. <property name="expand">False</property>
  88. <property name="fill">True</property>
  89. <property name="position">1</property>
  90. </packing>
  91. </child>
  92. <child>
  93. <object class="GtkButton" id="help">
  94. <property name="label">gtk-help</property>
  95. <property name="visible">True</property>
  96. <property name="can_focus">True</property>
  97. <property name="receives_default">True</property>
  98. <property name="use_stock">True</property>
  99. </object>
  100. <packing>
  101. <property name="expand">False</property>
  102. <property name="fill">True</property>
  103. <property name="position">2</property>
  104. <property name="secondary">True</property>
  105. </packing>
  106. </child>
  107. </object>
  108. <packing>
  109. <property name="expand">False</property>
  110. <property name="fill">True</property>
  111. <property name="pack_type">end</property>
  112. <property name="position">0</property>
  113. </packing>
  114. </child>
  115. <child>
  116. <!-- n-columns=1 n-rows=1 -->
  117. <object class="GtkGrid" id="grid1">
  118. <property name="visible">True</property>
  119. <property name="can_focus">False</property>
  120. <property name="hexpand">True</property>
  121. <property name="vexpand">True</property>
  122. <property name="row_spacing">6</property>
  123. <property name="column_spacing">12</property>
  124. <child>
  125. <object class="GtkLabel" id="addressesft">
  126. <property name="visible">True</property>
  127. <property name="can_focus">False</property>
  128. <property name="label" translatable="yes" context="addressblockdialog|addressesft">Address _elements</property>
  129. <property name="use_underline">True</property>
  130. <property name="mnemonic_widget">addresses</property>
  131. <property name="xalign">0</property>
  132. </object>
  133. <packing>
  134. <property name="left_attach">0</property>
  135. <property name="top_attach">0</property>
  136. </packing>
  137. </child>
  138. <child>
  139. <object class="GtkScrolledWindow">
  140. <property name="visible">True</property>
  141. <property name="can_focus">True</property>
  142. <property name="hexpand">True</property>
  143. <property name="vexpand">True</property>
  144. <property name="shadow_type">in</property>
  145. <child>
  146. <object class="GtkTreeView" id="addresses">
  147. <property name="visible">True</property>
  148. <property name="can_focus">True</property>
  149. <property name="receives_default">True</property>
  150. <property name="hexpand">True</property>
  151. <property name="vexpand">True</property>
  152. <property name="model">liststore1</property>
  153. <property name="headers_visible">False</property>
  154. <property name="reorderable">True</property>
  155. <property name="search_column">0</property>
  156. <property name="show_expanders">False</property>
  157. <child internal-child="selection">
  158. <object class="GtkTreeSelection" id="Macro Library List-selection2"/>
  159. </child>
  160. <child>
  161. <object class="GtkTreeViewColumn" id="treeviewcolumn3">
  162. <property name="spacing">6</property>
  163. <child>
  164. <object class="GtkCellRendererText" id="cellrenderer4"/>
  165. <attributes>
  166. <attribute name="text">0</attribute>
  167. </attributes>
  168. </child>
  169. </object>
  170. </child>
  171. <child internal-child="accessible">
  172. <object class="AtkObject" id="addresses-atkobject">
  173. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|addresses">Select a field and drag the field to the other list.</property>
  174. </object>
  175. </child>
  176. </object>
  177. </child>
  178. </object>
  179. <packing>
  180. <property name="left_attach">0</property>
  181. <property name="top_attach">1</property>
  182. <property name="height">5</property>
  183. </packing>
  184. </child>
  185. <child>
  186. <object class="GtkLabel" id="addressdestft">
  187. <property name="visible">True</property>
  188. <property name="can_focus">False</property>
  189. <property name="label" translatable="yes" context="addressblockdialog|addressdestft">1. Drag address elements here</property>
  190. <property name="use_underline">True</property>
  191. <property name="mnemonic_widget">addressdest</property>
  192. <property name="xalign">0</property>
  193. </object>
  194. <packing>
  195. <property name="left_attach">2</property>
  196. <property name="top_attach">0</property>
  197. </packing>
  198. </child>
  199. <child>
  200. <!-- n-columns=1 n-rows=1 -->
  201. <object class="GtkGrid" id="grid3">
  202. <property name="visible">True</property>
  203. <property name="can_focus">False</property>
  204. <property name="halign">center</property>
  205. <property name="valign">center</property>
  206. <property name="row_homogeneous">True</property>
  207. <property name="column_homogeneous">True</property>
  208. <child>
  209. <object class="GtkButton" id="up">
  210. <property name="visible">True</property>
  211. <property name="can_focus">True</property>
  212. <property name="receives_default">True</property>
  213. <property name="tooltip_text" translatable="yes" context="addressblockdialog|up|tooltip_text">Move up</property>
  214. <property name="image">image3</property>
  215. <child internal-child="accessible">
  216. <object class="AtkObject" id="up-atkobject">
  217. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|up">Select an item in the list and click an arrow button to move the item.</property>
  218. </object>
  219. </child>
  220. </object>
  221. <packing>
  222. <property name="left_attach">1</property>
  223. <property name="top_attach">0</property>
  224. </packing>
  225. </child>
  226. <child>
  227. <object class="GtkButton" id="left">
  228. <property name="visible">True</property>
  229. <property name="can_focus">True</property>
  230. <property name="receives_default">True</property>
  231. <property name="tooltip_text" translatable="yes" context="addressblockdialog|left|tooltip_text">Move left</property>
  232. <property name="image">image2</property>
  233. <child internal-child="accessible">
  234. <object class="AtkObject" id="left-atkobject">
  235. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|left">Select an item in the list and click an arrow button to move the item.</property>
  236. </object>
  237. </child>
  238. </object>
  239. <packing>
  240. <property name="left_attach">0</property>
  241. <property name="top_attach">1</property>
  242. </packing>
  243. </child>
  244. <child>
  245. <object class="GtkButton" id="right">
  246. <property name="visible">True</property>
  247. <property name="can_focus">True</property>
  248. <property name="receives_default">True</property>
  249. <property name="tooltip_text" translatable="yes" context="addressblockdialog|right|tooltip_text">Move right</property>
  250. <property name="image">image1</property>
  251. <child internal-child="accessible">
  252. <object class="AtkObject" id="right-atkobject">
  253. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|right">Select an item in the list and click an arrow button to move the item.</property>
  254. </object>
  255. </child>
  256. </object>
  257. <packing>
  258. <property name="left_attach">2</property>
  259. <property name="top_attach">1</property>
  260. </packing>
  261. </child>
  262. <child>
  263. <object class="GtkButton" id="down">
  264. <property name="visible">True</property>
  265. <property name="can_focus">True</property>
  266. <property name="receives_default">True</property>
  267. <property name="tooltip_text" translatable="yes" context="addressblockdialog|down|tooltip_text">Move down</property>
  268. <property name="image">image4</property>
  269. <child internal-child="accessible">
  270. <object class="AtkObject" id="down-atkobject">
  271. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|down">Select an item in the list and click an arrow button to move the item.</property>
  272. </object>
  273. </child>
  274. </object>
  275. <packing>
  276. <property name="left_attach">1</property>
  277. <property name="top_attach">2</property>
  278. </packing>
  279. </child>
  280. <child>
  281. <placeholder/>
  282. </child>
  283. <child>
  284. <placeholder/>
  285. </child>
  286. <child>
  287. <placeholder/>
  288. </child>
  289. <child>
  290. <placeholder/>
  291. </child>
  292. <child>
  293. <placeholder/>
  294. </child>
  295. </object>
  296. <packing>
  297. <property name="left_attach">3</property>
  298. <property name="top_attach">1</property>
  299. </packing>
  300. </child>
  301. <child>
  302. <object class="GtkLabel" id="label3">
  303. <property name="visible">True</property>
  304. <property name="can_focus">False</property>
  305. <property name="label" translatable="yes" context="addressblockdialog|label3">Preview</property>
  306. <property name="use_underline">True</property>
  307. <property name="mnemonic_widget">addrpreview</property>
  308. <property name="xalign">0</property>
  309. </object>
  310. <packing>
  311. <property name="left_attach">2</property>
  312. <property name="top_attach">4</property>
  313. </packing>
  314. </child>
  315. <child>
  316. <object class="GtkLabel" id="customft">
  317. <property name="can_focus">False</property>
  318. <property name="no_show_all">True</property>
  319. <property name="label" translatable="yes" context="addressblockdialog|customft">2. Customi_ze salutation</property>
  320. <property name="use_underline">True</property>
  321. <property name="mnemonic_widget">custom</property>
  322. <property name="xalign">0</property>
  323. </object>
  324. <packing>
  325. <property name="left_attach">2</property>
  326. <property name="top_attach">2</property>
  327. </packing>
  328. </child>
  329. <child>
  330. <object class="GtkComboBoxText" id="custom">
  331. <property name="can_focus">False</property>
  332. <property name="no_show_all">True</property>
  333. <property name="has_entry">True</property>
  334. <child internal-child="entry">
  335. <object class="GtkEntry" id="comboboxtext-entry">
  336. <property name="can_focus">True</property>
  337. <property name="truncate-multiline">True</property>
  338. <property name="activates_default">True</property>
  339. </object>
  340. </child>
  341. <child internal-child="accessible">
  342. <object class="AtkObject" id="custom-atkobject">
  343. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|custom">Select a value from the list for the salutation and the punctuation mark fields.</property>
  344. </object>
  345. </child>
  346. </object>
  347. <packing>
  348. <property name="left_attach">2</property>
  349. <property name="top_attach">3</property>
  350. </packing>
  351. </child>
  352. <child>
  353. <object class="GtkScrolledWindow" id="scrolledwindow1">
  354. <property name="visible">True</property>
  355. <property name="can_focus">True</property>
  356. <property name="hexpand">True</property>
  357. <property name="vexpand">True</property>
  358. <property name="border_width">0</property>
  359. <property name="hscrollbar_policy">never</property>
  360. <property name="shadow_type">in</property>
  361. <child>
  362. <object class="GtkViewport">
  363. <property name="visible">True</property>
  364. <property name="can_focus">False</property>
  365. <child>
  366. <object class="GtkDrawingArea" id="addressdest">
  367. <property name="visible">True</property>
  368. <property name="can_focus">True</property>
  369. <property name="events">GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property>
  370. <property name="hexpand">True</property>
  371. <property name="vexpand">True</property>
  372. <child internal-child="accessible">
  373. <object class="AtkObject" id="addressdest-atkobject">
  374. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|addressdest">Arrange the fields by drag-and-drop or use the arrow buttons.</property>
  375. </object>
  376. </child>
  377. </object>
  378. </child>
  379. </object>
  380. </child>
  381. </object>
  382. <packing>
  383. <property name="left_attach">2</property>
  384. <property name="top_attach">1</property>
  385. </packing>
  386. </child>
  387. <child>
  388. <object class="GtkScrolledWindow" id="previewwin">
  389. <property name="visible">True</property>
  390. <property name="can_focus">False</property>
  391. <property name="hexpand">True</property>
  392. <property name="vexpand">True</property>
  393. <property name="hscrollbar_policy">never</property>
  394. <property name="shadow_type">in</property>
  395. <child>
  396. <object class="GtkViewport">
  397. <property name="visible">True</property>
  398. <property name="can_focus">False</property>
  399. <child>
  400. <object class="GtkDrawingArea" id="addrpreview">
  401. <property name="visible">True</property>
  402. <property name="can_focus">False</property>
  403. <property name="hexpand">True</property>
  404. <property name="vexpand">True</property>
  405. <child internal-child="accessible">
  406. <object class="AtkObject" id="addrpreview-atkobject">
  407. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|addrpreview">Displays a preview of the first database record with the current salutation layout.</property>
  408. </object>
  409. </child>
  410. </object>
  411. </child>
  412. </object>
  413. </child>
  414. </object>
  415. <packing>
  416. <property name="left_attach">2</property>
  417. <property name="top_attach">5</property>
  418. </packing>
  419. </child>
  420. <child>
  421. <!-- n-columns=1 n-rows=1 -->
  422. <object class="GtkGrid" id="grid2">
  423. <property name="visible">True</property>
  424. <property name="can_focus">False</property>
  425. <property name="valign">center</property>
  426. <property name="row_spacing">6</property>
  427. <child>
  428. <object class="GtkButton" id="fromaddr">
  429. <property name="visible">True</property>
  430. <property name="can_focus">True</property>
  431. <property name="receives_default">True</property>
  432. <property name="tooltip_text" translatable="yes" context="addressblockdialog|fromaddr|tooltip_text">Remove from address</property>
  433. <property name="image">image6</property>
  434. <child internal-child="accessible">
  435. <object class="AtkObject" id="fromaddr-atkobject">
  436. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|fromaddr">Removes the selected field from the other list.</property>
  437. </object>
  438. </child>
  439. </object>
  440. <packing>
  441. <property name="left_attach">0</property>
  442. <property name="top_attach">1</property>
  443. </packing>
  444. </child>
  445. <child>
  446. <object class="GtkButton" id="toaddr">
  447. <property name="visible">True</property>
  448. <property name="can_focus">True</property>
  449. <property name="receives_default">True</property>
  450. <property name="image">image5</property>
  451. <child internal-child="accessible">
  452. <object class="AtkObject" id="toaddr-atkobject">
  453. <property name="AtkObject::accessible-description" translatable="yes" context="addressblockdialog|extended_tip|toaddr">Adds the selected field from the list of salutation elements to the other list. You can add a field more than once.</property>
  454. </object>
  455. </child>
  456. </object>
  457. <packing>
  458. <property name="left_attach">0</property>
  459. <property name="top_attach">0</property>
  460. </packing>
  461. </child>
  462. </object>
  463. <packing>
  464. <property name="left_attach">1</property>
  465. <property name="top_attach">1</property>
  466. </packing>
  467. </child>
  468. <child>
  469. <placeholder/>
  470. </child>
  471. <child>
  472. <placeholder/>
  473. </child>
  474. <child>
  475. <placeholder/>
  476. </child>
  477. <child>
  478. <placeholder/>
  479. </child>
  480. <child>
  481. <placeholder/>
  482. </child>
  483. <child>
  484. <placeholder/>
  485. </child>
  486. <child>
  487. <placeholder/>
  488. </child>
  489. <child>
  490. <placeholder/>
  491. </child>
  492. <child>
  493. <placeholder/>
  494. </child>
  495. <child>
  496. <placeholder/>
  497. </child>
  498. </object>
  499. <packing>
  500. <property name="expand">False</property>
  501. <property name="fill">True</property>
  502. <property name="position">1</property>
  503. </packing>
  504. </child>
  505. </object>
  506. </child>
  507. <action-widgets>
  508. <action-widget response="-5">ok</action-widget>
  509. <action-widget response="-6">cancel</action-widget>
  510. <action-widget response="-11">help</action-widget>
  511. </action-widgets>
  512. <child type="titlebar">
  513. <placeholder/>
  514. </child>
  515. </object>
  516. <object class="GtkSizeGroup" id="sizegroup1">
  517. <property name="mode">both</property>
  518. <widgets>
  519. <widget name="addressdest"/>
  520. <widget name="addrpreview"/>
  521. </widgets>
  522. </object>
  523. </interface>