watermarkdialog.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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="angle_adj">
  6. <property name="upper">359</property>
  7. <property name="step_increment">45</property>
  8. </object>
  9. <object class="GtkAdjustment" id="transparenct_adj">
  10. <property name="upper">100</property>
  11. <property name="step_increment">1</property>
  12. <property name="page_increment">10</property>
  13. </object>
  14. <object class="GtkDialog" id="WatermarkDialog">
  15. <property name="can_focus">False</property>
  16. <property name="border_width">6</property>
  17. <property name="title" translatable="yes" context="watermarkdialog|WatermarkDialog">Watermark</property>
  18. <property name="modal">True</property>
  19. <property name="default_width">0</property>
  20. <property name="default_height">0</property>
  21. <property name="type_hint">dialog</property>
  22. <child internal-child="vbox">
  23. <object class="GtkBox" id="dialog-vbox1">
  24. <property name="can_focus">False</property>
  25. <property name="orientation">vertical</property>
  26. <property name="spacing">24</property>
  27. <child internal-child="action_area">
  28. <object class="GtkButtonBox" id="dialog-action_area1">
  29. <property name="can_focus">False</property>
  30. <property name="layout_style">end</property>
  31. <child>
  32. <object class="GtkButton" id="help">
  33. <property name="label">gtk-help</property>
  34. <property name="visible">True</property>
  35. <property name="can_focus">True</property>
  36. <property name="receives_default">True</property>
  37. <property name="use_stock">True</property>
  38. </object>
  39. <packing>
  40. <property name="expand">False</property>
  41. <property name="fill">True</property>
  42. <property name="position">0</property>
  43. <property name="secondary">True</property>
  44. </packing>
  45. </child>
  46. <child>
  47. <object class="GtkButton" id="ok">
  48. <property name="label">gtk-ok</property>
  49. <property name="visible">True</property>
  50. <property name="can_focus">True</property>
  51. <property name="can_default">True</property>
  52. <property name="has_default">True</property>
  53. <property name="receives_default">True</property>
  54. <property name="use_stock">True</property>
  55. </object>
  56. <packing>
  57. <property name="expand">False</property>
  58. <property name="fill">True</property>
  59. <property name="position">1</property>
  60. </packing>
  61. </child>
  62. <child>
  63. <object class="GtkButton" id="cancel">
  64. <property name="label">gtk-cancel</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">2</property>
  74. </packing>
  75. </child>
  76. </object>
  77. <packing>
  78. <property name="expand">False</property>
  79. <property name="fill">True</property>
  80. <property name="pack_type">end</property>
  81. <property name="position">1</property>
  82. </packing>
  83. </child>
  84. <child>
  85. <object class="GtkBox" id="Box">
  86. <property name="visible">True</property>
  87. <property name="can_focus">False</property>
  88. <property name="orientation">vertical</property>
  89. <property name="spacing">6</property>
  90. <child>
  91. <!-- n-columns=1 n-rows=1 -->
  92. <object class="GtkGrid" id="TextGrid">
  93. <property name="visible">True</property>
  94. <property name="can_focus">False</property>
  95. <property name="row_spacing">6</property>
  96. <property name="column_spacing">6</property>
  97. <child>
  98. <object class="GtkLabel" id="TextLabel">
  99. <property name="visible">True</property>
  100. <property name="can_focus">False</property>
  101. <property name="halign">end</property>
  102. <property name="label" translatable="yes" context="watermarkdialog|TextLabel">Text</property>
  103. </object>
  104. <packing>
  105. <property name="left_attach">0</property>
  106. <property name="top_attach">0</property>
  107. </packing>
  108. </child>
  109. <child>
  110. <object class="GtkEntry" id="TextInput">
  111. <property name="visible">True</property>
  112. <property name="can_focus">True</property>
  113. <property name="hexpand">True</property>
  114. <property name="activates_default">True</property>
  115. <property name="truncate-multiline">True</property>
  116. <child internal-child="accessible">
  117. <object class="AtkObject" id="TextInput-atkobject">
  118. <property name="AtkObject::accessible-description" translatable="yes" context="watermarkdialog|extended_tip|TextInput">Enter the watermark text to be displayed as image in the page background.</property>
  119. </object>
  120. </child>
  121. </object>
  122. <packing>
  123. <property name="left_attach">1</property>
  124. <property name="top_attach">0</property>
  125. </packing>
  126. </child>
  127. <child>
  128. <object class="GtkLabel" id="FontLabel">
  129. <property name="visible">True</property>
  130. <property name="can_focus">False</property>
  131. <property name="halign">end</property>
  132. <property name="label" translatable="yes" context="watermarkdialog|FontLabel">Font</property>
  133. </object>
  134. <packing>
  135. <property name="left_attach">0</property>
  136. <property name="top_attach">1</property>
  137. </packing>
  138. </child>
  139. <child>
  140. <object class="GtkLabel" id="AngleLabel">
  141. <property name="visible">True</property>
  142. <property name="can_focus">False</property>
  143. <property name="halign">end</property>
  144. <property name="label" translatable="yes" context="watermarkdialog|AngleLabel">Angle</property>
  145. </object>
  146. <packing>
  147. <property name="left_attach">0</property>
  148. <property name="top_attach">2</property>
  149. </packing>
  150. </child>
  151. <child>
  152. <object class="GtkLabel" id="TransparencyLabel">
  153. <property name="visible">True</property>
  154. <property name="can_focus">False</property>
  155. <property name="halign">end</property>
  156. <property name="label" translatable="yes" context="watermarkdialog|TransparencyLabel">Transparency</property>
  157. </object>
  158. <packing>
  159. <property name="left_attach">0</property>
  160. <property name="top_attach">3</property>
  161. </packing>
  162. </child>
  163. <child>
  164. <object class="GtkLabel" id="ColorLabel">
  165. <property name="visible">True</property>
  166. <property name="can_focus">False</property>
  167. <property name="halign">end</property>
  168. <property name="label" translatable="yes" context="watermarkdialog|ColorLabel">Color</property>
  169. <property name="use_underline">True</property>
  170. <property name="mnemonic_widget">Color</property>
  171. </object>
  172. <packing>
  173. <property name="left_attach">0</property>
  174. <property name="top_attach">4</property>
  175. </packing>
  176. </child>
  177. <child>
  178. <object class="GtkSpinButton" id="Angle">
  179. <property name="visible">True</property>
  180. <property name="can_focus">True</property>
  181. <property name="activates_default">True</property>
  182. <property name="adjustment">angle_adj</property>
  183. <property name="truncate-multiline">True</property>
  184. <child internal-child="accessible">
  185. <object class="AtkObject" id="Angle-atkobject">
  186. <property name="AtkObject::accessible-description" translatable="yes" context="watermarkdialog|extended_tip|Angle">Select the rotation angle for the watermark. The text will be rotated by this angle in counterclockwise direction.</property>
  187. </object>
  188. </child>
  189. </object>
  190. <packing>
  191. <property name="left_attach">1</property>
  192. <property name="top_attach">2</property>
  193. </packing>
  194. </child>
  195. <child>
  196. <object class="GtkSpinButton" id="Transparency">
  197. <property name="visible">True</property>
  198. <property name="can_focus">True</property>
  199. <property name="activates_default">True</property>
  200. <property name="adjustment">transparenct_adj</property>
  201. <property name="value">50</property>
  202. <property name="truncate-multiline">True</property>
  203. <child internal-child="accessible">
  204. <object class="AtkObject" id="Transparency-atkobject">
  205. <property name="AtkObject::accessible-description" translatable="yes" context="watermarkdialog|extended_tip|Transparency">Select the transparency level for the watermark. A 0% value produces an opaque watermark and a value of 100% is totally transparent (invisible).</property>
  206. </object>
  207. </child>
  208. </object>
  209. <packing>
  210. <property name="left_attach">1</property>
  211. <property name="top_attach">3</property>
  212. </packing>
  213. </child>
  214. <child>
  215. <object class="GtkMenuButton" id="Color">
  216. <property name="label" translatable="no"></property>
  217. <property name="visible">True</property>
  218. <property name="can_focus">True</property>
  219. <property name="receives_default">True</property>
  220. <property name="xalign">0</property>
  221. <property name="draw_indicator">True</property>
  222. <child>
  223. <placeholder/>
  224. </child>
  225. <child internal-child="accessible">
  226. <object class="AtkObject" id="Color-atkobject">
  227. <property name="AtkObject::accessible-description" translatable="yes" context="watermarkdialog|extended_tip|Color">Select a color from the drop-down box.</property>
  228. </object>
  229. </child>
  230. </object>
  231. <packing>
  232. <property name="left_attach">1</property>
  233. <property name="top_attach">4</property>
  234. </packing>
  235. </child>
  236. <child>
  237. <object class="GtkComboBoxText" id="FontBox">
  238. <property name="visible">True</property>
  239. <property name="can_focus">False</property>
  240. <property name="has_entry">True</property>
  241. <child internal-child="entry">
  242. <object class="GtkEntry">
  243. <property name="visible">True</property>
  244. <property name="truncate-multiline">True</property>
  245. <property name="can_focus">True</property>
  246. </object>
  247. </child>
  248. <child internal-child="accessible">
  249. <object class="AtkObject" id="FontBox-atkobject">
  250. <property name="AtkObject::accessible-description" translatable="yes" context="watermarkdialog|extended_tip|FontBox">Select the font from the list.</property>
  251. </object>
  252. </child>
  253. </object>
  254. <packing>
  255. <property name="left_attach">1</property>
  256. <property name="top_attach">1</property>
  257. </packing>
  258. </child>
  259. </object>
  260. <packing>
  261. <property name="expand">True</property>
  262. <property name="fill">True</property>
  263. <property name="position">0</property>
  264. </packing>
  265. </child>
  266. </object>
  267. <packing>
  268. <property name="expand">True</property>
  269. <property name="fill">True</property>
  270. <property name="position">0</property>
  271. </packing>
  272. </child>
  273. </object>
  274. </child>
  275. <action-widgets>
  276. <action-widget response="-11">help</action-widget>
  277. <action-widget response="-5">ok</action-widget>
  278. <action-widget response="-6">cancel</action-widget>
  279. </action-widgets>
  280. <child type="titlebar">
  281. <placeholder/>
  282. </child>
  283. <child internal-child="accessible">
  284. <object class="AtkObject" id="WatermarkDialog-atkobject">
  285. <property name="AtkObject::accessible-description" translatable="yes" context="watermarkdialog|extended_tip|WatermarkDialog">Insert a watermark text in the current page style background.</property>
  286. </object>
  287. </child>
  288. </object>
  289. </interface>