shadowtabpage.ui 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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="adjustmentDistance">
  6. <property name="upper">999</property>
  7. <property name="step_increment">1</property>
  8. <property name="page_increment">10</property>
  9. </object>
  10. <object class="GtkAdjustment" id="adjustmentPercent">
  11. <property name="upper">100</property>
  12. <property name="step_increment">5</property>
  13. <property name="page_increment">10</property>
  14. </object>
  15. <object class="GtkAdjustment" id="adjustmentPoint">
  16. <property name="upper">150</property>
  17. <property name="step_increment">1</property>
  18. <property name="page_increment">10</property>
  19. </object>
  20. <object class="GtkBox" id="ShadowTabPage">
  21. <property name="visible">True</property>
  22. <property name="can_focus">False</property>
  23. <property name="border_width">6</property>
  24. <property name="spacing">24</property>
  25. <child>
  26. <object class="GtkFrame" id="property">
  27. <property name="visible">True</property>
  28. <property name="can_focus">False</property>
  29. <property name="label_xalign">0</property>
  30. <property name="shadow_type">none</property>
  31. <child>
  32. <object class="GtkAlignment" id="alignment1">
  33. <property name="visible">True</property>
  34. <property name="can_focus">False</property>
  35. <property name="top_padding">6</property>
  36. <property name="left_padding">12</property>
  37. <child>
  38. <object class="GtkBox" id="maingrid">
  39. <property name="visible">True</property>
  40. <property name="can_focus">False</property>
  41. <property name="orientation">vertical</property>
  42. <property name="spacing">3</property>
  43. <child>
  44. <object class="GtkCheckButton" id="TSB_SHOW_SHADOW">
  45. <property name="label" translatable="yes" context="shadowtabpage|TSB_SHOW_SHADOW">_Use shadow</property>
  46. <property name="visible">True</property>
  47. <property name="can_focus">True</property>
  48. <property name="receives_default">False</property>
  49. <property name="use_underline">True</property>
  50. <property name="xalign">0</property>
  51. <property name="inconsistent">True</property>
  52. <property name="draw_indicator">True</property>
  53. <child internal-child="accessible">
  54. <object class="AtkObject" id="TSB_SHOW_SHADOW-atkobject">
  55. <property name="AtkObject::accessible-description" translatable="yes" context="shadowtabpage|extended_tip|TSB_SHOW_SHADOW">Adds a shadow to the selected drawing object.</property>
  56. </object>
  57. </child>
  58. </object>
  59. <packing>
  60. <property name="expand">False</property>
  61. <property name="fill">True</property>
  62. <property name="position">0</property>
  63. </packing>
  64. </child>
  65. <child>
  66. <object class="GtkAlignment">
  67. <property name="visible">True</property>
  68. <property name="can_focus">False</property>
  69. <property name="left_padding">18</property>
  70. <child>
  71. <!-- n-columns=1 n-rows=1 -->
  72. <object class="GtkGrid" id="gridSHADOW">
  73. <property name="visible">True</property>
  74. <property name="can_focus">False</property>
  75. <property name="row_spacing">4</property>
  76. <property name="column_spacing">6</property>
  77. <child>
  78. <object class="GtkSpinButton" id="MTR_SHADOW_TRANSPARENT">
  79. <property name="visible">True</property>
  80. <property name="can_focus">True</property>
  81. <property name="halign">start</property>
  82. <property name="activates_default">True</property>
  83. <property name="adjustment">adjustmentPercent</property>
  84. <property name="truncate-multiline">True</property>
  85. <child internal-child="accessible">
  86. <object class="AtkObject" id="MTR_SHADOW_TRANSPARENT-atkobject">
  87. <property name="AtkObject::accessible-description" translatable="yes" context="shadowtabpage|extended_tip|MTR_SHADOW_TRANSPARENT">Enter a percentage from 0% (opaque) to 100% (transparent) to specify the transparency of the shadow.</property>
  88. </object>
  89. </child>
  90. </object>
  91. <packing>
  92. <property name="left_attach">1</property>
  93. <property name="top_attach">4</property>
  94. </packing>
  95. </child>
  96. <child>
  97. <object class="GtkSpinButton" id="LB_SHADOW_BLUR">
  98. <property name="visible">True</property>
  99. <property name="can_focus">True</property>
  100. <property name="halign">start</property>
  101. <property name="activates_default">True</property>
  102. <property name="truncate-multiline">True</property>
  103. <property name="adjustment">adjustmentPoint</property>
  104. </object>
  105. <packing>
  106. <property name="left_attach">1</property>
  107. <property name="top_attach">3</property>
  108. </packing>
  109. </child>
  110. <child>
  111. <object class="GtkSpinButton" id="MTR_FLD_DISTANCE">
  112. <property name="visible">True</property>
  113. <property name="can_focus">True</property>
  114. <property name="halign">start</property>
  115. <property name="activates_default">True</property>
  116. <property name="adjustment">adjustmentDistance</property>
  117. <property name="truncate-multiline">True</property>
  118. <child internal-child="accessible">
  119. <object class="AtkObject" id="MTR_FLD_DISTANCE-atkobject">
  120. <property name="AtkObject::accessible-description" translatable="yes" context="shadowtabpage|extended_tip|MTR_FLD_DISTANCE">Enter the distance that you want the shadow to be offset from the selected object.</property>
  121. </object>
  122. </child>
  123. </object>
  124. <packing>
  125. <property name="left_attach">1</property>
  126. <property name="top_attach">2</property>
  127. </packing>
  128. </child>
  129. <child>
  130. <object class="GtkScrolledWindow">
  131. <property name="visible">True</property>
  132. <property name="can_focus">True</property>
  133. <property name="hscrollbar_policy">never</property>
  134. <property name="vscrollbar_policy">never</property>
  135. <property name="shadow_type">in</property>
  136. <child>
  137. <object class="GtkViewport">
  138. <property name="visible">True</property>
  139. <property name="can_focus">False</property>
  140. <child>
  141. <object class="GtkDrawingArea" id="CTL_POSITION">
  142. <property name="visible">True</property>
  143. <property name="can_focus">True</property>
  144. <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
  145. <child internal-child="accessible">
  146. <object class="AtkObject" id="CTL_POSITION-atkobject">
  147. <property name="AtkObject::accessible-description" translatable="yes" context="shadowtabpage|extended_tip|CTL_POSITION">Click where you want to cast the shadow.</property>
  148. </object>
  149. </child>
  150. </object>
  151. </child>
  152. </object>
  153. </child>
  154. </object>
  155. <packing>
  156. <property name="left_attach">1</property>
  157. <property name="top_attach">0</property>
  158. </packing>
  159. </child>
  160. <child>
  161. <object class="GtkMenuButton" id="LB_SHADOW_COLOR">
  162. <property name="visible">True</property>
  163. <property name="can_focus">True</property>
  164. <property name="receives_default">False</property>
  165. <property name="xalign">0</property>
  166. <property name="draw_indicator">True</property>
  167. <property name="label" translatable="no"></property>
  168. <child>
  169. <placeholder/>
  170. </child>
  171. <child internal-child="accessible">
  172. <object class="AtkObject" id="LB_SHADOW_COLOR-atkobject">
  173. <property name="AtkObject::accessible-description" translatable="yes" context="shadowtabpage|extended_tip|LB_SHADOW_COLOR">Select a color for the shadow.</property>
  174. </object>
  175. </child>
  176. </object>
  177. <packing>
  178. <property name="left_attach">1</property>
  179. <property name="top_attach">1</property>
  180. </packing>
  181. </child>
  182. <child>
  183. <object class="GtkLabel" id="FT_DISTANCE">
  184. <property name="visible">True</property>
  185. <property name="can_focus">False</property>
  186. <property name="label" translatable="yes" context="shadowtabpage|FT_DISTANCE">_Distance:</property>
  187. <property name="use_underline">True</property>
  188. <property name="mnemonic_widget">MTR_FLD_DISTANCE</property>
  189. <property name="xalign">0</property>
  190. </object>
  191. <packing>
  192. <property name="left_attach">0</property>
  193. <property name="top_attach">2</property>
  194. </packing>
  195. </child>
  196. <child>
  197. <object class="GtkLabel" id="FT_SHADOW_COLOR">
  198. <property name="visible">True</property>
  199. <property name="can_focus">False</property>
  200. <property name="label" translatable="yes" context="shadowtabpage|FT_SHADOW_COLOR">_Color:</property>
  201. <property name="use_underline">True</property>
  202. <property name="mnemonic_widget">LB_SHADOW_COLOR</property>
  203. <property name="xalign">0</property>
  204. </object>
  205. <packing>
  206. <property name="left_attach">0</property>
  207. <property name="top_attach">1</property>
  208. </packing>
  209. </child>
  210. <child>
  211. <object class="GtkLabel" id="FT_SHADOW_BLUR">
  212. <property name="visible">True</property>
  213. <property name="can_focus">False</property>
  214. <property name="label" translatable="yes" context="shadowtabpage|FT_SHADOW_BLUR">_Blur:</property>
  215. <property name="use_underline">True</property>
  216. <property name="mnemonic_widget">LB_SHADOW_BLUR</property>
  217. <property name="xalign">0</property>
  218. </object>
  219. <packing>
  220. <property name="left_attach">0</property>
  221. <property name="top_attach">3</property>
  222. </packing>
  223. </child>
  224. <child>
  225. <object class="GtkLabel" id="FT_TRANSPARENT">
  226. <property name="visible">True</property>
  227. <property name="can_focus">False</property>
  228. <property name="label" translatable="yes" context="shadowtabpage|FT_TRANSPARENT">_Transparency:</property>
  229. <property name="use_underline">True</property>
  230. <property name="mnemonic_widget">MTR_SHADOW_TRANSPARENT</property>
  231. <property name="xalign">0</property>
  232. </object>
  233. <packing>
  234. <property name="left_attach">0</property>
  235. <property name="top_attach">4</property>
  236. </packing>
  237. </child>
  238. <child>
  239. <placeholder/>
  240. </child>
  241. </object>
  242. </child>
  243. </object>
  244. <packing>
  245. <property name="expand">False</property>
  246. <property name="fill">True</property>
  247. <property name="position">1</property>
  248. </packing>
  249. </child>
  250. </object>
  251. </child>
  252. </object>
  253. </child>
  254. <child type="label">
  255. <object class="GtkLabel" id="label">
  256. <property name="visible">True</property>
  257. <property name="can_focus">False</property>
  258. <property name="label" translatable="yes" context="shadowtabpage|label">Properties</property>
  259. <attributes>
  260. <attribute name="weight" value="bold"/>
  261. </attributes>
  262. </object>
  263. </child>
  264. </object>
  265. <packing>
  266. <property name="expand">False</property>
  267. <property name="fill">True</property>
  268. <property name="position">0</property>
  269. </packing>
  270. </child>
  271. <child>
  272. <object class="GtkFrame" id="preview">
  273. <property name="visible">True</property>
  274. <property name="can_focus">False</property>
  275. <property name="label_xalign">0</property>
  276. <property name="shadow_type">none</property>
  277. <child>
  278. <object class="GtkAlignment" id="alignment2">
  279. <property name="visible">True</property>
  280. <property name="can_focus">False</property>
  281. <property name="top_padding">6</property>
  282. <property name="left_padding">12</property>
  283. <child>
  284. <object class="GtkBox" id="box3">
  285. <property name="visible">True</property>
  286. <property name="can_focus">False</property>
  287. <property name="hexpand">True</property>
  288. <property name="orientation">vertical</property>
  289. <property name="homogeneous">True</property>
  290. <child>
  291. <object class="GtkScrolledWindow">
  292. <property name="visible">True</property>
  293. <property name="can_focus">True</property>
  294. <property name="hscrollbar_policy">never</property>
  295. <property name="vscrollbar_policy">never</property>
  296. <property name="shadow_type">in</property>
  297. <child>
  298. <object class="GtkViewport">
  299. <property name="visible">True</property>
  300. <property name="can_focus">False</property>
  301. <child>
  302. <object class="GtkDrawingArea" id="CTL_COLOR_PREVIEW">
  303. <property name="visible">True</property>
  304. <property name="can_focus">False</property>
  305. <child internal-child="accessible">
  306. <object class="AtkObject" id="CTL_COLOR_PREVIEW-atkobject">
  307. <property name="AtkObject::accessible-name" translatable="yes" context="shadowtabpage|CTL_COLOR_PREVIEW-atkobject">Example</property>
  308. </object>
  309. </child>
  310. </object>
  311. </child>
  312. </object>
  313. </child>
  314. </object>
  315. <packing>
  316. <property name="expand">False</property>
  317. <property name="fill">True</property>
  318. <property name="position">0</property>
  319. </packing>
  320. </child>
  321. </object>
  322. </child>
  323. </object>
  324. </child>
  325. <child type="label">
  326. <object class="GtkLabel" id="label1">
  327. <property name="visible">True</property>
  328. <property name="can_focus">False</property>
  329. <property name="label" translatable="yes" context="shadowtabpage|label">Preview</property>
  330. <attributes>
  331. <attribute name="weight" value="bold"/>
  332. </attributes>
  333. </object>
  334. </child>
  335. </object>
  336. <packing>
  337. <property name="expand">False</property>
  338. <property name="fill">True</property>
  339. <property name="position">1</property>
  340. </packing>
  341. </child>
  342. <child internal-child="accessible">
  343. <object class="AtkObject" id="ShadowTabPage-atkobject">
  344. <property name="AtkObject::accessible-description" translatable="yes" context="shadowtabpage|extended_tip|ShadowTabPage">Add a shadow to the selected drawing object, and define the properties of the shadow.</property>
  345. </object>
  346. </child>
  347. </object>
  348. <object class="GtkSizeGroup" id="sizegroup1">
  349. <widgets>
  350. <widget name="MTR_SHADOW_TRANSPARENT"/>
  351. <widget name="MTR_FLD_DISTANCE"/>
  352. <widget name="LB_SHADOW_COLOR"/>
  353. <widget name="LB_SHADOW_BLUR"/>
  354. </widgets>
  355. </object>
  356. <object class="GtkSizeGroup" id="sizegroup2">
  357. <property name="mode">vertical</property>
  358. <widgets>
  359. <widget name="alignment1"/>
  360. <widget name="alignment2"/>
  361. </widgets>
  362. </object>
  363. </interface>