fontdialog.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="sm">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkTreeStore" id="liststore1">
  6. <columns>
  7. <!-- column-name text -->
  8. <column type="gchararray"/>
  9. <!-- column-name id -->
  10. <column type="gchararray"/>
  11. </columns>
  12. </object>
  13. <object class="GtkDialog" id="FontDialog">
  14. <property name="can_focus">False</property>
  15. <property name="border_width">6</property>
  16. <property name="title" translatable="yes" context="fontdialog|FontDialog">Fonts</property>
  17. <property name="modal">True</property>
  18. <property name="type_hint">dialog</property>
  19. <child internal-child="vbox">
  20. <object class="GtkBox" id="dialog-vbox1">
  21. <property name="can_focus">False</property>
  22. <property name="orientation">vertical</property>
  23. <property name="spacing">12</property>
  24. <child internal-child="action_area">
  25. <object class="GtkButtonBox" id="dialog-action_area1">
  26. <property name="can_focus">False</property>
  27. <property name="layout_style">end</property>
  28. <child>
  29. <object class="GtkButton" id="ok">
  30. <property name="label">gtk-ok</property>
  31. <property name="visible">True</property>
  32. <property name="can_focus">True</property>
  33. <property name="can_default">True</property>
  34. <property name="has_default">True</property>
  35. <property name="receives_default">True</property>
  36. <property name="use_stock">True</property>
  37. </object>
  38. <packing>
  39. <property name="expand">False</property>
  40. <property name="fill">True</property>
  41. <property name="position">0</property>
  42. </packing>
  43. </child>
  44. <child>
  45. <object class="GtkButton" id="cancel">
  46. <property name="label">gtk-cancel</property>
  47. <property name="visible">True</property>
  48. <property name="can_focus">True</property>
  49. <property name="receives_default">True</property>
  50. <property name="use_stock">True</property>
  51. </object>
  52. <packing>
  53. <property name="expand">False</property>
  54. <property name="fill">True</property>
  55. <property name="position">1</property>
  56. </packing>
  57. </child>
  58. <child>
  59. <object class="GtkButton" id="help">
  60. <property name="label">gtk-help</property>
  61. <property name="visible">True</property>
  62. <property name="can_focus">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">2</property>
  70. <property name="secondary">True</property>
  71. </packing>
  72. </child>
  73. </object>
  74. <packing>
  75. <property name="expand">False</property>
  76. <property name="fill">True</property>
  77. <property name="pack_type">end</property>
  78. <property name="position">0</property>
  79. </packing>
  80. </child>
  81. <child>
  82. <object class="GtkBox" id="box1">
  83. <property name="visible">True</property>
  84. <property name="can_focus">False</property>
  85. <property name="hexpand">True</property>
  86. <property name="vexpand">True</property>
  87. <property name="orientation">vertical</property>
  88. <property name="spacing">12</property>
  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="top_padding">6</property>
  102. <property name="left_padding">12</property>
  103. <child>
  104. <!-- n-columns=1 n-rows=1 -->
  105. <object class="GtkGrid" id="fontgrid">
  106. <property name="visible">True</property>
  107. <property name="can_focus">False</property>
  108. <property name="hexpand">True</property>
  109. <property name="vexpand">True</property>
  110. <property name="row_spacing">3</property>
  111. <child>
  112. <object class="GtkScrolledWindow">
  113. <property name="visible">True</property>
  114. <property name="can_focus">False</property>
  115. <property name="hexpand">True</property>
  116. <property name="vexpand">True</property>
  117. <property name="shadow_type">in</property>
  118. <child>
  119. <object class="GtkTreeView" id="fonts">
  120. <property name="visible">True</property>
  121. <property name="can_focus">True</property>
  122. <property name="hexpand">True</property>
  123. <property name="vexpand">True</property>
  124. <property name="model">liststore1</property>
  125. <property name="headers_visible">False</property>
  126. <property name="headers_clickable">False</property>
  127. <property name="search_column">0</property>
  128. <property name="show_expanders">False</property>
  129. <child internal-child="selection">
  130. <object class="GtkTreeSelection" id="treeview-selection1"/>
  131. </child>
  132. <child>
  133. <object class="GtkTreeViewColumn" id="treeviewcolumn1">
  134. <child>
  135. <object class="GtkCellRendererText" id="cellrenderertext1"/>
  136. <attributes>
  137. <attribute name="text">0</attribute>
  138. </attributes>
  139. </child>
  140. </object>
  141. </child>
  142. </object>
  143. </child>
  144. </object>
  145. <packing>
  146. <property name="left_attach">0</property>
  147. <property name="top_attach">1</property>
  148. </packing>
  149. </child>
  150. <child>
  151. <object class="GtkEntry" id="font">
  152. <property name="visible">True</property>
  153. <property name="can_focus">True</property>
  154. <property name="hexpand">True</property>
  155. <property name="activates_default">True</property>
  156. <property name="truncate-multiline">True</property>
  157. <child internal-child="accessible">
  158. <object class="AtkObject" id="font-atkobject">
  159. <property name="AtkObject::accessible-description" translatable="yes" context="fontdialog|extended_tip|font">Select a font from the list.</property>
  160. </object>
  161. </child>
  162. </object>
  163. <packing>
  164. <property name="left_attach">0</property>
  165. <property name="top_attach">0</property>
  166. </packing>
  167. </child>
  168. </object>
  169. </child>
  170. </object>
  171. </child>
  172. <child type="label">
  173. <object class="GtkLabel" id="formulaL">
  174. <property name="visible">True</property>
  175. <property name="can_focus">False</property>
  176. <property name="label" translatable="yes" context="fontdialog|formulaL">Font</property>
  177. <property name="use_underline">True</property>
  178. <property name="xalign">0</property>
  179. <attributes>
  180. <attribute name="weight" value="bold"/>
  181. </attributes>
  182. </object>
  183. </child>
  184. </object>
  185. <packing>
  186. <property name="expand">False</property>
  187. <property name="fill">True</property>
  188. <property name="position">0</property>
  189. </packing>
  190. </child>
  191. <child>
  192. <object class="GtkFrame" id="attrframe">
  193. <property name="visible">True</property>
  194. <property name="can_focus">False</property>
  195. <property name="label_xalign">0</property>
  196. <property name="shadow_type">none</property>
  197. <child>
  198. <object class="GtkAlignment" id="alignment2">
  199. <property name="visible">True</property>
  200. <property name="can_focus">False</property>
  201. <property name="top_padding">6</property>
  202. <property name="left_padding">12</property>
  203. <child>
  204. <!-- n-columns=1 n-rows=1 -->
  205. <object class="GtkGrid" id="grid2">
  206. <property name="visible">True</property>
  207. <property name="can_focus">False</property>
  208. <property name="row_spacing">6</property>
  209. <property name="column_spacing">12</property>
  210. <property name="column_homogeneous">True</property>
  211. <child>
  212. <object class="GtkCheckButton" id="bold">
  213. <property name="label" translatable="yes" context="fontdialog|bold">_Bold</property>
  214. <property name="visible">True</property>
  215. <property name="can_focus">True</property>
  216. <property name="receives_default">False</property>
  217. <property name="use_underline">True</property>
  218. <property name="xalign">0</property>
  219. <property name="draw_indicator">True</property>
  220. <child internal-child="accessible">
  221. <object class="AtkObject" id="bold-atkobject">
  222. <property name="AtkObject::accessible-description" translatable="yes" context="fontdialog|extended_tip|bold">Check this box to assign the bold attribute to the font.</property>
  223. </object>
  224. </child>
  225. </object>
  226. <packing>
  227. <property name="left_attach">0</property>
  228. <property name="top_attach">0</property>
  229. </packing>
  230. </child>
  231. <child>
  232. <object class="GtkCheckButton" id="italic">
  233. <property name="label" translatable="yes" context="fontdialog|italic">_Italic</property>
  234. <property name="visible">True</property>
  235. <property name="can_focus">True</property>
  236. <property name="receives_default">False</property>
  237. <property name="use_underline">True</property>
  238. <property name="xalign">0</property>
  239. <property name="draw_indicator">True</property>
  240. <child internal-child="accessible">
  241. <object class="AtkObject" id="italic-atkobject">
  242. <property name="AtkObject::accessible-description" translatable="yes" context="fontdialog|extended_tip|italic">Check this box to assign the italic attribute to the font.</property>
  243. </object>
  244. </child>
  245. </object>
  246. <packing>
  247. <property name="left_attach">0</property>
  248. <property name="top_attach">1</property>
  249. </packing>
  250. </child>
  251. </object>
  252. </child>
  253. </object>
  254. </child>
  255. <child type="label">
  256. <object class="GtkLabel" id="formulaL1">
  257. <property name="visible">True</property>
  258. <property name="can_focus">False</property>
  259. <property name="label" translatable="yes" context="fontdialog|formulaL1">Attributes</property>
  260. <property name="use_underline">True</property>
  261. <property name="xalign">0</property>
  262. <attributes>
  263. <attribute name="weight" value="bold"/>
  264. </attributes>
  265. </object>
  266. </child>
  267. </object>
  268. <packing>
  269. <property name="expand">False</property>
  270. <property name="fill">True</property>
  271. <property name="position">1</property>
  272. </packing>
  273. </child>
  274. <child>
  275. <object class="GtkScrolledWindow">
  276. <property name="visible">True</property>
  277. <property name="can_focus">False</property>
  278. <property name="hscrollbar_policy">never</property>
  279. <property name="vscrollbar_policy">never</property>
  280. <property name="shadow_type">in</property>
  281. <child>
  282. <object class="GtkViewport">
  283. <property name="visible">True</property>
  284. <property name="can_focus">False</property>
  285. <child>
  286. <object class="GtkDrawingArea" id="preview">
  287. <property name="visible">True</property>
  288. <property name="can_focus">False</property>
  289. </object>
  290. </child>
  291. </object>
  292. </child>
  293. </object>
  294. <packing>
  295. <property name="expand">False</property>
  296. <property name="fill">True</property>
  297. <property name="position">2</property>
  298. </packing>
  299. </child>
  300. </object>
  301. <packing>
  302. <property name="expand">False</property>
  303. <property name="fill">True</property>
  304. <property name="position">1</property>
  305. </packing>
  306. </child>
  307. </object>
  308. </child>
  309. <action-widgets>
  310. <action-widget response="-5">ok</action-widget>
  311. <action-widget response="-6">cancel</action-widget>
  312. <action-widget response="-11">help</action-widget>
  313. </action-widgets>
  314. <child type="titlebar">
  315. <placeholder/>
  316. </child>
  317. <child internal-child="accessible">
  318. <object class="AtkObject" id="FontDialog-atkobject">
  319. <property name="AtkObject::accessible-description" translatable="yes" context="fontdialog|extended_tip|FontDialog">Use this dialog to select the font for the respective category in the Fonts dialog.</property>
  320. </object>
  321. </child>
  322. </object>
  323. </interface>