smoothlinesdlg.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="chart">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkAdjustment" id="PolynomialsAdjustment">
  6. <property name="lower">1</property>
  7. <property name="upper">15</property>
  8. <property name="value">3</property>
  9. <property name="step_increment">1</property>
  10. <property name="page_increment">10</property>
  11. </object>
  12. <object class="GtkAdjustment" id="ResolutionAdjustment">
  13. <property name="lower">1</property>
  14. <property name="upper">100</property>
  15. <property name="value">20</property>
  16. <property name="step_increment">1</property>
  17. <property name="page_increment">10</property>
  18. </object>
  19. <object class="GtkDialog" id="SmoothLinesDialog">
  20. <property name="can_focus">False</property>
  21. <property name="border_width">6</property>
  22. <property name="title" translatable="yes" context="smoothlinesdlg|SmoothLinesDialog">Smooth Lines</property>
  23. <property name="modal">True</property>
  24. <property name="default_width">-1</property>
  25. <property name="default_height">-1</property>
  26. <property name="type_hint">dialog</property>
  27. <child type="titlebar">
  28. <placeholder/>
  29. </child>
  30. <child internal-child="vbox">
  31. <object class="GtkBox" id="dialog-vbox1">
  32. <property name="can_focus">False</property>
  33. <property name="hexpand">True</property>
  34. <property name="vexpand">True</property>
  35. <property name="orientation">vertical</property>
  36. <property name="spacing">12</property>
  37. <child internal-child="action_area">
  38. <object class="GtkButtonBox" id="dialog-action_area1">
  39. <property name="can_focus">False</property>
  40. <property name="homogeneous">True</property>
  41. <property name="layout_style">end</property>
  42. <child>
  43. <object class="GtkButton" id="ok">
  44. <property name="label">gtk-ok</property>
  45. <property name="visible">True</property>
  46. <property name="can_focus">True</property>
  47. <property name="can_default">True</property>
  48. <property name="has_default">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">0</property>
  56. </packing>
  57. </child>
  58. <child>
  59. <object class="GtkButton" id="cancel">
  60. <property name="label">gtk-cancel</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">1</property>
  70. </packing>
  71. </child>
  72. <child>
  73. <object class="GtkButton" id="help">
  74. <property name="label">gtk-help</property>
  75. <property name="visible">True</property>
  76. <property name="can_focus">True</property>
  77. <property name="receives_default">True</property>
  78. <property name="margin_right">6</property>
  79. <property name="use_stock">True</property>
  80. </object>
  81. <packing>
  82. <property name="expand">False</property>
  83. <property name="fill">True</property>
  84. <property name="position">2</property>
  85. <property name="secondary">True</property>
  86. </packing>
  87. </child>
  88. </object>
  89. <packing>
  90. <property name="expand">False</property>
  91. <property name="fill">True</property>
  92. <property name="pack_type">end</property>
  93. <property name="position">0</property>
  94. </packing>
  95. </child>
  96. <child>
  97. <object class="GtkBox" id="box1">
  98. <property name="visible">True</property>
  99. <property name="can_focus">False</property>
  100. <property name="hexpand">True</property>
  101. <property name="vexpand">True</property>
  102. <property name="orientation">vertical</property>
  103. <property name="spacing">6</property>
  104. <child>
  105. <object class="GtkBox" id="box2">
  106. <property name="visible">True</property>
  107. <property name="can_focus">False</property>
  108. <property name="hexpand">True</property>
  109. <property name="spacing">12</property>
  110. <child>
  111. <object class="GtkLabel" id="TypeLabel">
  112. <property name="visible">True</property>
  113. <property name="can_focus">False</property>
  114. <property name="label" translatable="yes" context="smoothlinesdlg|TypeLabel">Line _Type:</property>
  115. <property name="use_underline">True</property>
  116. <property name="xalign">0</property>
  117. </object>
  118. <packing>
  119. <property name="expand">False</property>
  120. <property name="fill">True</property>
  121. <property name="position">0</property>
  122. </packing>
  123. </child>
  124. <child>
  125. <object class="GtkComboBoxText" id="SplineTypeComboBox">
  126. <property name="visible">True</property>
  127. <property name="can_focus">False</property>
  128. <property name="hexpand">True</property>
  129. <property name="active">0</property>
  130. <items>
  131. <item translatable="yes" context="smoothlinesdlg|SplineTypeComboBox">Cubic spline</item>
  132. <item translatable="yes" context="smoothlinesdlg|SplineTypeComboBox">B-spline</item>
  133. </items>
  134. <child internal-child="accessible">
  135. <object class="AtkObject" id="SplineTypeComboBox-atkobject">
  136. <property name="AtkObject::accessible-description" translatable="yes" context="smoothlinesdlg|extended_tip|SplineTypeComboBox">Apply a line curve model.</property>
  137. </object>
  138. </child>
  139. </object>
  140. <packing>
  141. <property name="expand">False</property>
  142. <property name="fill">True</property>
  143. <property name="position">1</property>
  144. </packing>
  145. </child>
  146. </object>
  147. <packing>
  148. <property name="expand">False</property>
  149. <property name="fill">True</property>
  150. <property name="position">1</property>
  151. </packing>
  152. </child>
  153. <child>
  154. <object class="GtkAlignment" id="alignment1">
  155. <property name="visible">True</property>
  156. <property name="can_focus">False</property>
  157. <property name="top_padding">6</property>
  158. <property name="left_padding">12</property>
  159. <child>
  160. <!-- n-columns=1 n-rows=1 -->
  161. <object class="GtkGrid" id="grid2">
  162. <property name="visible">True</property>
  163. <property name="can_focus">False</property>
  164. <property name="row_spacing">3</property>
  165. <property name="column_spacing">6</property>
  166. <child>
  167. <object class="GtkLabel" id="ResolutionLabel">
  168. <property name="visible">True</property>
  169. <property name="can_focus">False</property>
  170. <property name="halign">start</property>
  171. <property name="label" translatable="yes" context="smoothlinesdlg|ResolutionLabel">_Resolution:</property>
  172. <property name="use_underline">True</property>
  173. <property name="mnemonic_widget">ResolutionSpinbutton</property>
  174. </object>
  175. <packing>
  176. <property name="left_attach">0</property>
  177. <property name="top_attach">0</property>
  178. </packing>
  179. </child>
  180. <child>
  181. <object class="GtkLabel" id="PolynomialsLabel">
  182. <property name="visible">True</property>
  183. <property name="can_focus">False</property>
  184. <property name="halign">start</property>
  185. <property name="label" translatable="yes" context="smoothlinesdlg|PolynomialsLabel">_Degree of polynomials:</property>
  186. <property name="use_underline">True</property>
  187. <property name="mnemonic_widget">PolynomialsSpinButton</property>
  188. </object>
  189. <packing>
  190. <property name="left_attach">0</property>
  191. <property name="top_attach">1</property>
  192. </packing>
  193. </child>
  194. <child>
  195. <object class="GtkSpinButton" id="ResolutionSpinbutton">
  196. <property name="visible">True</property>
  197. <property name="can_focus">True</property>
  198. <property name="activates_default">True</property>
  199. <property name="adjustment">ResolutionAdjustment</property>
  200. <property name="truncate-multiline">True</property>
  201. <child internal-child="accessible">
  202. <object class="AtkObject" id="ResolutionSpinbutton-atkobject">
  203. <property name="AtkObject::accessible-description" translatable="yes" context="smoothlinesdlg|extended_tip|ResolutionSpinbutton">Set the resolution.</property>
  204. </object>
  205. </child>
  206. </object>
  207. <packing>
  208. <property name="left_attach">1</property>
  209. <property name="top_attach">0</property>
  210. </packing>
  211. </child>
  212. <child>
  213. <object class="GtkSpinButton" id="PolynomialsSpinButton">
  214. <property name="visible">True</property>
  215. <property name="can_focus">True</property>
  216. <property name="activates_default">True</property>
  217. <property name="adjustment">PolynomialsAdjustment</property>
  218. <property name="truncate-multiline">True</property>
  219. <child internal-child="accessible">
  220. <object class="AtkObject" id="PolynomialsSpinButton-atkobject">
  221. <property name="AtkObject::accessible-description" translatable="yes" context="smoothlinesdlg|extended_tip|PolynomialsSpinButton">Set the degree of the polynomials.</property>
  222. </object>
  223. </child>
  224. </object>
  225. <packing>
  226. <property name="left_attach">1</property>
  227. <property name="top_attach">1</property>
  228. </packing>
  229. </child>
  230. </object>
  231. </child>
  232. </object>
  233. <packing>
  234. <property name="expand">False</property>
  235. <property name="fill">True</property>
  236. <property name="position">2</property>
  237. </packing>
  238. </child>
  239. </object>
  240. <packing>
  241. <property name="expand">False</property>
  242. <property name="fill">True</property>
  243. <property name="position">0</property>
  244. </packing>
  245. </child>
  246. </object>
  247. </child>
  248. <action-widgets>
  249. <action-widget response="-5">ok</action-widget>
  250. <action-widget response="-6">cancel</action-widget>
  251. <action-widget response="-11">help</action-widget>
  252. </action-widgets>
  253. <child internal-child="accessible">
  254. <object class="AtkObject" id="SmoothLinesDialog-atkobject">
  255. <property name="AtkObject::accessible-description" translatable="yes" context="smoothlinesdlg|extended_tip|SmoothLinesDialog">Apply a line curve model.</property>
  256. </object>
  257. </child>
  258. </object>
  259. </interface>