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.

352 lines
17KB

  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="GtkAdjustment" id="minimum_people_adjustment">
  13. <property name="lower">1</property>
  14. <property name="upper">1000</property>
  15. <property name="value">1</property>
  16. <property name="step_increment">1</property>
  17. <property name="page_increment">10</property>
  18. </object>
  19. <template class="SernaturTourEditor" parent="GtkApplicationWindow">
  20. <property name="can_focus">False</property>
  21. <property name="type">popup</property>
  22. <property name="title" translatable="yes">Tour Editor</property>
  23. <property name="modal">True</property>
  24. <property name="window_position">center-on-parent</property>
  25. <property name="destroy_with_parent">True</property>
  26. <property name="type_hint">dialog</property>
  27. <property name="skip_taskbar_hint">True</property>
  28. <property name="skip_pager_hint">True</property>
  29. <property name="show_menubar">False</property>
  30. <child>
  31. <placeholder/>
  32. </child>
  33. <child>
  34. <object class="GtkGrid">
  35. <property name="visible">True</property>
  36. <property name="can_focus">False</property>
  37. <child>
  38. <object class="GtkLabel">
  39. <property name="visible">True</property>
  40. <property name="can_focus">False</property>
  41. <property name="halign">end</property>
  42. <property name="margin_left">5</property>
  43. <property name="margin_right">5</property>
  44. <property name="margin_top">5</property>
  45. <property name="margin_bottom">5</property>
  46. <property name="label" translatable="yes">Tour Name</property>
  47. </object>
  48. <packing>
  49. <property name="left_attach">0</property>
  50. <property name="top_attach">0</property>
  51. </packing>
  52. </child>
  53. <child>
  54. <object class="GtkEntry" id="tour_name">
  55. <property name="visible">True</property>
  56. <property name="can_focus">True</property>
  57. <property name="margin_left">5</property>
  58. <property name="margin_right">5</property>
  59. <property name="margin_top">5</property>
  60. <property name="margin_bottom">5</property>
  61. <property name="hexpand">True</property>
  62. <property name="max_length">50</property>
  63. <property name="caps_lock_warning">False</property>
  64. </object>
  65. <packing>
  66. <property name="left_attach">1</property>
  67. <property name="top_attach">0</property>
  68. </packing>
  69. </child>
  70. <child>
  71. <object class="GtkLabel">
  72. <property name="visible">True</property>
  73. <property name="can_focus">False</property>
  74. <property name="halign">end</property>
  75. <property name="margin_left">5</property>
  76. <property name="margin_right">5</property>
  77. <property name="margin_top">5</property>
  78. <property name="margin_bottom">5</property>
  79. <property name="label" translatable="yes">Individual Cost</property>
  80. </object>
  81. <packing>
  82. <property name="left_attach">0</property>
  83. <property name="top_attach">1</property>
  84. </packing>
  85. </child>
  86. <child>
  87. <object class="GtkLabel">
  88. <property name="visible">True</property>
  89. <property name="can_focus">False</property>
  90. <property name="halign">end</property>
  91. <property name="margin_left">5</property>
  92. <property name="margin_right">5</property>
  93. <property name="margin_top">5</property>
  94. <property name="margin_bottom">5</property>
  95. <property name="label" translatable="yes">Group Cost</property>
  96. </object>
  97. <packing>
  98. <property name="left_attach">0</property>
  99. <property name="top_attach">2</property>
  100. </packing>
  101. </child>
  102. <child>
  103. <object class="GtkLabel">
  104. <property name="visible">True</property>
  105. <property name="can_focus">False</property>
  106. <property name="halign">end</property>
  107. <property name="margin_left">5</property>
  108. <property name="margin_right">5</property>
  109. <property name="margin_top">5</property>
  110. <property name="margin_bottom">5</property>
  111. <property name="label" translatable="yes">Minimum People</property>
  112. </object>
  113. <packing>
  114. <property name="left_attach">0</property>
  115. <property name="top_attach">3</property>
  116. </packing>
  117. </child>
  118. <child>
  119. <object class="GtkLabel">
  120. <property name="visible">True</property>
  121. <property name="can_focus">False</property>
  122. <property name="halign">end</property>
  123. <property name="margin_left">5</property>
  124. <property name="margin_right">5</property>
  125. <property name="margin_top">5</property>
  126. <property name="margin_bottom">5</property>
  127. <property name="label" translatable="yes">Region</property>
  128. </object>
  129. <packing>
  130. <property name="left_attach">0</property>
  131. <property name="top_attach">4</property>
  132. </packing>
  133. </child>
  134. <child>
  135. <object class="GtkEntry" id="indiv_cost">
  136. <property name="visible">True</property>
  137. <property name="can_focus">True</property>
  138. <property name="margin_left">5</property>
  139. <property name="margin_right">5</property>
  140. <property name="margin_top">5</property>
  141. <property name="margin_bottom">5</property>
  142. <property name="hexpand">True</property>
  143. <property name="max_length">10</property>
  144. <property name="caps_lock_warning">False</property>
  145. <property name="input_purpose">number</property>
  146. </object>
  147. <packing>
  148. <property name="left_attach">1</property>
  149. <property name="top_attach">1</property>
  150. </packing>
  151. </child>
  152. <child>
  153. <object class="GtkEntry" id="group_cost">
  154. <property name="visible">True</property>
  155. <property name="can_focus">True</property>
  156. <property name="margin_left">5</property>
  157. <property name="margin_right">5</property>
  158. <property name="margin_top">5</property>
  159. <property name="margin_bottom">5</property>
  160. <property name="hexpand">True</property>
  161. <property name="max_length">10</property>
  162. <property name="caps_lock_warning">False</property>
  163. <property name="input_purpose">number</property>
  164. </object>
  165. <packing>
  166. <property name="left_attach">1</property>
  167. <property name="top_attach">2</property>
  168. </packing>
  169. </child>
  170. <child>
  171. <object class="GtkLabel">
  172. <property name="visible">True</property>
  173. <property name="can_focus">False</property>
  174. <property name="halign">end</property>
  175. <property name="margin_left">5</property>
  176. <property name="margin_right">5</property>
  177. <property name="margin_top">5</property>
  178. <property name="margin_bottom">5</property>
  179. <property name="label" translatable="yes">City</property>
  180. </object>
  181. <packing>
  182. <property name="left_attach">0</property>
  183. <property name="top_attach">5</property>
  184. </packing>
  185. </child>
  186. <child>
  187. <object class="GtkSpinButton" id="minimum_people">
  188. <property name="visible">True</property>
  189. <property name="can_focus">True</property>
  190. <property name="margin_left">5</property>
  191. <property name="margin_right">5</property>
  192. <property name="margin_top">5</property>
  193. <property name="margin_bottom">5</property>
  194. <property name="hexpand">True</property>
  195. <property name="max_length">4</property>
  196. <property name="width_chars">4</property>
  197. <property name="caps_lock_warning">False</property>
  198. <property name="input_purpose">digits</property>
  199. <property name="adjustment">minimum_people_adjustment</property>
  200. <property name="snap_to_ticks">True</property>
  201. <property name="numeric">True</property>
  202. <property name="update_policy">if-valid</property>
  203. </object>
  204. <packing>
  205. <property name="left_attach">1</property>
  206. <property name="top_attach">3</property>
  207. </packing>
  208. </child>
  209. <child>
  210. <object class="GtkComboBoxText" id="region">
  211. <property name="visible">True</property>
  212. <property name="can_focus">True</property>
  213. <property name="focus_on_click">False</property>
  214. <property name="margin_left">5</property>
  215. <property name="margin_right">5</property>
  216. <property name="margin_top">5</property>
  217. <property name="margin_bottom">5</property>
  218. <property name="hexpand">True</property>
  219. <property name="has_entry">True</property>
  220. <property name="popup_fixed_width">False</property>
  221. <signal name="changed" handler="on_changed_combobox" swapped="no"/>
  222. <child internal-child="entry">
  223. <object class="GtkEntry">
  224. <property name="visible">True</property>
  225. <property name="can_focus">True</property>
  226. <property name="tooltip_text" translatable="yes">Create a new region by typing here.</property>
  227. <property name="hexpand">True</property>
  228. <property name="max_length">50</property>
  229. <property name="caps_lock_warning">False</property>
  230. </object>
  231. </child>
  232. </object>
  233. <packing>
  234. <property name="left_attach">1</property>
  235. <property name="top_attach">4</property>
  236. </packing>
  237. </child>
  238. <child>
  239. <object class="GtkComboBoxText" id="city">
  240. <property name="visible">True</property>
  241. <property name="can_focus">True</property>
  242. <property name="focus_on_click">False</property>
  243. <property name="margin_left">5</property>
  244. <property name="margin_right">5</property>
  245. <property name="margin_top">5</property>
  246. <property name="margin_bottom">5</property>
  247. <property name="hexpand">True</property>
  248. <property name="has_entry">True</property>
  249. <property name="popup_fixed_width">False</property>
  250. <child internal-child="entry">
  251. <object class="GtkEntry" id="city_entry">
  252. <property name="visible">True</property>
  253. <property name="can_focus">True</property>
  254. <property name="tooltip_text" translatable="yes">Create a new city by typing here.</property>
  255. <property name="hexpand">True</property>
  256. <property name="max_length">50</property>
  257. <property name="caps_lock_warning">False</property>
  258. </object>
  259. </child>
  260. </object>
  261. <packing>
  262. <property name="left_attach">1</property>
  263. <property name="top_attach">5</property>
  264. </packing>
  265. </child>
  266. <child>
  267. <object class="GtkBox">
  268. <property name="visible">True</property>
  269. <property name="can_focus">False</property>
  270. <property name="margin_left">5</property>
  271. <property name="margin_right">5</property>
  272. <property name="margin_top">5</property>
  273. <property name="margin_bottom">5</property>
  274. <property name="hexpand">True</property>
  275. <property name="spacing">25</property>
  276. <property name="homogeneous">True</property>
  277. <child>
  278. <object class="GtkButton" id="cancel">
  279. <property name="label" translatable="yes">Cancel</property>
  280. <property name="visible">True</property>
  281. <property name="can_focus">True</property>
  282. <property name="receives_default">True</property>
  283. <property name="tooltip_text" translatable="yes">Cancel the modification of this tour.</property>
  284. <property name="margin_left">5</property>
  285. <property name="margin_right">5</property>
  286. <property name="margin_top">5</property>
  287. <property name="margin_bottom">5</property>
  288. <signal name="clicked" handler="on_clicked_button" swapped="no"/>
  289. </object>
  290. <packing>
  291. <property name="expand">False</property>
  292. <property name="fill">True</property>
  293. <property name="position">0</property>
  294. </packing>
  295. </child>
  296. <child>
  297. <object class="GtkButton" id="places">
  298. <property name="label" translatable="yes">Places</property>
  299. <property name="visible">True</property>
  300. <property name="can_focus">True</property>
  301. <property name="receives_default">True</property>
  302. <property name="tooltip_text" translatable="yes">Add or edit places.</property>
  303. <property name="margin_left">5</property>
  304. <property name="margin_right">5</property>
  305. <property name="margin_top">5</property>
  306. <property name="margin_bottom">5</property>
  307. <signal name="clicked" handler="on_clicked_button" swapped="no"/>
  308. </object>
  309. <packing>
  310. <property name="expand">False</property>
  311. <property name="fill">True</property>
  312. <property name="position">1</property>
  313. </packing>
  314. </child>
  315. <child>
  316. <object class="GtkButton" id="save">
  317. <property name="label" translatable="yes">Save</property>
  318. <property name="visible">True</property>
  319. <property name="can_focus">True</property>
  320. <property name="receives_default">True</property>
  321. <property name="tooltip_text" translatable="yes">Save this tour.</property>
  322. <property name="margin_left">5</property>
  323. <property name="margin_right">5</property>
  324. <property name="margin_top">5</property>
  325. <property name="margin_bottom">5</property>
  326. <signal name="clicked" handler="on_clicked_button" swapped="no"/>
  327. </object>
  328. <packing>
  329. <property name="expand">False</property>
  330. <property name="fill">True</property>
  331. <property name="position">2</property>
  332. </packing>
  333. </child>
  334. </object>
  335. <packing>
  336. <property name="left_attach">0</property>
  337. <property name="top_attach">6</property>
  338. <property name="width">2</property>
  339. </packing>
  340. </child>
  341. </object>
  342. </child>
  343. </template>
  344. </interface>