mosaicdialog.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="cui">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkAdjustment" id="adjustment1">
  6. <property name="lower">1</property>
  7. <property name="upper">999</property>
  8. <property name="value">2</property>
  9. <property name="step_increment">1</property>
  10. <property name="page_increment">10</property>
  11. </object>
  12. <object class="GtkAdjustment" id="adjustment2">
  13. <property name="lower">1</property>
  14. <property name="upper">999</property>
  15. <property name="step_increment">1</property>
  16. <property name="page_increment">10</property>
  17. </object>
  18. <object class="GtkDialog" id="MosaicDialog">
  19. <property name="can_focus">False</property>
  20. <property name="border_width">6</property>
  21. <property name="title" translatable="yes" context="mosaicdialog|MosaicDialog">Mosaic</property>
  22. <property name="resizable">False</property>
  23. <property name="modal">True</property>
  24. <property name="default_width">0</property>
  25. <property name="default_height">0</property>
  26. <property name="type_hint">dialog</property>
  27. <child internal-child="vbox">
  28. <object class="GtkBox" id="dialog-vbox1">
  29. <property name="can_focus">False</property>
  30. <property name="orientation">vertical</property>
  31. <property name="spacing">12</property>
  32. <child internal-child="action_area">
  33. <object class="GtkButtonBox" id="dialog-action_area1">
  34. <property name="can_focus">False</property>
  35. <property name="layout_style">end</property>
  36. <child>
  37. <object class="GtkButton" id="ok">
  38. <property name="label">gtk-ok</property>
  39. <property name="visible">True</property>
  40. <property name="can_focus">True</property>
  41. <property name="can_default">True</property>
  42. <property name="has_default">True</property>
  43. <property name="receives_default">True</property>
  44. <property name="use_stock">True</property>
  45. </object>
  46. <packing>
  47. <property name="expand">False</property>
  48. <property name="fill">True</property>
  49. <property name="position">0</property>
  50. </packing>
  51. </child>
  52. <child>
  53. <object class="GtkButton" id="cancel">
  54. <property name="label">gtk-cancel</property>
  55. <property name="visible">True</property>
  56. <property name="can_focus">True</property>
  57. <property name="receives_default">True</property>
  58. <property name="use_stock">True</property>
  59. </object>
  60. <packing>
  61. <property name="expand">False</property>
  62. <property name="fill">True</property>
  63. <property name="position">1</property>
  64. </packing>
  65. </child>
  66. <child>
  67. <object class="GtkButton" id="help">
  68. <property name="label">gtk-help</property>
  69. <property name="visible">True</property>
  70. <property name="can_focus">True</property>
  71. <property name="receives_default">True</property>
  72. <property name="use_stock">True</property>
  73. </object>
  74. <packing>
  75. <property name="expand">False</property>
  76. <property name="fill">True</property>
  77. <property name="position">2</property>
  78. <property name="secondary">True</property>
  79. </packing>
  80. </child>
  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">0</property>
  87. </packing>
  88. </child>
  89. <child>
  90. <object class="GtkFrame" id="frame1">
  91. <property name="visible">True</property>
  92. <property name="can_focus">False</property>
  93. <property name="hexpand">True</property>
  94. <property name="vexpand">True</property>
  95. <property name="label_xalign">0</property>
  96. <property name="shadow_type">none</property>
  97. <child>
  98. <object class="GtkAlignment" id="alignment1">
  99. <property name="visible">True</property>
  100. <property name="can_focus">False</property>
  101. <property name="hexpand">True</property>
  102. <property name="vexpand">True</property>
  103. <property name="top_padding">6</property>
  104. <property name="left_padding">12</property>
  105. <child>
  106. <!-- n-columns=1 n-rows=1 -->
  107. <object class="GtkGrid" id="grid1">
  108. <property name="visible">True</property>
  109. <property name="can_focus">False</property>
  110. <property name="hexpand">True</property>
  111. <property name="vexpand">True</property>
  112. <property name="column_spacing">24</property>
  113. <child>
  114. <object class="GtkScrolledWindow">
  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="hscrollbar_policy">never</property>
  120. <property name="vscrollbar_policy">never</property>
  121. <property name="shadow_type">in</property>
  122. <child>
  123. <object class="GtkViewport">
  124. <property name="visible">True</property>
  125. <property name="can_focus">False</property>
  126. <child>
  127. <object class="GtkDrawingArea" id="preview">
  128. <property name="visible">True</property>
  129. <property name="can_focus">False</property>
  130. <property name="hexpand">True</property>
  131. <property name="vexpand">True</property>
  132. </object>
  133. </child>
  134. </object>
  135. </child>
  136. </object>
  137. <packing>
  138. <property name="left_attach">1</property>
  139. <property name="top_attach">0</property>
  140. </packing>
  141. </child>
  142. <child>
  143. <!-- n-columns=1 n-rows=1 -->
  144. <object class="GtkGrid" id="grid2">
  145. <property name="visible">True</property>
  146. <property name="can_focus">False</property>
  147. <property name="row_spacing">12</property>
  148. <child>
  149. <!-- n-columns=1 n-rows=1 -->
  150. <object class="GtkGrid" id="grid3">
  151. <property name="visible">True</property>
  152. <property name="can_focus">False</property>
  153. <property name="row_spacing">6</property>
  154. <child>
  155. <object class="GtkSpinButton" id="width">
  156. <property name="visible">True</property>
  157. <property name="can_focus">True</property>
  158. <property name="text">2</property>
  159. <property name="adjustment">adjustment1</property>
  160. <property name="value">2</property>
  161. <property name="truncate-multiline">True</property>
  162. <child internal-child="accessible">
  163. <object class="AtkObject" id="width-atkobject">
  164. <property name="AtkObject::accessible-description" translatable="yes" context="mosaicdialog|extended_tip|width">Defines the width of the individual tiles.</property>
  165. </object>
  166. </child>
  167. </object>
  168. <packing>
  169. <property name="left_attach">0</property>
  170. <property name="top_attach">1</property>
  171. </packing>
  172. </child>
  173. <child>
  174. <object class="GtkLabel" id="label2">
  175. <property name="visible">True</property>
  176. <property name="can_focus">False</property>
  177. <property name="label" translatable="yes" context="mosaicdialog|label2">_Width:</property>
  178. <property name="use_underline">True</property>
  179. <property name="mnemonic_widget">width</property>
  180. <property name="xalign">0</property>
  181. </object>
  182. <packing>
  183. <property name="left_attach">0</property>
  184. <property name="top_attach">0</property>
  185. </packing>
  186. </child>
  187. </object>
  188. <packing>
  189. <property name="left_attach">0</property>
  190. <property name="top_attach">0</property>
  191. </packing>
  192. </child>
  193. <child>
  194. <!-- n-columns=1 n-rows=1 -->
  195. <object class="GtkGrid" id="grid4">
  196. <property name="visible">True</property>
  197. <property name="can_focus">False</property>
  198. <property name="row_spacing">6</property>
  199. <child>
  200. <object class="GtkSpinButton" id="height">
  201. <property name="visible">True</property>
  202. <property name="can_focus">True</property>
  203. <property name="text" translatable="yes" context="mosaicdialog|height">2</property>
  204. <property name="adjustment">adjustment2</property>
  205. <property name="value">2</property>
  206. <property name="truncate-multiline">True</property>
  207. <child internal-child="accessible">
  208. <object class="AtkObject" id="height-atkobject">
  209. <property name="AtkObject::accessible-description" translatable="yes" context="mosaicdialog|extended_tip|height">Defines the height of the individual tiles.</property>
  210. </object>
  211. </child>
  212. </object>
  213. <packing>
  214. <property name="left_attach">0</property>
  215. <property name="top_attach">1</property>
  216. </packing>
  217. </child>
  218. <child>
  219. <object class="GtkLabel" id="label3">
  220. <property name="visible">True</property>
  221. <property name="can_focus">False</property>
  222. <property name="label" translatable="yes" context="mosaicdialog|label3">_Height:</property>
  223. <property name="use_underline">True</property>
  224. <property name="mnemonic_widget">height</property>
  225. <property name="xalign">0</property>
  226. </object>
  227. <packing>
  228. <property name="left_attach">0</property>
  229. <property name="top_attach">0</property>
  230. </packing>
  231. </child>
  232. </object>
  233. <packing>
  234. <property name="left_attach">0</property>
  235. <property name="top_attach">1</property>
  236. </packing>
  237. </child>
  238. <child>
  239. <object class="GtkCheckButton" id="edges">
  240. <property name="label" translatable="yes" context="mosaicdialog|edges">E_nhance edges</property>
  241. <property name="visible">True</property>
  242. <property name="can_focus">True</property>
  243. <property name="receives_default">False</property>
  244. <property name="use_underline">True</property>
  245. <property name="xalign">0</property>
  246. <property name="draw_indicator">True</property>
  247. <child internal-child="accessible">
  248. <object class="AtkObject" id="edges-atkobject">
  249. <property name="AtkObject::accessible-description" translatable="yes" context="mosaicdialog|extended_tip|edges">Enhances, or sharpens, the edges of the object.</property>
  250. </object>
  251. </child>
  252. </object>
  253. <packing>
  254. <property name="left_attach">0</property>
  255. <property name="top_attach">2</property>
  256. </packing>
  257. </child>
  258. </object>
  259. <packing>
  260. <property name="left_attach">0</property>
  261. <property name="top_attach">0</property>
  262. </packing>
  263. </child>
  264. </object>
  265. </child>
  266. </object>
  267. </child>
  268. <child type="label">
  269. <object class="GtkLabel" id="label1">
  270. <property name="visible">True</property>
  271. <property name="can_focus">False</property>
  272. <property name="label" translatable="yes" context="mosaicdialog|label1">Parameters</property>
  273. <attributes>
  274. <attribute name="weight" value="bold"/>
  275. </attributes>
  276. </object>
  277. </child>
  278. </object>
  279. <packing>
  280. <property name="expand">False</property>
  281. <property name="fill">True</property>
  282. <property name="position">1</property>
  283. </packing>
  284. </child>
  285. </object>
  286. </child>
  287. <action-widgets>
  288. <action-widget response="-5">ok</action-widget>
  289. <action-widget response="-6">cancel</action-widget>
  290. <action-widget response="-11">help</action-widget>
  291. </action-widgets>
  292. <child type="titlebar">
  293. <placeholder/>
  294. </child>
  295. <child internal-child="accessible">
  296. <object class="AtkObject" id="MosaicDialog-atkobject">
  297. <property name="AtkObject::accessible-description" translatable="yes" context="mosaicdialog|extended_tip|MosaicDialog">Joins small groups of pixels into rectangular areas of the same color.</property>
  298. </object>
  299. </child>
  300. </object>
  301. </interface>