pace_row_sortable.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface>
  4. <requires lib="gtk+" version="3.24"/>
  5. <template class="PaceRowSortable" parent="PaceRowActivatable">
  6. <property name="visible">True</property>
  7. <property name="can_focus">False</property>
  8. <property name="margin_top">10</property>
  9. <property name="margin_bottom">10</property>
  10. <child>
  11. <object class="GtkStack" id="stack">
  12. <property name="visible">True</property>
  13. <property name="can_focus">False</property>
  14. <child>
  15. <object class="GtkGrid" id="grid_row">
  16. <property name="visible">True</property>
  17. <property name="can_focus">False</property>
  18. <property name="column_spacing">10</property>
  19. <child>
  20. <object class="GtkBox">
  21. <property name="visible">True</property>
  22. <property name="can_focus">False</property>
  23. <property name="valign">center</property>
  24. <property name="vexpand">True</property>
  25. <child>
  26. <object class="GtkButton" id="button_delete">
  27. <property name="visible">True</property>
  28. <property name="can_focus">True</property>
  29. <property name="receives_default">False</property>
  30. <property name="tooltip_text" translatable="yes">Delete</property>
  31. <property name="halign">end</property>
  32. <property name="valign">center</property>
  33. <property name="use_underline">True</property>
  34. <signal name="clicked" handler="on_button_delete_clicked" swapped="no"/>
  35. <child>
  36. <object class="GtkImage">
  37. <property name="visible">True</property>
  38. <property name="can_focus">False</property>
  39. <property name="icon_name">user-trash-symbolic</property>
  40. <property name="icon_size">1</property>
  41. </object>
  42. </child>
  43. </object>
  44. <packing>
  45. <property name="expand">False</property>
  46. <property name="fill">True</property>
  47. <property name="position">2</property>
  48. </packing>
  49. </child>
  50. <child>
  51. <object class="GtkButton" id="button_edit">
  52. <property name="visible">True</property>
  53. <property name="can_focus">True</property>
  54. <property name="receives_default">False</property>
  55. <property name="tooltip_text" translatable="yes">Edit</property>
  56. <property name="halign">start</property>
  57. <property name="valign">center</property>
  58. <property name="use_underline">True</property>
  59. <signal name="clicked" handler="on_button_edit_clicked" swapped="no"/>
  60. <child>
  61. <object class="GtkImage">
  62. <property name="visible">True</property>
  63. <property name="can_focus">False</property>
  64. <property name="icon_name">text-editor-symbolic</property>
  65. <property name="icon_size">1</property>
  66. </object>
  67. </child>
  68. </object>
  69. <packing>
  70. <property name="expand">False</property>
  71. <property name="fill">True</property>
  72. <property name="position">3</property>
  73. </packing>
  74. </child>
  75. <style>
  76. <class name="linked"/>
  77. </style>
  78. </object>
  79. <packing>
  80. <property name="left_attach">1</property>
  81. <property name="top_attach">0</property>
  82. </packing>
  83. </child>
  84. <child>
  85. <placeholder/>
  86. </child>
  87. </object>
  88. <packing>
  89. <property name="name">page_row</property>
  90. <property name="title">pageRow</property>
  91. </packing>
  92. </child>
  93. <child>
  94. <object class="GtkGrid" id="grid_delete">
  95. <property name="height_request">50</property>
  96. <property name="visible">False</property>
  97. <property name="can_focus">False</property>
  98. <property name="hexpand">True</property>
  99. <child>
  100. <object class="GtkLabel" id="label_delete_message">
  101. <property name="visible">True</property>
  102. <property name="can_focus">False</property>
  103. <property name="halign">center</property>
  104. <property name="hexpand">True</property>
  105. <property name="label" translatable="yes">Are you sure you want to delete this</property>
  106. <attributes>
  107. <attribute name="weight" value="ultraheavy"/>
  108. </attributes>
  109. </object>
  110. <packing>
  111. <property name="left_attach">0</property>
  112. <property name="top_attach">0</property>
  113. </packing>
  114. </child>
  115. <child>
  116. <object class="GtkLabel" id="label_delete_info">
  117. <property name="visible">True</property>
  118. <property name="can_focus">False</property>
  119. <property name="halign">center</property>
  120. <property name="hexpand">True</property>
  121. <property name="margin_top">20</property>
  122. <property name="margin_bottom">20</property>
  123. <attributes>
  124. <attribute name="weight" value="ultraheavy"/>
  125. </attributes>
  126. </object>
  127. <packing>
  128. <property name="left_attach">0</property>
  129. <property name="top_attach">1</property>
  130. </packing>
  131. </child>
  132. <child>
  133. <object class="GtkBox">
  134. <property name="height_request">20</property>
  135. <property name="visible">True</property>
  136. <property name="can_focus">False</property>
  137. <property name="hexpand">True</property>
  138. <child>
  139. <object class="GtkButton" id="button_delete_cancel">
  140. <property name="label" translatable="yes">Cancel</property>
  141. <property name="visible">True</property>
  142. <property name="can_focus">True</property>
  143. <property name="receives_default">True</property>
  144. <property name="hexpand">True</property>
  145. <property name="vexpand">True</property>
  146. <signal name="clicked" handler="on_button_delete_cancel_clicked" swapped="no"/>
  147. </object>
  148. <packing>
  149. <property name="expand">True</property>
  150. <property name="fill">True</property>
  151. <property name="position">0</property>
  152. </packing>
  153. </child>
  154. <child>
  155. <object class="GtkButton" id="button_delete_accept">
  156. <property name="label" translatable="yes">Delete</property>
  157. <property name="visible">True</property>
  158. <property name="can_focus">True</property>
  159. <property name="receives_default">True</property>
  160. <property name="hexpand">True</property>
  161. <property name="vexpand">True</property>
  162. <signal name="clicked" handler="on_button_delete_accept_clicked" swapped="no"/>
  163. <style>
  164. <class name="destructive-action"/>
  165. </style>
  166. </object>
  167. <packing>
  168. <property name="expand">True</property>
  169. <property name="fill">True</property>
  170. <property name="position">1</property>
  171. </packing>
  172. </child>
  173. <style>
  174. <class name="linked"/>
  175. </style>
  176. </object>
  177. <packing>
  178. <property name="left_attach">0</property>
  179. <property name="top_attach">2</property>
  180. </packing>
  181. </child>
  182. </object>
  183. <packing>
  184. <property name="name">page_delete</property>
  185. <property name="title">pageDelete</property>
  186. <property name="position">1</property>
  187. </packing>
  188. </child>
  189. <child>
  190. <object class="PaceRepositoryForm" id="edit_form">
  191. <property name="width_request">200</property>
  192. <property name="visible">False</property>
  193. <property name="can_focus">False</property>
  194. <signal name="save" handler="on_edit_save" swapped="no"/>
  195. <signal name="cancel" handler="on_edit_cancel" swapped="no"/>
  196. </object>
  197. <packing>
  198. <property name="name">page_edit</property>
  199. <property name="title">pageEdit</property>
  200. <property name="position">2</property>
  201. </packing>
  202. </child>
  203. </object>
  204. <packing>
  205. <property name="left_attach">1</property>
  206. <property name="top_attach">0</property>
  207. </packing>
  208. </child>
  209. <child>
  210. <object class="GtkEventBox" id="eventbox_drag_n_drop">
  211. <property name="visible">True</property>
  212. <property name="can_focus">False</property>
  213. <property name="margin-start">10</property>
  214. <signal name="drag-begin" handler="on_drag_begin" swapped="no"/>
  215. <signal name="drag-data-get" handler="on_drag_data_get" swapped="no"/>
  216. <signal name="drag-end" handler="on_drag_end" swapped="no"/>
  217. <child>
  218. <object class="GtkImage">
  219. <property name="visible">True</property>
  220. <property name="can_focus">False</property>
  221. <property name="margin-start">10</property>
  222. <property name="margin-end">10</property>
  223. <property name="icon_name">open-menu-symbolic</property>
  224. </object>
  225. </child>
  226. </object>
  227. <packing>
  228. <property name="left_attach">0</property>
  229. <property name="top_attach">0</property>
  230. </packing>
  231. </child>
  232. </template>
  233. </interface>