captionoptions.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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="GtkDialog" id="CaptionOptionsDialog">
  6. <property name="can_focus">False</property>
  7. <property name="border_width">6</property>
  8. <property name="title" translatable="yes" context="captionoptions|CaptionOptionsDialog">Caption Options</property>
  9. <property name="modal">True</property>
  10. <property name="default_width">0</property>
  11. <property name="default_height">0</property>
  12. <property name="type_hint">dialog</property>
  13. <child internal-child="vbox">
  14. <object class="GtkBox" id="dialog-vbox1">
  15. <property name="can_focus">False</property>
  16. <property name="orientation">vertical</property>
  17. <property name="spacing">12</property>
  18. <child internal-child="action_area">
  19. <object class="GtkButtonBox" id="dialog-action_area1">
  20. <property name="can_focus">False</property>
  21. <property name="layout_style">end</property>
  22. <child>
  23. <object class="GtkButton" id="ok">
  24. <property name="label">gtk-ok</property>
  25. <property name="visible">True</property>
  26. <property name="can_focus">True</property>
  27. <property name="can_default">True</property>
  28. <property name="has_default">True</property>
  29. <property name="receives_default">True</property>
  30. <property name="use_stock">True</property>
  31. </object>
  32. <packing>
  33. <property name="expand">False</property>
  34. <property name="fill">True</property>
  35. <property name="position">0</property>
  36. </packing>
  37. </child>
  38. <child>
  39. <object class="GtkButton" id="cancel">
  40. <property name="label">gtk-cancel</property>
  41. <property name="visible">True</property>
  42. <property name="can_focus">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">1</property>
  50. </packing>
  51. </child>
  52. <child>
  53. <object class="GtkButton" id="help">
  54. <property name="label">gtk-help</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">2</property>
  64. <property name="secondary">True</property>
  65. </packing>
  66. </child>
  67. </object>
  68. <packing>
  69. <property name="expand">False</property>
  70. <property name="fill">True</property>
  71. <property name="pack_type">end</property>
  72. <property name="position">1</property>
  73. </packing>
  74. </child>
  75. <child>
  76. <object class="GtkBox" id="box1">
  77. <property name="visible">True</property>
  78. <property name="can_focus">False</property>
  79. <property name="hexpand">True</property>
  80. <property name="vexpand">True</property>
  81. <property name="orientation">vertical</property>
  82. <property name="spacing">12</property>
  83. <child>
  84. <object class="GtkFrame" id="frame1">
  85. <property name="visible">True</property>
  86. <property name="can_focus">False</property>
  87. <property name="hexpand">True</property>
  88. <property name="label_xalign">0</property>
  89. <property name="shadow_type">none</property>
  90. <child>
  91. <object class="GtkAlignment" id="alignment1">
  92. <property name="visible">True</property>
  93. <property name="can_focus">False</property>
  94. <property name="top_padding">6</property>
  95. <property name="left_padding">12</property>
  96. <child>
  97. <!-- n-columns=1 n-rows=1 -->
  98. <object class="GtkGrid" id="grid2">
  99. <property name="visible">True</property>
  100. <property name="can_focus">False</property>
  101. <property name="hexpand">True</property>
  102. <property name="row_spacing">6</property>
  103. <property name="column_spacing">12</property>
  104. <child>
  105. <object class="GtkComboBoxText" id="level">
  106. <property name="visible">True</property>
  107. <property name="can_focus">False</property>
  108. <property name="hexpand">True</property>
  109. <child internal-child="accessible">
  110. <object class="AtkObject" id="level-atkobject">
  111. <property name="AtkObject::accessible-description" translatable="yes" context="captionoptions|extended_tip|level">Select the number of outline levels from the top of the chapter hierarchy down to include in the caption label.</property>
  112. </object>
  113. </child>
  114. </object>
  115. <packing>
  116. <property name="left_attach">1</property>
  117. <property name="top_attach">0</property>
  118. </packing>
  119. </child>
  120. <child>
  121. <object class="GtkEntry" id="separator">
  122. <property name="visible">True</property>
  123. <property name="can_focus">True</property>
  124. <property name="hexpand">True</property>
  125. <property name="activates_default">True</property>
  126. <property name="truncate-multiline">True</property>
  127. <child internal-child="accessible">
  128. <object class="AtkObject" id="separator-atkobject">
  129. <property name="AtkObject::accessible-description" translatable="yes" context="captionoptions|extended_tip|separator">Enter the character that you want to insert between the chapter number and the caption number.</property>
  130. </object>
  131. </child>
  132. </object>
  133. <packing>
  134. <property name="left_attach">1</property>
  135. <property name="top_attach">1</property>
  136. </packing>
  137. </child>
  138. <child>
  139. <object class="GtkLabel" id="label5">
  140. <property name="visible">True</property>
  141. <property name="can_focus">False</property>
  142. <property name="label" translatable="yes" context="captionoptions|label5">_Level:</property>
  143. <property name="use_underline">True</property>
  144. <property name="mnemonic_widget">level</property>
  145. <property name="xalign">1</property>
  146. </object>
  147. <packing>
  148. <property name="left_attach">0</property>
  149. <property name="top_attach">0</property>
  150. </packing>
  151. </child>
  152. <child>
  153. <object class="GtkLabel" id="label6">
  154. <property name="visible">True</property>
  155. <property name="can_focus">False</property>
  156. <property name="label" translatable="yes" context="captionoptions|label6">_Separator:</property>
  157. <property name="use_underline">True</property>
  158. <property name="mnemonic_widget">separator</property>
  159. <property name="xalign">1</property>
  160. </object>
  161. <packing>
  162. <property name="left_attach">0</property>
  163. <property name="top_attach">1</property>
  164. </packing>
  165. </child>
  166. </object>
  167. </child>
  168. </object>
  169. </child>
  170. <child type="label">
  171. <object class="GtkLabel" id="label1">
  172. <property name="visible">True</property>
  173. <property name="can_focus">False</property>
  174. <property name="label" translatable="yes" context="captionoptions|label1">Numbering Captions by Chapter</property>
  175. <attributes>
  176. <attribute name="weight" value="bold"/>
  177. </attributes>
  178. </object>
  179. </child>
  180. </object>
  181. <packing>
  182. <property name="expand">False</property>
  183. <property name="fill">True</property>
  184. <property name="position">0</property>
  185. </packing>
  186. </child>
  187. <child>
  188. <object class="GtkFrame" id="frame2">
  189. <property name="visible">True</property>
  190. <property name="can_focus">False</property>
  191. <property name="hexpand">True</property>
  192. <property name="label_xalign">0</property>
  193. <property name="shadow_type">none</property>
  194. <child>
  195. <object class="GtkAlignment" id="alignment2">
  196. <property name="visible">True</property>
  197. <property name="can_focus">False</property>
  198. <property name="top_padding">6</property>
  199. <property name="left_padding">12</property>
  200. <child>
  201. <!-- n-columns=1 n-rows=1 -->
  202. <object class="GtkGrid" id="grid1">
  203. <property name="visible">True</property>
  204. <property name="can_focus">False</property>
  205. <property name="hexpand">True</property>
  206. <property name="row_spacing">6</property>
  207. <property name="column_spacing">12</property>
  208. <child>
  209. <object class="GtkLabel" id="label4">
  210. <property name="visible">True</property>
  211. <property name="can_focus">False</property>
  212. <property name="label" translatable="yes" context="captionoptions|label4">Character style:</property>
  213. <property name="use_underline">True</property>
  214. <property name="mnemonic_widget">style</property>
  215. <property name="xalign">1</property>
  216. </object>
  217. <packing>
  218. <property name="left_attach">0</property>
  219. <property name="top_attach">0</property>
  220. </packing>
  221. </child>
  222. <child>
  223. <object class="GtkComboBoxText" id="style">
  224. <property name="visible">True</property>
  225. <property name="can_focus">False</property>
  226. <property name="hexpand">True</property>
  227. <child internal-child="accessible">
  228. <object class="AtkObject" id="style-atkobject">
  229. <property name="AtkObject::accessible-description" translatable="yes" context="captionoptions|extended_tip|style">Specifies the character style.</property>
  230. </object>
  231. </child>
  232. </object>
  233. <packing>
  234. <property name="left_attach">1</property>
  235. <property name="top_attach">0</property>
  236. </packing>
  237. </child>
  238. <child>
  239. <object class="GtkCheckButton" id="border_and_shadow">
  240. <property name="label" translatable="yes" context="captionoptions|border_and_shadow">_Apply border and shadow</property>
  241. <property name="visible">True</property>
  242. <property name="can_focus">True</property>
  243. <property name="receives_default">False</property>
  244. <property name="halign">start</property>
  245. <property name="use_underline">True</property>
  246. <property name="xalign">0</property>
  247. <property name="draw_indicator">True</property>
  248. <child internal-child="accessible">
  249. <object class="AtkObject" id="border_and_shadow-atkobject">
  250. <property name="AtkObject::accessible-description" translatable="yes" context="captionoptions|extended_tip|border_and_shadow">Applies the border and shadow of the object to the caption frame.</property>
  251. </object>
  252. </child>
  253. </object>
  254. <packing>
  255. <property name="left_attach">0</property>
  256. <property name="top_attach">1</property>
  257. <property name="width">2</property>
  258. </packing>
  259. </child>
  260. </object>
  261. </child>
  262. </object>
  263. </child>
  264. <child type="label">
  265. <object class="GtkLabel" id="label2">
  266. <property name="visible">True</property>
  267. <property name="can_focus">False</property>
  268. <property name="label" translatable="yes" context="captionoptions|label2">Category and Frame Format</property>
  269. <attributes>
  270. <attribute name="weight" value="bold"/>
  271. </attributes>
  272. </object>
  273. </child>
  274. </object>
  275. <packing>
  276. <property name="expand">False</property>
  277. <property name="fill">True</property>
  278. <property name="position">1</property>
  279. </packing>
  280. </child>
  281. <child>
  282. <object class="GtkFrame" id="frame3">
  283. <property name="visible">True</property>
  284. <property name="can_focus">False</property>
  285. <property name="hexpand">True</property>
  286. <property name="label_xalign">0</property>
  287. <property name="shadow_type">none</property>
  288. <child>
  289. <object class="GtkAlignment" id="alignment3">
  290. <property name="visible">True</property>
  291. <property name="can_focus">False</property>
  292. <property name="top_padding">6</property>
  293. <property name="left_padding">12</property>
  294. <child>
  295. <!-- n-columns=1 n-rows=1 -->
  296. <object class="GtkGrid" id="grid3">
  297. <property name="visible">True</property>
  298. <property name="can_focus">False</property>
  299. <property name="hexpand">True</property>
  300. <property name="row_spacing">6</property>
  301. <property name="column_spacing">12</property>
  302. <child>
  303. <object class="GtkLabel" id="label7">
  304. <property name="visible">True</property>
  305. <property name="can_focus">False</property>
  306. <property name="label" translatable="yes" context="captionoptions|label7">Caption order:</property>
  307. <property name="use_underline">True</property>
  308. <property name="mnemonic_widget">caption_order</property>
  309. <property name="xalign">1</property>
  310. </object>
  311. <packing>
  312. <property name="left_attach">0</property>
  313. <property name="top_attach">0</property>
  314. </packing>
  315. </child>
  316. <child>
  317. <object class="GtkComboBoxText" id="caption_order">
  318. <property name="visible">True</property>
  319. <property name="can_focus">False</property>
  320. <property name="hexpand">True</property>
  321. <items>
  322. <item translatable="yes" context="captionoptions|liststore1">Category first</item>
  323. <item translatable="yes" context="captionoptions|liststore1">Numbering first</item>
  324. </items>
  325. </object>
  326. <packing>
  327. <property name="left_attach">1</property>
  328. <property name="top_attach">0</property>
  329. </packing>
  330. </child>
  331. </object>
  332. </child>
  333. </object>
  334. </child>
  335. <child type="label">
  336. <object class="GtkLabel" id="label3">
  337. <property name="visible">True</property>
  338. <property name="can_focus">False</property>
  339. <property name="label" translatable="yes" context="captionoptions|label3">Caption</property>
  340. <attributes>
  341. <attribute name="weight" value="bold"/>
  342. </attributes>
  343. </object>
  344. </child>
  345. </object>
  346. <packing>
  347. <property name="expand">False</property>
  348. <property name="fill">True</property>
  349. <property name="position">2</property>
  350. </packing>
  351. </child>
  352. </object>
  353. <packing>
  354. <property name="expand">True</property>
  355. <property name="fill">True</property>
  356. <property name="position">0</property>
  357. </packing>
  358. </child>
  359. </object>
  360. </child>
  361. <action-widgets>
  362. <action-widget response="-5">ok</action-widget>
  363. <action-widget response="-6">cancel</action-widget>
  364. <action-widget response="-11">help</action-widget>
  365. </action-widgets>
  366. <child type="titlebar">
  367. <placeholder/>
  368. </child>
  369. </object>
  370. <object class="GtkSizeGroup" id="sizegroup1">
  371. <widgets>
  372. <widget name="label5"/>
  373. <widget name="label6"/>
  374. <widget name="label4"/>
  375. <widget name="label7"/>
  376. </widgets>
  377. </object>
  378. </interface>