dlgsnap.ui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="sd">
  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="icon_name">sd/res/hlppoint.png</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="icon_name">sd/res/hlplvert.png</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="icon_name">sd/res/hlplhorz.png</property>
  19. </object>
  20. <object class="GtkDialog" id="SnapObjectDialog">
  21. <property name="can_focus">False</property>
  22. <property name="border_width">6</property>
  23. <property name="title" translatable="yes" context="dlgsnap|SnapObjectDialog">New Snap Object</property>
  24. <property name="modal">True</property>
  25. <property name="default_width">0</property>
  26. <property name="default_height">0</property>
  27. <property name="type_hint">dialog</property>
  28. <child internal-child="vbox">
  29. <object class="GtkBox" id="dialog-vbox1">
  30. <property name="can_focus">False</property>
  31. <property name="orientation">vertical</property>
  32. <property name="spacing">12</property>
  33. <child internal-child="action_area">
  34. <object class="GtkButtonBox" id="dialog-action_area1">
  35. <property name="can_focus">False</property>
  36. <property name="layout_style">end</property>
  37. <child>
  38. <object class="GtkButton" id="delete">
  39. <property name="label">gtk-delete</property>
  40. <property name="visible">True</property>
  41. <property name="can_focus">True</property>
  42. <property name="receives_default">True</property>
  43. <property name="use_stock">True</property>
  44. <child internal-child="accessible">
  45. <object class="AtkObject" id="delete-atkobject">
  46. <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|delete">Deletes the selected snap point or snap line.</property>
  47. </object>
  48. </child>
  49. </object>
  50. <packing>
  51. <property name="expand">False</property>
  52. <property name="fill">True</property>
  53. <property name="position">0</property>
  54. </packing>
  55. </child>
  56. <child>
  57. <object class="GtkButton" id="ok">
  58. <property name="label">gtk-ok</property>
  59. <property name="visible">True</property>
  60. <property name="can_focus">True</property>
  61. <property name="can_default">True</property>
  62. <property name="has_default">True</property>
  63. <property name="receives_default">True</property>
  64. <property name="use_stock">True</property>
  65. </object>
  66. <packing>
  67. <property name="expand">False</property>
  68. <property name="fill">True</property>
  69. <property name="position">1</property>
  70. </packing>
  71. </child>
  72. <child>
  73. <object class="GtkButton" id="cancel">
  74. <property name="label">gtk-cancel</property>
  75. <property name="visible">True</property>
  76. <property name="can_focus">True</property>
  77. <property name="receives_default">True</property>
  78. <property name="use_stock">True</property>
  79. </object>
  80. <packing>
  81. <property name="expand">False</property>
  82. <property name="fill">True</property>
  83. <property name="position">2</property>
  84. </packing>
  85. </child>
  86. <child>
  87. <object class="GtkButton" id="help">
  88. <property name="label">gtk-help</property>
  89. <property name="visible">True</property>
  90. <property name="can_focus">True</property>
  91. <property name="can_default">True</property>
  92. <property name="receives_default">True</property>
  93. <property name="use_stock">True</property>
  94. </object>
  95. <packing>
  96. <property name="expand">False</property>
  97. <property name="fill">True</property>
  98. <property name="position">3</property>
  99. <property name="secondary">True</property>
  100. </packing>
  101. </child>
  102. </object>
  103. <packing>
  104. <property name="expand">False</property>
  105. <property name="fill">True</property>
  106. <property name="pack_type">end</property>
  107. <property name="position">0</property>
  108. </packing>
  109. </child>
  110. <child>
  111. <object class="GtkBox" id="box1">
  112. <property name="visible">True</property>
  113. <property name="can_focus">False</property>
  114. <property name="spacing">12</property>
  115. <child>
  116. <object class="GtkFrame" id="frame1">
  117. <property name="visible">True</property>
  118. <property name="can_focus">False</property>
  119. <property name="label_xalign">0</property>
  120. <property name="shadow_type">none</property>
  121. <child>
  122. <object class="GtkAlignment" id="alignment1">
  123. <property name="visible">True</property>
  124. <property name="can_focus">False</property>
  125. <property name="top_padding">6</property>
  126. <property name="left_padding">12</property>
  127. <child>
  128. <!-- n-columns=1 n-rows=1 -->
  129. <object class="GtkGrid" id="grid1">
  130. <property name="visible">True</property>
  131. <property name="can_focus">False</property>
  132. <property name="row_spacing">6</property>
  133. <property name="column_spacing">12</property>
  134. <child>
  135. <object class="GtkSpinButton" id="x">
  136. <property name="visible">True</property>
  137. <property name="can_focus">True</property>
  138. <property name="activates_default">True</property>
  139. <property name="digits">2</property>
  140. <property name="truncate-multiline">True</property>
  141. <child internal-child="accessible">
  142. <object class="AtkObject" id="x-atkobject">
  143. <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|x">Enter the amount of space you want between the snap point or line and the left edge of the page.</property>
  144. </object>
  145. </child>
  146. </object>
  147. <packing>
  148. <property name="left_attach">1</property>
  149. <property name="top_attach">0</property>
  150. </packing>
  151. </child>
  152. <child>
  153. <object class="GtkSpinButton" id="y">
  154. <property name="visible">True</property>
  155. <property name="can_focus">True</property>
  156. <property name="activates_default">True</property>
  157. <property name="digits">2</property>
  158. <property name="truncate-multiline">True</property>
  159. <child internal-child="accessible">
  160. <object class="AtkObject" id="y-atkobject">
  161. <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|y">Enter the amount of space you want between the snap point or line and the top edge of the page.</property>
  162. </object>
  163. </child>
  164. </object>
  165. <packing>
  166. <property name="left_attach">1</property>
  167. <property name="top_attach">1</property>
  168. </packing>
  169. </child>
  170. <child>
  171. <object class="GtkLabel" id="xlabel">
  172. <property name="visible">True</property>
  173. <property name="can_focus">False</property>
  174. <property name="label" translatable="yes" context="dlgsnap|xlabel">_X:</property>
  175. <property name="use_underline">True</property>
  176. <property name="mnemonic_widget">x</property>
  177. </object>
  178. <packing>
  179. <property name="left_attach">0</property>
  180. <property name="top_attach">0</property>
  181. </packing>
  182. </child>
  183. <child>
  184. <object class="GtkLabel" id="ylabel">
  185. <property name="visible">True</property>
  186. <property name="can_focus">False</property>
  187. <property name="label" translatable="yes" context="dlgsnap|ylabel">_Y:</property>
  188. <property name="use_underline">True</property>
  189. <property name="mnemonic_widget">y</property>
  190. </object>
  191. <packing>
  192. <property name="left_attach">0</property>
  193. <property name="top_attach">1</property>
  194. </packing>
  195. </child>
  196. </object>
  197. </child>
  198. </object>
  199. </child>
  200. <child type="label">
  201. <object class="GtkLabel" id="label1">
  202. <property name="visible">True</property>
  203. <property name="can_focus">False</property>
  204. <property name="label" translatable="yes" context="dlgsnap|label1">Position</property>
  205. <attributes>
  206. <attribute name="weight" value="bold"/>
  207. </attributes>
  208. </object>
  209. </child>
  210. </object>
  211. <packing>
  212. <property name="expand">False</property>
  213. <property name="fill">True</property>
  214. <property name="position">0</property>
  215. </packing>
  216. </child>
  217. <child>
  218. <object class="GtkFrame" id="radiogroup">
  219. <property name="visible">True</property>
  220. <property name="can_focus">False</property>
  221. <property name="label_xalign">0</property>
  222. <property name="shadow_type">none</property>
  223. <child>
  224. <object class="GtkAlignment" id="alignment2">
  225. <property name="visible">True</property>
  226. <property name="can_focus">False</property>
  227. <property name="top_padding">6</property>
  228. <property name="left_padding">12</property>
  229. <child>
  230. <object class="GtkBox" id="box2">
  231. <property name="visible">True</property>
  232. <property name="can_focus">False</property>
  233. <property name="orientation">vertical</property>
  234. <property name="spacing">12</property>
  235. <child>
  236. <object class="GtkRadioButton" id="point">
  237. <property name="label" translatable="yes" context="dlgsnap|point">_Point</property>
  238. <property name="visible">True</property>
  239. <property name="can_focus">True</property>
  240. <property name="receives_default">False</property>
  241. <property name="image">image1</property>
  242. <property name="use_underline">True</property>
  243. <property name="xalign">0</property>
  244. <property name="always_show_image">True</property>
  245. <property name="active">True</property>
  246. <property name="draw_indicator">True</property>
  247. <child internal-child="accessible">
  248. <object class="AtkObject" id="point-atkobject">
  249. <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|point">Inserts a snap point.</property>
  250. </object>
  251. </child>
  252. </object>
  253. <packing>
  254. <property name="expand">False</property>
  255. <property name="fill">True</property>
  256. <property name="position">0</property>
  257. </packing>
  258. </child>
  259. <child>
  260. <object class="GtkRadioButton" id="vert">
  261. <property name="label" translatable="yes" context="dlgsnap|vert">_Vertical</property>
  262. <property name="visible">True</property>
  263. <property name="can_focus">True</property>
  264. <property name="receives_default">False</property>
  265. <property name="image">image2</property>
  266. <property name="use_underline">True</property>
  267. <property name="xalign">0</property>
  268. <property name="always_show_image">True</property>
  269. <property name="draw_indicator">True</property>
  270. <property name="group">point</property>
  271. <child internal-child="accessible">
  272. <object class="AtkObject" id="vert-atkobject">
  273. <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|vert">Inserts a vertical snap line.</property>
  274. </object>
  275. </child>
  276. </object>
  277. <packing>
  278. <property name="expand">False</property>
  279. <property name="fill">True</property>
  280. <property name="position">1</property>
  281. </packing>
  282. </child>
  283. <child>
  284. <object class="GtkRadioButton" id="horz">
  285. <property name="label" translatable="yes" context="dlgsnap|horz">Hori_zontal</property>
  286. <property name="visible">True</property>
  287. <property name="can_focus">True</property>
  288. <property name="receives_default">False</property>
  289. <property name="image">image3</property>
  290. <property name="use_underline">True</property>
  291. <property name="xalign">0</property>
  292. <property name="always_show_image">True</property>
  293. <property name="draw_indicator">True</property>
  294. <property name="group">point</property>
  295. <child internal-child="accessible">
  296. <object class="AtkObject" id="horz-atkobject">
  297. <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|horz">Inserts a horizontal snap line.</property>
  298. </object>
  299. </child>
  300. </object>
  301. <packing>
  302. <property name="expand">False</property>
  303. <property name="fill">True</property>
  304. <property name="position">2</property>
  305. </packing>
  306. </child>
  307. </object>
  308. </child>
  309. </object>
  310. </child>
  311. <child type="label">
  312. <object class="GtkLabel" id="label2">
  313. <property name="visible">True</property>
  314. <property name="can_focus">False</property>
  315. <property name="label" translatable="yes" context="dlgsnap|label2">Type</property>
  316. <attributes>
  317. <attribute name="weight" value="bold"/>
  318. </attributes>
  319. </object>
  320. </child>
  321. </object>
  322. <packing>
  323. <property name="expand">False</property>
  324. <property name="fill">True</property>
  325. <property name="position">1</property>
  326. </packing>
  327. </child>
  328. </object>
  329. <packing>
  330. <property name="expand">False</property>
  331. <property name="fill">True</property>
  332. <property name="position">1</property>
  333. </packing>
  334. </child>
  335. </object>
  336. </child>
  337. <action-widgets>
  338. <action-widget response="101">delete</action-widget>
  339. <action-widget response="-5">ok</action-widget>
  340. <action-widget response="-6">cancel</action-widget>
  341. <action-widget response="-11">help</action-widget>
  342. </action-widgets>
  343. <child type="titlebar">
  344. <placeholder/>
  345. </child>
  346. <child internal-child="accessible">
  347. <object class="AtkObject" id="SnapObjectDialog-atkobject">
  348. <property name="AtkObject::accessible-description" translatable="yes" context="dlgsnap|extended_tip|SnapObjectDialog">Inserts a snap point or snap line (also known as guide) that you can use to quickly align objects.</property>
  349. </object>
  350. </child>
  351. </object>
  352. </interface>