Este proyecto es una aplicación para trabajar con un base de datos Postgresql por el ramo de base de datos. https://cromer.cl/sernatur
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

236 lines
12KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.22.1
  3. Copyright 2018-2019 Chris Cromer
  4. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  5. 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  6. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  7. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  8. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  9. -->
  10. <interface domain="sernatur">
  11. <requires lib="gtk+" version="3.20"/>
  12. <object class="GtkListStore" id="liststore1"/>
  13. <template class="SernaturTourList" parent="GtkApplicationWindow">
  14. <property name="can_focus">False</property>
  15. <property name="type">popup</property>
  16. <property name="title" translatable="yes">Tours</property>
  17. <property name="modal">True</property>
  18. <property name="window_position">center-on-parent</property>
  19. <property name="default_height">480</property>
  20. <property name="destroy_with_parent">True</property>
  21. <property name="type_hint">dialog</property>
  22. <property name="skip_taskbar_hint">True</property>
  23. <property name="skip_pager_hint">True</property>
  24. <property name="show_menubar">False</property>
  25. <child type="titlebar">
  26. <placeholder/>
  27. </child>
  28. <child>
  29. <object class="GtkGrid">
  30. <property name="visible">True</property>
  31. <property name="can_focus">True</property>
  32. <child>
  33. <object class="GtkScrolledWindow">
  34. <property name="visible">True</property>
  35. <property name="can_focus">True</property>
  36. <property name="hexpand">True</property>
  37. <property name="vexpand">True</property>
  38. <property name="hscrollbar_policy">never</property>
  39. <property name="shadow_type">in</property>
  40. <child>
  41. <object class="GtkTreeView" id="tour_tree">
  42. <property name="visible">True</property>
  43. <property name="can_focus">True</property>
  44. <property name="hexpand">True</property>
  45. <property name="vexpand">True</property>
  46. <property name="hscroll_policy">natural</property>
  47. <property name="vscroll_policy">natural</property>
  48. <property name="model">liststore1</property>
  49. <property name="fixed_height_mode">True</property>
  50. <property name="enable_grid_lines">both</property>
  51. <property name="enable_tree_lines">True</property>
  52. <child internal-child="selection">
  53. <object class="GtkTreeSelection" id="selection">
  54. <property name="mode">multiple</property>
  55. <signal name="changed" handler="on_changed_selection" swapped="no"/>
  56. </object>
  57. </child>
  58. <child>
  59. <object class="GtkTreeViewColumn" id="tour_name">
  60. <property name="sizing">fixed</property>
  61. <property name="title" translatable="yes">Tour Name</property>
  62. <property name="clickable">True</property>
  63. <signal name="clicked" handler="on_clicked_column" swapped="no"/>
  64. <child>
  65. <object class="GtkCellRendererText"/>
  66. <attributes>
  67. <attribute name="markup">0</attribute>
  68. </attributes>
  69. </child>
  70. </object>
  71. </child>
  72. <child>
  73. <object class="GtkTreeViewColumn" id="indiv_cost">
  74. <property name="sizing">fixed</property>
  75. <property name="title" translatable="yes">Individual Cost</property>
  76. <property name="clickable">True</property>
  77. <signal name="clicked" handler="on_clicked_column" swapped="no"/>
  78. <child>
  79. <object class="GtkCellRendererText"/>
  80. <attributes>
  81. <attribute name="markup">1</attribute>
  82. </attributes>
  83. </child>
  84. </object>
  85. </child>
  86. <child>
  87. <object class="GtkTreeViewColumn" id="group_cost">
  88. <property name="sizing">fixed</property>
  89. <property name="title" translatable="yes">Group Cost</property>
  90. <property name="clickable">True</property>
  91. <signal name="clicked" handler="on_clicked_column" swapped="no"/>
  92. <child>
  93. <object class="GtkCellRendererText"/>
  94. <attributes>
  95. <attribute name="markup">2</attribute>
  96. </attributes>
  97. </child>
  98. </object>
  99. </child>
  100. <child>
  101. <object class="GtkTreeViewColumn" id="minimum_people">
  102. <property name="sizing">fixed</property>
  103. <property name="title" translatable="yes">Minimum People</property>
  104. <property name="clickable">True</property>
  105. <signal name="clicked" handler="on_clicked_column" swapped="no"/>
  106. <child>
  107. <object class="GtkCellRendererText"/>
  108. <attributes>
  109. <attribute name="markup">3</attribute>
  110. </attributes>
  111. </child>
  112. </object>
  113. </child>
  114. <child>
  115. <object class="GtkTreeViewColumn" id="city">
  116. <property name="sizing">fixed</property>
  117. <property name="title" translatable="yes">City</property>
  118. <property name="clickable">True</property>
  119. <signal name="clicked" handler="on_clicked_column" swapped="no"/>
  120. <child>
  121. <object class="GtkCellRendererText"/>
  122. <attributes>
  123. <attribute name="markup">4</attribute>
  124. </attributes>
  125. </child>
  126. </object>
  127. </child>
  128. <child>
  129. <object class="GtkTreeViewColumn" id="region">
  130. <property name="sizing">fixed</property>
  131. <property name="title" translatable="yes">Region</property>
  132. <property name="clickable">True</property>
  133. <signal name="clicked" handler="on_clicked_column" swapped="no"/>
  134. <child>
  135. <object class="GtkCellRendererText"/>
  136. <attributes>
  137. <attribute name="markup">5</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">0</property>
  148. </packing>
  149. </child>
  150. <child>
  151. <object class="GtkGrid">
  152. <property name="visible">True</property>
  153. <property name="can_focus">True</property>
  154. <property name="margin_left">5</property>
  155. <property name="margin_right">5</property>
  156. <property name="margin_top">5</property>
  157. <property name="margin_bottom">5</property>
  158. <property name="hexpand">True</property>
  159. <property name="column_spacing">25</property>
  160. <property name="column_homogeneous">True</property>
  161. <child>
  162. <object class="GtkButton" id="edit_tour">
  163. <property name="label" translatable="yes">Edit</property>
  164. <property name="visible">True</property>
  165. <property name="sensitive">False</property>
  166. <property name="can_focus">True</property>
  167. <property name="receives_default">True</property>
  168. <property name="tooltip_text" translatable="yes">Edit selected tour.</property>
  169. <signal name="clicked" handler="on_clicked_button" swapped="no"/>
  170. </object>
  171. <packing>
  172. <property name="left_attach">1</property>
  173. <property name="top_attach">0</property>
  174. </packing>
  175. </child>
  176. <child>
  177. <object class="GtkButton" id="new_tour">
  178. <property name="label" translatable="yes">New</property>
  179. <property name="visible">True</property>
  180. <property name="can_focus">True</property>
  181. <property name="receives_default">True</property>
  182. <property name="tooltip_text" translatable="yes">Create a new tour.</property>
  183. <signal name="clicked" handler="on_clicked_button" swapped="no"/>
  184. </object>
  185. <packing>
  186. <property name="left_attach">0</property>
  187. <property name="top_attach">0</property>
  188. </packing>
  189. </child>
  190. <child>
  191. <object class="GtkButton" id="delete_tour">
  192. <property name="label" translatable="yes">Delete</property>
  193. <property name="visible">True</property>
  194. <property name="sensitive">False</property>
  195. <property name="can_focus">True</property>
  196. <property name="receives_default">True</property>
  197. <property name="tooltip_text" translatable="yes">Delete selected tour.</property>
  198. <signal name="clicked" handler="on_clicked_button" swapped="no"/>
  199. </object>
  200. <packing>
  201. <property name="left_attach">2</property>
  202. <property name="top_attach">0</property>
  203. </packing>
  204. </child>
  205. <child>
  206. <object class="GtkButton" id="close_tour">
  207. <property name="label" translatable="yes">Close</property>
  208. <property name="visible">True</property>
  209. <property name="can_focus">True</property>
  210. <property name="receives_default">True</property>
  211. <property name="tooltip_text" translatable="yes">Close this window.</property>
  212. <signal name="clicked" handler="on_clicked_button" swapped="no"/>
  213. </object>
  214. <packing>
  215. <property name="left_attach">3</property>
  216. <property name="top_attach">0</property>
  217. </packing>
  218. </child>
  219. </object>
  220. <packing>
  221. <property name="left_attach">0</property>
  222. <property name="top_attach">1</property>
  223. </packing>
  224. </child>
  225. </object>
  226. </child>
  227. </template>
  228. </interface>