floatingcontour.ui 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="svx">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkAdjustment" id="adjustment1">
  6. <property name="upper">99</property>
  7. <property name="value">10</property>
  8. <property name="step_increment">1</property>
  9. <property name="page_increment">10</property>
  10. </object>
  11. <object class="GtkDialog" id="FloatingContour">
  12. <property name="can_focus">False</property>
  13. <property name="border_width">6</property>
  14. <property name="title" translatable="yes" context="floatingcontour|FloatingContour">Contour Editor</property>
  15. <property name="default_width">0</property>
  16. <property name="default_height">0</property>
  17. <property name="type_hint">dialog</property>
  18. <child internal-child="vbox">
  19. <object class="GtkBox">
  20. <property name="visible">True</property>
  21. <property name="can_focus">False</property>
  22. <property name="orientation">vertical</property>
  23. <property name="spacing">6</property>
  24. <child internal-child="action_area">
  25. <object class="GtkButtonBox">
  26. <property name="visible">True</property>
  27. <property name="can_focus">False</property>
  28. <property name="hexpand">True</property>
  29. <property name="layout_style">end</property>
  30. <child>
  31. <object class="GtkStatusbar" id="statusbar">
  32. <property name="visible">True</property>
  33. <property name="can_focus">False</property>
  34. <property name="valign">end</property>
  35. <property name="hexpand">True</property>
  36. <property name="spacing">12</property>
  37. <child>
  38. <object class="GtkDrawingArea" id="statuscolor">
  39. <property name="visible">True</property>
  40. <property name="can_focus">False</property>
  41. <property name="tooltip_text" translatable="yes" context="floatingcontour|statuscolor">Color</property>
  42. </object>
  43. <packing>
  44. <property name="expand">False</property>
  45. <property name="fill">False</property>
  46. <property name="pack_type">end</property>
  47. <property name="position">0</property>
  48. </packing>
  49. </child>
  50. <child>
  51. <object class="GtkSeparator" id="separator1">
  52. <property name="visible">True</property>
  53. <property name="can_focus">False</property>
  54. <property name="orientation">vertical</property>
  55. </object>
  56. <packing>
  57. <property name="expand">False</property>
  58. <property name="fill">True</property>
  59. <property name="pack_type">end</property>
  60. <property name="position">1</property>
  61. </packing>
  62. </child>
  63. <child>
  64. <object class="GtkLabel" id="statussize">
  65. <property name="visible">True</property>
  66. <property name="can_focus">False</property>
  67. <property name="label">100%</property>
  68. </object>
  69. <packing>
  70. <property name="expand">False</property>
  71. <property name="fill">False</property>
  72. <property name="pack_type">end</property>
  73. <property name="position">2</property>
  74. </packing>
  75. </child>
  76. <child>
  77. <object class="GtkSeparator" id="separator4">
  78. <property name="visible">True</property>
  79. <property name="can_focus">False</property>
  80. <property name="orientation">vertical</property>
  81. </object>
  82. <packing>
  83. <property name="expand">False</property>
  84. <property name="fill">True</property>
  85. <property name="pack_type">end</property>
  86. <property name="position">3</property>
  87. </packing>
  88. </child>
  89. <child>
  90. <object class="GtkLabel" id="statuspos">
  91. <property name="visible">True</property>
  92. <property name="can_focus">False</property>
  93. <property name="label">100%</property>
  94. </object>
  95. <packing>
  96. <property name="expand">False</property>
  97. <property name="fill">False</property>
  98. <property name="pack_type">end</property>
  99. <property name="position">4</property>
  100. </packing>
  101. </child>
  102. </object>
  103. <packing>
  104. <property name="expand">False</property>
  105. <property name="fill">True</property>
  106. <property name="position">0</property>
  107. </packing>
  108. </child>
  109. <child>
  110. <object class="GtkButton" id="cancel">
  111. <property name="label">gtk-cancel</property>
  112. <property name="can_focus">True</property>
  113. <property name="receives_default">True</property>
  114. <property name="use_stock">True</property>
  115. </object>
  116. <packing>
  117. <property name="expand">True</property>
  118. <property name="fill">True</property>
  119. <property name="position">1</property>
  120. </packing>
  121. </child>
  122. </object>
  123. <packing>
  124. <property name="expand">False</property>
  125. <property name="fill">True</property>
  126. <property name="pack_type">end</property>
  127. <property name="position">0</property>
  128. </packing>
  129. </child>
  130. <child>
  131. <object class="GtkBox" id="mainbox">
  132. <property name="visible">True</property>
  133. <property name="can_focus">False</property>
  134. <property name="hexpand">True</property>
  135. <property name="vexpand">True</property>
  136. <property name="orientation">vertical</property>
  137. <property name="spacing">6</property>
  138. <child>
  139. <!-- n-columns=1 n-rows=1 -->
  140. <object class="GtkGrid" id="grid1">
  141. <property name="visible">True</property>
  142. <property name="can_focus">False</property>
  143. <property name="halign">start</property>
  144. <property name="hexpand">True</property>
  145. <property name="column_spacing">12</property>
  146. <child>
  147. <object class="GtkToolbar" id="toolbar">
  148. <property name="visible">True</property>
  149. <property name="can_focus">False</property>
  150. <property name="hexpand">True</property>
  151. <property name="toolbar_style">icons</property>
  152. <property name="show_arrow">False</property>
  153. <property name="icon_size">2</property>
  154. <child>
  155. <object class="GtkToolButton" id="TBI_APPLY">
  156. <property name="visible">True</property>
  157. <property name="can_focus">False</property>
  158. <property name="valign">start</property>
  159. <property name="label" translatable="yes" context="floatingcontour|TBI_APPLY">Apply</property>
  160. <property name="icon_name">svx/res/cd01.png</property>
  161. <child internal-child="accessible">
  162. <object class="AtkObject" id="TBI_APPLY-atkobject">
  163. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_APPLY">Applies the contour to the selected object.</property>
  164. </object>
  165. </child>
  166. </object>
  167. <packing>
  168. <property name="expand">False</property>
  169. <property name="homogeneous">True</property>
  170. </packing>
  171. </child>
  172. <child>
  173. <object class="GtkSeparatorToolItem" id="separatortoolitem1">
  174. <property name="visible">True</property>
  175. <property name="can_focus">False</property>
  176. </object>
  177. <packing>
  178. <property name="expand">False</property>
  179. <property name="homogeneous">False</property>
  180. </packing>
  181. </child>
  182. <child>
  183. <object class="GtkToggleToolButton" id="TBI_WORKPLACE">
  184. <property name="visible">True</property>
  185. <property name="can_focus">False</property>
  186. <property name="valign">start</property>
  187. <property name="label" translatable="yes" context="floatingcontour|TBI_WORKPLACE">Workspace</property>
  188. <property name="icon_name">svx/res/cd02.png</property>
  189. <child internal-child="accessible">
  190. <object class="AtkObject" id="TBI_WORKPLACE-atkobject">
  191. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_WORKPLACE">Deletes the custom contour. Click here, and then click in the preview area.</property>
  192. </object>
  193. </child>
  194. </object>
  195. <packing>
  196. <property name="expand">False</property>
  197. <property name="homogeneous">True</property>
  198. </packing>
  199. </child>
  200. <child>
  201. <object class="GtkSeparatorToolItem" id="separatortoolitem2">
  202. <property name="visible">True</property>
  203. <property name="can_focus">False</property>
  204. </object>
  205. <packing>
  206. <property name="expand">False</property>
  207. <property name="homogeneous">False</property>
  208. </packing>
  209. </child>
  210. <child>
  211. <object class="GtkToggleToolButton" id="TBI_SELECT">
  212. <property name="visible">True</property>
  213. <property name="can_focus">False</property>
  214. <property name="valign">start</property>
  215. <property name="label" translatable="yes" context="floatingcontour|TBI_SELECT">Select</property>
  216. <property name="icon_name">svx/res/cd05.png</property>
  217. <child internal-child="accessible">
  218. <object class="AtkObject" id="TBI_SELECT-atkobject">
  219. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_SELECT">Changes to selection mode, so that you can select the contour.</property>
  220. </object>
  221. </child>
  222. </object>
  223. <packing>
  224. <property name="expand">False</property>
  225. <property name="homogeneous">True</property>
  226. </packing>
  227. </child>
  228. <child>
  229. <object class="GtkToggleToolButton" id="TBI_RECT">
  230. <property name="visible">True</property>
  231. <property name="can_focus">False</property>
  232. <property name="valign">start</property>
  233. <property name="label" translatable="yes" context="floatingcontour|TBI_RECT">Rectangle</property>
  234. <property name="icon_name">svx/res/cd06.png</property>
  235. <child internal-child="accessible">
  236. <object class="AtkObject" id="TBI_RECT-atkobject">
  237. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_RECT">Draws a rectangular contour where you drag in the object preview. To draw a square, hold down Shift while you drag.</property>
  238. </object>
  239. </child>
  240. </object>
  241. <packing>
  242. <property name="expand">False</property>
  243. <property name="homogeneous">True</property>
  244. </packing>
  245. </child>
  246. <child>
  247. <object class="GtkToggleToolButton" id="TBI_CIRCLE">
  248. <property name="visible">True</property>
  249. <property name="can_focus">False</property>
  250. <property name="valign">start</property>
  251. <property name="label" translatable="yes" context="floatingcontour|TBI_CIRCLE">Ellipse</property>
  252. <property name="icon_name">svx/res/cd07.png</property>
  253. <child internal-child="accessible">
  254. <object class="AtkObject" id="TBI_CIRCLE-atkobject">
  255. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_CIRCLE">Draws an oval contour where you drag in the object preview.</property>
  256. </object>
  257. </child>
  258. </object>
  259. <packing>
  260. <property name="expand">False</property>
  261. <property name="homogeneous">True</property>
  262. </packing>
  263. </child>
  264. <child>
  265. <object class="GtkToggleToolButton" id="TBI_POLY">
  266. <property name="visible">True</property>
  267. <property name="can_focus">False</property>
  268. <property name="valign">start</property>
  269. <property name="label" translatable="yes" context="floatingcontour|TBI_POLY">Polygon</property>
  270. <property name="icon_name">svx/res/cd08.png</property>
  271. <child internal-child="accessible">
  272. <object class="AtkObject" id="TBI_POLY-atkobject">
  273. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_POLY">Draws a closed contour consisting of straight line segments. Click where you want to start the polygon, and drag to draw a line segment. Click again to define the end of the line segment, and continue clicking to define the remaining line segments of the polygon. Double-click to finish drawing the polygon. To constrain the polygon to angles of 45 degree, hold down Shift when you click.</property>
  274. </object>
  275. </child>
  276. </object>
  277. <packing>
  278. <property name="expand">False</property>
  279. <property name="homogeneous">True</property>
  280. </packing>
  281. </child>
  282. <child>
  283. <object class="GtkSeparatorToolItem" id="separatortoolitem3">
  284. <property name="visible">True</property>
  285. <property name="can_focus">False</property>
  286. </object>
  287. <packing>
  288. <property name="expand">False</property>
  289. <property name="homogeneous">False</property>
  290. </packing>
  291. </child>
  292. <child>
  293. <object class="GtkToggleToolButton" id="TBI_POLYEDIT">
  294. <property name="visible">True</property>
  295. <property name="can_focus">False</property>
  296. <property name="valign">start</property>
  297. <property name="label" translatable="yes" context="floatingcontour|TBI_POLYEDIT">Edit Points</property>
  298. <property name="icon_name">svx/res/cd015.png</property>
  299. <child internal-child="accessible">
  300. <object class="AtkObject" id="TBI_POLYEDIT-atkobject">
  301. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_POLYEDIT">Lets you change the shape of the contour. Click here, and then drag the handles of the contour.</property>
  302. </object>
  303. </child>
  304. </object>
  305. <packing>
  306. <property name="expand">False</property>
  307. <property name="homogeneous">True</property>
  308. </packing>
  309. </child>
  310. <child>
  311. <object class="GtkToggleToolButton" id="TBI_POLYMOVE">
  312. <property name="visible">True</property>
  313. <property name="can_focus">False</property>
  314. <property name="valign">start</property>
  315. <property name="label" translatable="yes" context="floatingcontour|TBI_POLYMOVE">Move Points</property>
  316. <property name="icon_name">svx/res/cd016.png</property>
  317. <child internal-child="accessible">
  318. <object class="AtkObject" id="TBI_POLYMOVE-atkobject">
  319. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_POLYMOVE">Lets you drag the handles of the contour to change the shape of the contour.</property>
  320. </object>
  321. </child>
  322. </object>
  323. <packing>
  324. <property name="expand">False</property>
  325. <property name="homogeneous">True</property>
  326. </packing>
  327. </child>
  328. <child>
  329. <object class="GtkToggleToolButton" id="TBI_POLYINSERT">
  330. <property name="visible">True</property>
  331. <property name="can_focus">False</property>
  332. <property name="valign">start</property>
  333. <property name="label" translatable="yes" context="floatingcontour|TBI_POLYINSERT">Insert Points</property>
  334. <property name="icon_name">svx/res/cd017.png</property>
  335. <child internal-child="accessible">
  336. <object class="AtkObject" id="TBI_POLYINSERT-atkobject">
  337. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_POLYINSERT">Inserts a handle that you can drag to change the shape of the contour. Click here, and then click on the contour outline.</property>
  338. </object>
  339. </child>
  340. </object>
  341. <packing>
  342. <property name="expand">False</property>
  343. <property name="homogeneous">True</property>
  344. </packing>
  345. </child>
  346. <child>
  347. <object class="GtkToolButton" id="TBI_POLYDELETE">
  348. <property name="visible">True</property>
  349. <property name="can_focus">False</property>
  350. <property name="valign">start</property>
  351. <property name="label" translatable="yes" context="floatingcontour|TBI_POLYDELETE">Delete Points</property>
  352. <property name="icon_name">svx/res/cd018.png</property>
  353. <child internal-child="accessible">
  354. <object class="AtkObject" id="TBI_POLYDELETE-atkobject">
  355. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_POLYDELETE">Removes a point from the contour outline. Click here, and then click the point that you want to delete.</property>
  356. </object>
  357. </child>
  358. </object>
  359. <packing>
  360. <property name="expand">False</property>
  361. <property name="homogeneous">True</property>
  362. </packing>
  363. </child>
  364. <child>
  365. <object class="GtkSeparatorToolItem" id="separatortoolitem4">
  366. <property name="visible">True</property>
  367. <property name="can_focus">False</property>
  368. </object>
  369. <packing>
  370. <property name="expand">False</property>
  371. <property name="homogeneous">False</property>
  372. </packing>
  373. </child>
  374. <child>
  375. <object class="GtkToolButton" id="TBI_AUTOCONTOUR">
  376. <property name="visible">True</property>
  377. <property name="can_focus">False</property>
  378. <property name="label" translatable="yes" context="floatingcontour|TBI_AUTOCONTOUR">AutoContour</property>
  379. <property name="use_underline">True</property>
  380. <property name="icon_name">svx/res/cd025.png</property>
  381. <child internal-child="accessible">
  382. <object class="AtkObject" id="TBI_AUTOCONTOUR-atkobject">
  383. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_AUTOCONTOUR">Automatically draws a contour around the object that you can edit.</property>
  384. </object>
  385. </child>
  386. </object>
  387. <packing>
  388. <property name="expand">False</property>
  389. <property name="homogeneous">True</property>
  390. </packing>
  391. </child>
  392. <child>
  393. <object class="GtkSeparatorToolItem" id="separatortoolitem5">
  394. <property name="visible">True</property>
  395. <property name="can_focus">False</property>
  396. </object>
  397. <packing>
  398. <property name="expand">False</property>
  399. <property name="homogeneous">False</property>
  400. </packing>
  401. </child>
  402. <child>
  403. <object class="GtkToolButton" id="TBI_UNDO">
  404. <property name="visible">True</property>
  405. <property name="can_focus">False</property>
  406. <property name="valign">start</property>
  407. <property name="label" translatable="yes" context="floatingcontour|TBI_UNDO">Undo </property>
  408. <property name="icon_name">svx/res/cd020.png</property>
  409. <child internal-child="accessible">
  410. <object class="AtkObject" id="TBI_UNDO-atkobject">
  411. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_UNDO">Reverses the last action.</property>
  412. </object>
  413. </child>
  414. </object>
  415. <packing>
  416. <property name="expand">False</property>
  417. <property name="homogeneous">True</property>
  418. </packing>
  419. </child>
  420. <child>
  421. <object class="GtkToolButton" id="TBI_REDO">
  422. <property name="visible">True</property>
  423. <property name="can_focus">False</property>
  424. <property name="valign">start</property>
  425. <property name="label" translatable="yes" context="floatingcontour|TBI_REDO">Redo</property>
  426. <property name="icon_name">svx/res/cd021.png</property>
  427. <child internal-child="accessible">
  428. <object class="AtkObject" id="TBI_REDO-atkobject">
  429. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_REDO">Reverses the action of the last Undo command.</property>
  430. </object>
  431. </child>
  432. </object>
  433. <packing>
  434. <property name="expand">False</property>
  435. <property name="homogeneous">True</property>
  436. </packing>
  437. </child>
  438. <child>
  439. <object class="GtkToggleToolButton" id="TBI_PIPETTE">
  440. <property name="visible">True</property>
  441. <property name="can_focus">False</property>
  442. <property name="valign">start</property>
  443. <property name="label" translatable="yes" context="floatingcontour|TBI_PIPETTE">Pipette</property>
  444. <property name="icon_name">svx/res/cd026.png</property>
  445. <child internal-child="accessible">
  446. <object class="AtkObject" id="TBI_PIPETTE-atkobject">
  447. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|TBI_PIPETTE">Selects the parts of the bitmap that are the same color. Click here, and then click a color in the bitmap. To increase the color range that is selected, increase the value in the Tolerance box.</property>
  448. </object>
  449. </child>
  450. </object>
  451. <packing>
  452. <property name="expand">False</property>
  453. <property name="homogeneous">True</property>
  454. </packing>
  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. <child>
  463. <object class="GtkSpinButton" id="spinbutton">
  464. <property name="visible">True</property>
  465. <property name="can_focus">True</property>
  466. <property name="tooltip_text" translatable="yes" context="floatingcontour|spinbutton|tooltip_text">Color Tolerance</property>
  467. <property name="adjustment">adjustment1</property>
  468. <property name="truncate-multiline">True</property>
  469. <child internal-child="accessible">
  470. <object class="AtkObject" id="spinbutton-atkobject">
  471. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|spinbutton">Enter the color tolerance for the Color Replacer as a percentage. To increase the color range that the Color Replacer selects, enter a high percentage.</property>
  472. </object>
  473. </child>
  474. </object>
  475. <packing>
  476. <property name="left_attach">1</property>
  477. <property name="top_attach">0</property>
  478. </packing>
  479. </child>
  480. </object>
  481. <packing>
  482. <property name="expand">False</property>
  483. <property name="fill">True</property>
  484. <property name="position">0</property>
  485. </packing>
  486. </child>
  487. <child>
  488. <object class="GtkScrolledWindow">
  489. <property name="visible">True</property>
  490. <property name="can_focus">True</property>
  491. <property name="hexpand">True</property>
  492. <property name="vexpand">True</property>
  493. <property name="hscrollbar_policy">never</property>
  494. <property name="vscrollbar_policy">never</property>
  495. <property name="shadow_type">in</property>
  496. <child>
  497. <object class="GtkViewport">
  498. <property name="visible">True</property>
  499. <property name="can_focus">False</property>
  500. <property name="hexpand">True</property>
  501. <property name="vexpand">True</property>
  502. <child>
  503. <object class="GtkDrawingArea" id="container">
  504. <property name="visible">True</property>
  505. <property name="can_focus">True</property>
  506. <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
  507. <property name="hexpand">True</property>
  508. <property name="vexpand">True</property>
  509. <child internal-child="accessible">
  510. <object class="AtkObject" id="container-atkobject">
  511. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|container">Displays a preview of the contour.</property>
  512. </object>
  513. </child>
  514. </object>
  515. </child>
  516. </object>
  517. </child>
  518. </object>
  519. <packing>
  520. <property name="expand">True</property>
  521. <property name="fill">True</property>
  522. <property name="position">2</property>
  523. </packing>
  524. </child>
  525. </object>
  526. <packing>
  527. <property name="expand">False</property>
  528. <property name="fill">True</property>
  529. <property name="position">1</property>
  530. </packing>
  531. </child>
  532. </object>
  533. </child>
  534. <action-widgets>
  535. <action-widget response="-6">cancel</action-widget>
  536. </action-widgets>
  537. <child type="titlebar">
  538. <placeholder/>
  539. </child>
  540. <child internal-child="accessible">
  541. <object class="AtkObject" id="FloatingContour-atkobject">
  542. <property name="AtkObject::accessible-description" translatable="yes" context="floatingcontour|extended_tip|FloatingContour">Changes the contour of the selected object. %PRODUCTNAME uses the contour when determining the text wrap options for the object.</property>
  543. </object>
  544. </child>
  545. </object>
  546. </interface>