pace_configuration.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <interface>
  3. <requires lib="gtk+" version="3.22"/>
  4. <template class="PaceConfiguration" parent="GtkGrid">
  5. <property name="visible">True</property>
  6. <property name="can_focus">False</property>
  7. <property name="margin_top">25</property>
  8. <property name="margin_bottom">25</property>
  9. <property name="hexpand">True</property>
  10. <property name="vexpand">True</property>
  11. <child>
  12. <object class="GtkScrolledWindow">
  13. <property name="visible">True</property>
  14. <property name="can_focus">True</property>
  15. <property name="hexpand">True</property>
  16. <property name="vexpand">True</property>
  17. <property name="propagate_natural_width">True</property>
  18. <property name="propagate_natural_height">True</property>
  19. <child>
  20. <object class="GtkViewport">
  21. <property name="visible">True</property>
  22. <property name="can_focus">False</property>
  23. <property name="hexpand">True</property>
  24. <property name="vexpand">True</property>
  25. <child>
  26. <object class="GtkGrid">
  27. <property name="visible">True</property>
  28. <property name="can_focus">False</property>
  29. <child>
  30. <object class="GtkGrid">
  31. <property name="visible">True</property>
  32. <property name="can_focus">False</property>
  33. <property name="halign">center</property>
  34. <property name="hexpand">True</property>
  35. <child>
  36. <object class="GtkFrame">
  37. <property name="visible">True</property>
  38. <property name="can_focus">False</property>
  39. <property name="halign">center</property>
  40. <property name="hexpand">True</property>
  41. <property name="label_xalign">0</property>
  42. <property name="shadow_type">out</property>
  43. <child>
  44. <object class="GtkListBox">
  45. <property name="visible">True</property>
  46. <property name="can_focus">False</property>
  47. <child>
  48. <object class="GtkListBoxRow">
  49. <property name="width_request">450</property>
  50. <property name="height_request">50</property>
  51. <property name="visible">True</property>
  52. <property name="can_focus">False</property>
  53. <property name="activatable">False</property>
  54. <property name="selectable">False</property>
  55. <child>
  56. <object class="GtkGrid">
  57. <property name="visible">True</property>
  58. <property name="can_focus">False</property>
  59. <property name="valign">center</property>
  60. <property name="margin_left">10</property>
  61. <property name="margin_right">10</property>
  62. <property name="hexpand">True</property>
  63. <property name="vexpand">False</property>
  64. <child>
  65. <object class="GtkLabel">
  66. <property name="visible">True</property>
  67. <property name="can_focus">False</property>
  68. <property name="halign">start</property>
  69. <property name="valign">center</property>
  70. <property name="hexpand">True</property>
  71. <property name="label" translatable="yes">Enable preview</property>
  72. </object>
  73. <packing>
  74. <property name="left_attach">0</property>
  75. <property name="top_attach">0</property>
  76. </packing>
  77. </child>
  78. <child>
  79. <object class="GtkSwitch" id="switch_enable_preview">
  80. <property name="visible">True</property>
  81. <property name="can_focus">True</property>
  82. <property name="halign">end</property>
  83. <property name="valign">center</property>
  84. <property name="hexpand">True</property>
  85. <signal name="notify::active" handler="set_enable_preview" swapped="no"/>
  86. </object>
  87. <packing>
  88. <property name="left_attach">1</property>
  89. <property name="top_attach">0</property>
  90. </packing>
  91. </child>
  92. </object>
  93. </child>
  94. </object>
  95. </child>
  96. <child>
  97. <object class="GtkListBoxRow">
  98. <property name="width_request">450</property>
  99. <property name="height_request">50</property>
  100. <property name="visible">True</property>
  101. <property name="can_focus">False</property>
  102. <property name="activatable">False</property>
  103. <property name="selectable">False</property>
  104. <child>
  105. <object class="GtkGrid">
  106. <property name="visible">True</property>
  107. <property name="can_focus">False</property>
  108. <property name="valign">center</property>
  109. <property name="margin_left">10</property>
  110. <property name="margin_right">10</property>
  111. <property name="hexpand">True</property>
  112. <property name="vexpand">False</property>
  113. <child>
  114. <object class="GtkLabel">
  115. <property name="visible">True</property>
  116. <property name="can_focus">False</property>
  117. <property name="halign">start</property>
  118. <property name="valign">center</property>
  119. <property name="hexpand">True</property>
  120. <property name="label" translatable="yes">Show full preview</property>
  121. </object>
  122. <packing>
  123. <property name="left_attach">0</property>
  124. <property name="top_attach">0</property>
  125. </packing>
  126. </child>
  127. <child>
  128. <object class="GtkSwitch" id="switch_full_preview">
  129. <property name="visible">True</property>
  130. <property name="can_focus">True</property>
  131. <property name="halign">end</property>
  132. <property name="valign">center</property>
  133. <property name="hexpand">True</property>
  134. <signal name="notify::active" handler="set_full_preview" swapped="no"/>
  135. </object>
  136. <packing>
  137. <property name="left_attach">1</property>
  138. <property name="top_attach">0</property>
  139. </packing>
  140. </child>
  141. </object>
  142. </child>
  143. </object>
  144. </child>
  145. </object>
  146. </child>
  147. </object>
  148. <packing>
  149. <property name="left_attach">0</property>
  150. <property name="top_attach">1</property>
  151. </packing>
  152. </child>
  153. <child>
  154. <object class="GtkLabel">
  155. <property name="visible">True</property>
  156. <property name="can_focus">False</property>
  157. <property name="halign">start</property>
  158. <property name="margin_bottom">5</property>
  159. <property name="label" translatable="yes">Preview</property>
  160. <attributes>
  161. <attribute name="weight" value="bold"/>
  162. </attributes>
  163. </object>
  164. <packing>
  165. <property name="left_attach">0</property>
  166. <property name="top_attach">0</property>
  167. </packing>
  168. </child>
  169. </object>
  170. <packing>
  171. <property name="left_attach">0</property>
  172. <property name="top_attach">0</property>
  173. </packing>
  174. </child>
  175. </object>
  176. </child>
  177. </object>
  178. </child>
  179. </object>
  180. <packing>
  181. <property name="left_attach">0</property>
  182. <property name="top_attach">0</property>
  183. </packing>
  184. </child>
  185. </template>
  186. </interface>