mmlayoutpage.ui 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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="GtkAdjustment" id="adjustment1">
  6. <property name="upper">999.99</property>
  7. <property name="value">2</property>
  8. <property name="step_increment">1</property>
  9. <property name="page_increment">10</property>
  10. </object>
  11. <object class="GtkAdjustment" id="adjustment2">
  12. <property name="upper">999.99</property>
  13. <property name="step_increment">1</property>
  14. <property name="page_increment">10</property>
  15. </object>
  16. <object class="GtkBox" id="MMLayoutPage">
  17. <property name="visible">True</property>
  18. <property name="can_focus">False</property>
  19. <property name="hexpand">True</property>
  20. <property name="vexpand">True</property>
  21. <property name="border_width">6</property>
  22. <property name="orientation">vertical</property>
  23. <property name="spacing">12</property>
  24. <child>
  25. <object class="GtkFrame" id="frame1">
  26. <property name="visible">True</property>
  27. <property name="can_focus">False</property>
  28. <property name="hexpand">True</property>
  29. <property name="vexpand">True</property>
  30. <property name="label_xalign">0</property>
  31. <property name="shadow_type">none</property>
  32. <child>
  33. <object class="GtkAlignment" id="alignment1">
  34. <property name="visible">True</property>
  35. <property name="can_focus">False</property>
  36. <property name="hexpand">True</property>
  37. <property name="vexpand">True</property>
  38. <property name="top_padding">6</property>
  39. <property name="left_padding">12</property>
  40. <child>
  41. <!-- n-columns=1 n-rows=1 -->
  42. <object class="GtkGrid" id="grid1">
  43. <property name="visible">True</property>
  44. <property name="can_focus">False</property>
  45. <property name="hexpand">True</property>
  46. <property name="vexpand">True</property>
  47. <property name="column_spacing">12</property>
  48. <child>
  49. <!-- n-columns=1 n-rows=1 -->
  50. <object class="GtkGrid" id="grid2">
  51. <property name="visible">True</property>
  52. <property name="can_focus">False</property>
  53. <property name="row_spacing">12</property>
  54. <child>
  55. <object class="GtkFrame" id="addresspos">
  56. <property name="visible">True</property>
  57. <property name="can_focus">False</property>
  58. <property name="label_xalign">0</property>
  59. <property name="shadow_type">none</property>
  60. <child>
  61. <object class="GtkAlignment" id="alignment2">
  62. <property name="visible">True</property>
  63. <property name="can_focus">False</property>
  64. <property name="top_padding">6</property>
  65. <property name="left_padding">12</property>
  66. <child>
  67. <!-- n-columns=1 n-rows=1 -->
  68. <object class="GtkGrid" id="grid4">
  69. <property name="visible">True</property>
  70. <property name="can_focus">False</property>
  71. <property name="row_spacing">6</property>
  72. <child>
  73. <!-- n-columns=1 n-rows=1 -->
  74. <object class="GtkGrid" id="grid8">
  75. <property name="visible">True</property>
  76. <property name="can_focus">False</property>
  77. <property name="column_spacing">12</property>
  78. <child>
  79. <object class="GtkLabel" id="label6">
  80. <property name="visible">True</property>
  81. <property name="can_focus">False</property>
  82. <property name="label" translatable="yes" context="mmlayoutpage|label6">_From top</property>
  83. <property name="use_underline">True</property>
  84. <property name="mnemonic_widget">top</property>
  85. <property name="xalign">0</property>
  86. </object>
  87. <packing>
  88. <property name="left_attach">0</property>
  89. <property name="top_attach">0</property>
  90. </packing>
  91. </child>
  92. <child>
  93. <object class="GtkSpinButton" id="top">
  94. <property name="visible">True</property>
  95. <property name="can_focus">True</property>
  96. <property name="activates_default">True</property>
  97. <property name="text" translatable="yes" context="mmlayoutpage|top">2.00</property>
  98. <property name="adjustment">adjustment1</property>
  99. <property name="digits">2</property>
  100. <property name="value">2</property>
  101. <property name="truncate-multiline">True</property>
  102. <child internal-child="accessible">
  103. <object class="AtkObject" id="top-atkobject">
  104. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|top">Enter the amount of space to leave between the top edge of the page and the top edge of the address block.</property>
  105. </object>
  106. </child>
  107. </object>
  108. <packing>
  109. <property name="left_attach">1</property>
  110. <property name="top_attach">0</property>
  111. </packing>
  112. </child>
  113. </object>
  114. <packing>
  115. <property name="left_attach">0</property>
  116. <property name="top_attach">0</property>
  117. </packing>
  118. </child>
  119. <child>
  120. <!-- n-columns=1 n-rows=1 -->
  121. <object class="GtkGrid" id="grid9">
  122. <property name="visible">True</property>
  123. <property name="can_focus">False</property>
  124. <property name="row_spacing">6</property>
  125. <child>
  126. <object class="GtkCheckButton" id="align">
  127. <property name="label" translatable="yes" context="mmlayoutpage|align">Align to text body</property>
  128. <property name="visible">True</property>
  129. <property name="can_focus">True</property>
  130. <property name="receives_default">False</property>
  131. <property name="use_underline">True</property>
  132. <property name="xalign">0</property>
  133. <property name="draw_indicator">True</property>
  134. <child internal-child="accessible">
  135. <object class="AtkObject" id="align-atkobject">
  136. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|align">Aligns the frame that contains the address block to the left page margin.</property>
  137. </object>
  138. </child>
  139. </object>
  140. <packing>
  141. <property name="left_attach">0</property>
  142. <property name="top_attach">0</property>
  143. </packing>
  144. </child>
  145. <child>
  146. <!-- n-columns=1 n-rows=1 -->
  147. <object class="GtkGrid" id="grid10">
  148. <property name="visible">True</property>
  149. <property name="can_focus">False</property>
  150. <property name="column_spacing">12</property>
  151. <child>
  152. <object class="GtkSpinButton" id="left">
  153. <property name="visible">True</property>
  154. <property name="can_focus">True</property>
  155. <property name="activates_default">True</property>
  156. <property name="text">2.00</property>
  157. <property name="adjustment">adjustment2</property>
  158. <property name="digits">2</property>
  159. <property name="value">2</property>
  160. <property name="truncate-multiline">True</property>
  161. <child internal-child="accessible">
  162. <object class="AtkObject" id="left-atkobject">
  163. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|left">Enter the amount of space to leave between the left edge of the page and the left edge of the address block.</property>
  164. </object>
  165. </child>
  166. </object>
  167. <packing>
  168. <property name="left_attach">1</property>
  169. <property name="top_attach">0</property>
  170. </packing>
  171. </child>
  172. <child>
  173. <object class="GtkBox" id="box1">
  174. <property name="visible">True</property>
  175. <property name="can_focus">False</property>
  176. <property name="orientation">vertical</property>
  177. <child>
  178. <object class="GtkLabel" id="leftft">
  179. <property name="visible">True</property>
  180. <property name="can_focus">False</property>
  181. <property name="margin_left">12</property>
  182. <property name="label" translatable="yes" context="mmlayoutpage|leftft">From _left</property>
  183. <property name="use_underline">True</property>
  184. <property name="mnemonic_widget">left</property>
  185. <property name="xalign">0</property>
  186. </object>
  187. <packing>
  188. <property name="expand">True</property>
  189. <property name="fill">True</property>
  190. <property name="position">0</property>
  191. </packing>
  192. </child>
  193. </object>
  194. <packing>
  195. <property name="left_attach">0</property>
  196. <property name="top_attach">0</property>
  197. </packing>
  198. </child>
  199. </object>
  200. <packing>
  201. <property name="left_attach">0</property>
  202. <property name="top_attach">1</property>
  203. </packing>
  204. </child>
  205. </object>
  206. <packing>
  207. <property name="left_attach">0</property>
  208. <property name="top_attach">1</property>
  209. </packing>
  210. </child>
  211. </object>
  212. </child>
  213. </object>
  214. </child>
  215. <child type="label">
  216. <object class="GtkLabel" id="label2">
  217. <property name="visible">True</property>
  218. <property name="can_focus">False</property>
  219. <property name="label" translatable="yes" context="mmlayoutpage|label2">Address Block Position</property>
  220. <attributes>
  221. <attribute name="weight" value="bold"/>
  222. </attributes>
  223. </object>
  224. </child>
  225. </object>
  226. <packing>
  227. <property name="left_attach">0</property>
  228. <property name="top_attach">0</property>
  229. </packing>
  230. </child>
  231. <child>
  232. <object class="GtkFrame" id="greetingspos">
  233. <property name="visible">True</property>
  234. <property name="can_focus">False</property>
  235. <property name="label_xalign">0</property>
  236. <property name="shadow_type">none</property>
  237. <child>
  238. <object class="GtkAlignment" id="alignment3">
  239. <property name="visible">True</property>
  240. <property name="can_focus">False</property>
  241. <property name="top_padding">6</property>
  242. <property name="left_padding">12</property>
  243. <child>
  244. <!-- n-columns=1 n-rows=1 -->
  245. <object class="GtkGrid" id="grid3">
  246. <property name="visible">True</property>
  247. <property name="can_focus">False</property>
  248. <property name="row_spacing">6</property>
  249. <property name="column_spacing">12</property>
  250. <child>
  251. <object class="GtkLabel" id="label4">
  252. <property name="visible">True</property>
  253. <property name="can_focus">False</property>
  254. <property name="label" translatable="yes" context="mmlayoutpage|label4">Move</property>
  255. <property name="use_underline">True</property>
  256. <property name="mnemonic_widget">up</property>
  257. <property name="xalign">0</property>
  258. </object>
  259. <packing>
  260. <property name="left_attach">0</property>
  261. <property name="top_attach">0</property>
  262. </packing>
  263. </child>
  264. <child>
  265. <object class="GtkLabel" id="label5">
  266. <property name="visible">True</property>
  267. <property name="can_focus">False</property>
  268. <property name="label" translatable="yes" context="mmlayoutpage|label5">Move</property>
  269. <property name="use_underline">True</property>
  270. <property name="mnemonic_widget">down</property>
  271. <property name="xalign">0</property>
  272. </object>
  273. <packing>
  274. <property name="left_attach">0</property>
  275. <property name="top_attach">1</property>
  276. </packing>
  277. </child>
  278. <child>
  279. <object class="GtkButton" id="up">
  280. <property name="label" translatable="yes" context="mmlayoutpage|up">_Up</property>
  281. <property name="visible">True</property>
  282. <property name="can_focus">True</property>
  283. <property name="receives_default">True</property>
  284. <property name="use_underline">True</property>
  285. <child internal-child="accessible">
  286. <object class="AtkObject" id="up-atkobject">
  287. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|up">Moves the salutation up.</property>
  288. </object>
  289. </child>
  290. </object>
  291. <packing>
  292. <property name="left_attach">1</property>
  293. <property name="top_attach">0</property>
  294. </packing>
  295. </child>
  296. <child>
  297. <object class="GtkButton" id="down">
  298. <property name="label" translatable="yes" context="mmlayoutpage|down">_Down</property>
  299. <property name="visible">True</property>
  300. <property name="can_focus">True</property>
  301. <property name="receives_default">True</property>
  302. <property name="use_underline">True</property>
  303. <child internal-child="accessible">
  304. <object class="AtkObject" id="down-atkobject">
  305. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|down">Moves the salutation down.</property>
  306. </object>
  307. </child>
  308. </object>
  309. <packing>
  310. <property name="left_attach">1</property>
  311. <property name="top_attach">1</property>
  312. </packing>
  313. </child>
  314. </object>
  315. </child>
  316. </object>
  317. </child>
  318. <child type="label">
  319. <object class="GtkLabel" id="label3">
  320. <property name="visible">True</property>
  321. <property name="can_focus">False</property>
  322. <property name="label" translatable="yes" context="mmlayoutpage|label3">Salutation Position</property>
  323. <attributes>
  324. <attribute name="weight" value="bold"/>
  325. </attributes>
  326. </object>
  327. </child>
  328. </object>
  329. <packing>
  330. <property name="left_attach">0</property>
  331. <property name="top_attach">1</property>
  332. </packing>
  333. </child>
  334. </object>
  335. <packing>
  336. <property name="left_attach">0</property>
  337. <property name="top_attach">0</property>
  338. </packing>
  339. </child>
  340. <child>
  341. <!-- n-columns=1 n-rows=1 -->
  342. <object class="GtkGrid" id="grid5">
  343. <property name="visible">True</property>
  344. <property name="can_focus">False</property>
  345. <property name="hexpand">True</property>
  346. <property name="vexpand">True</property>
  347. <property name="row_spacing">6</property>
  348. <child>
  349. <!-- n-columns=1 n-rows=1 -->
  350. <object class="GtkGrid" id="grid6">
  351. <property name="visible">True</property>
  352. <property name="can_focus">False</property>
  353. <property name="halign">center</property>
  354. <property name="column_spacing">12</property>
  355. <child>
  356. <object class="GtkLabel" id="label7">
  357. <property name="visible">True</property>
  358. <property name="can_focus">False</property>
  359. <property name="label" translatable="yes" context="mmlayoutpage|label7">_Zoom</property>
  360. <property name="use_underline">True</property>
  361. <property name="mnemonic_widget">zoom</property>
  362. <property name="xalign">0</property>
  363. </object>
  364. <packing>
  365. <property name="left_attach">0</property>
  366. <property name="top_attach">0</property>
  367. </packing>
  368. </child>
  369. <child>
  370. <object class="GtkComboBoxText" id="zoom">
  371. <property name="visible">True</property>
  372. <property name="can_focus">False</property>
  373. <items>
  374. <item translatable="yes" context="mmlayoutpage|zoom">Entire page</item>
  375. </items>
  376. <child internal-child="accessible">
  377. <object class="AtkObject" id="zoom-atkobject">
  378. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|zoom">Select a magnification for the print preview.</property>
  379. </object>
  380. </child>
  381. </object>
  382. <packing>
  383. <property name="left_attach">1</property>
  384. <property name="top_attach">0</property>
  385. </packing>
  386. </child>
  387. </object>
  388. <packing>
  389. <property name="left_attach">0</property>
  390. <property name="top_attach">1</property>
  391. </packing>
  392. </child>
  393. <child>
  394. <object class="GtkScrolledWindow">
  395. <property name="visible">True</property>
  396. <property name="can_focus">True</property>
  397. <property name="hexpand">True</property>
  398. <property name="vexpand">True</property>
  399. <property name="hscrollbar_policy">never</property>
  400. <property name="vscrollbar_policy">never</property>
  401. <property name="shadow_type">in</property>
  402. <child>
  403. <object class="GtkViewport">
  404. <property name="visible">True</property>
  405. <property name="can_focus">False</property>
  406. <child>
  407. <object class="GtkDrawingArea" id="example">
  408. <property name="visible">True</property>
  409. <property name="can_focus">False</property>
  410. <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
  411. <property name="no_show_all">True</property>
  412. <property name="hexpand">True</property>
  413. <property name="vexpand">True</property>
  414. <child internal-child="accessible">
  415. <object class="AtkObject" id="example-atkobject">
  416. <property name="AtkObject::accessible-name" translatable="yes" context="mmlayoutpage|example-atkobject">Preview</property>
  417. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|example">Provides a preview of the salutation positioning on the page.</property>
  418. </object>
  419. </child>
  420. </object>
  421. </child>
  422. </object>
  423. </child>
  424. </object>
  425. <packing>
  426. <property name="left_attach">0</property>
  427. <property name="top_attach">0</property>
  428. </packing>
  429. </child>
  430. </object>
  431. <packing>
  432. <property name="left_attach">1</property>
  433. <property name="top_attach">0</property>
  434. </packing>
  435. </child>
  436. </object>
  437. </child>
  438. </object>
  439. </child>
  440. <child type="label">
  441. <object class="GtkLabel" id="label1">
  442. <property name="visible">True</property>
  443. <property name="can_focus">False</property>
  444. <property name="label" translatable="yes" context="mmlayoutpage|label1">Adjust Layout of Address Block and Salutation</property>
  445. <attributes>
  446. <attribute name="weight" value="bold"/>
  447. </attributes>
  448. </object>
  449. </child>
  450. </object>
  451. <packing>
  452. <property name="expand">False</property>
  453. <property name="fill">True</property>
  454. <property name="position">0</property>
  455. </packing>
  456. </child>
  457. <child internal-child="accessible">
  458. <object class="AtkObject" id="MMLayoutPage-atkobject">
  459. <property name="AtkObject::accessible-description" translatable="yes" context="mmlayoutpage|extended_tip|MMLayoutPage">Specify the position of the address blocks and salutations on the documents.</property>
  460. </object>
  461. </child>
  462. </object>
  463. <object class="GtkSizeGroup" id="sizegroup1">
  464. <widgets>
  465. <widget name="label6"/>
  466. <widget name="box1"/>
  467. <widget name="label4"/>
  468. <widget name="label5"/>
  469. </widgets>
  470. </object>
  471. </interface>