sernatur/data/ui/tour.list.ui

236 lines
12 KiB
Plaintext
Raw Normal View History

2019-01-05 19:08:51 -03:00
<?xml version="1.0" encoding="UTF-8"?>
2019-01-06 02:04:22 -03:00
<!-- Generated with glade 3.22.1
2019-01-05 19:08:51 -03:00
2019-01-05 19:37:57 -03:00
Copyright 2018-2019 Chris Cromer
2019-01-05 19:08:51 -03:00
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
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.
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.
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.
-->
<interface domain="sernatur">
<requires lib="gtk+" version="3.20"/>
2019-01-14 10:11:38 -03:00
<object class="GtkListStore" id="liststore1"/>
2019-01-13 19:53:13 -03:00
<template class="SernaturTourList" parent="GtkApplicationWindow">
2019-01-05 19:08:51 -03:00
<property name="can_focus">False</property>
<property name="type">popup</property>
2019-01-13 19:53:13 -03:00
<property name="title" translatable="yes">Tours</property>
2019-01-05 19:08:51 -03:00
<property name="modal">True</property>
2019-01-14 10:11:38 -03:00
<property name="window_position">center-on-parent</property>
2019-01-13 19:53:13 -03:00
<property name="default_height">480</property>
2019-01-05 19:08:51 -03:00
<property name="destroy_with_parent">True</property>
2019-01-13 19:53:13 -03:00
<property name="type_hint">dialog</property>
2019-01-05 19:08:51 -03:00
<property name="skip_taskbar_hint">True</property>
<property name="skip_pager_hint">True</property>
<property name="show_menubar">False</property>
2019-01-06 02:04:22 -03:00
<child type="titlebar">
2019-01-05 19:08:51 -03:00
<placeholder/>
</child>
2019-01-06 02:04:22 -03:00
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="hscrollbar_policy">never</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="tour_tree">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="hscroll_policy">natural</property>
<property name="vscroll_policy">natural</property>
2019-01-14 10:11:38 -03:00
<property name="model">liststore1</property>
2019-01-06 02:04:22 -03:00
<property name="fixed_height_mode">True</property>
<property name="enable_grid_lines">both</property>
<property name="enable_tree_lines">True</property>
<child internal-child="selection">
<object class="GtkTreeSelection" id="selection">
2019-01-19 13:44:30 -03:00
<property name="mode">multiple</property>
2019-01-13 19:53:13 -03:00
<signal name="changed" handler="on_changed_selection" swapped="no"/>
2019-01-06 02:04:22 -03:00
</object>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkTreeViewColumn" id="tour_name">
2019-01-06 02:04:22 -03:00
<property name="sizing">fixed</property>
2019-01-13 19:53:13 -03:00
<property name="title" translatable="yes">Tour Name</property>
2019-01-06 02:04:22 -03:00
<property name="clickable">True</property>
2019-01-13 19:53:13 -03:00
<signal name="clicked" handler="on_clicked_column" swapped="no"/>
2019-01-06 02:04:22 -03:00
<child>
<object class="GtkCellRendererText"/>
<attributes>
2019-01-13 19:53:13 -03:00
<attribute name="markup">0</attribute>
2019-01-06 02:04:22 -03:00
</attributes>
</child>
</object>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkTreeViewColumn" id="indiv_cost">
2019-01-06 02:04:22 -03:00
<property name="sizing">fixed</property>
<property name="title" translatable="yes">Individual Cost</property>
<property name="clickable">True</property>
2019-01-13 19:53:13 -03:00
<signal name="clicked" handler="on_clicked_column" swapped="no"/>
2019-01-06 02:04:22 -03:00
<child>
<object class="GtkCellRendererText"/>
<attributes>
2019-01-13 19:53:13 -03:00
<attribute name="markup">1</attribute>
2019-01-06 02:04:22 -03:00
</attributes>
</child>
</object>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkTreeViewColumn" id="group_cost">
2019-01-06 02:04:22 -03:00
<property name="sizing">fixed</property>
<property name="title" translatable="yes">Group Cost</property>
<property name="clickable">True</property>
2019-01-13 19:53:13 -03:00
<signal name="clicked" handler="on_clicked_column" swapped="no"/>
2019-01-06 02:04:22 -03:00
<child>
<object class="GtkCellRendererText"/>
<attributes>
2019-01-13 19:53:13 -03:00
<attribute name="markup">2</attribute>
2019-01-06 02:04:22 -03:00
</attributes>
</child>
</object>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkTreeViewColumn" id="minimum_people">
2019-01-06 02:04:22 -03:00
<property name="sizing">fixed</property>
<property name="title" translatable="yes">Minimum People</property>
<property name="clickable">True</property>
2019-01-13 19:53:13 -03:00
<signal name="clicked" handler="on_clicked_column" swapped="no"/>
2019-01-06 02:04:22 -03:00
<child>
<object class="GtkCellRendererText"/>
<attributes>
2019-01-13 19:53:13 -03:00
<attribute name="markup">3</attribute>
2019-01-06 02:04:22 -03:00
</attributes>
</child>
</object>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkTreeViewColumn" id="city">
2019-01-06 02:04:22 -03:00
<property name="sizing">fixed</property>
<property name="title" translatable="yes">City</property>
<property name="clickable">True</property>
2019-01-13 19:53:13 -03:00
<signal name="clicked" handler="on_clicked_column" swapped="no"/>
2019-01-06 02:04:22 -03:00
<child>
<object class="GtkCellRendererText"/>
<attributes>
2019-01-13 19:53:13 -03:00
<attribute name="markup">4</attribute>
2019-01-06 02:04:22 -03:00
</attributes>
</child>
</object>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkTreeViewColumn" id="region">
2019-01-06 02:04:22 -03:00
<property name="sizing">fixed</property>
<property name="title" translatable="yes">Region</property>
<property name="clickable">True</property>
2019-01-13 19:53:13 -03:00
<signal name="clicked" handler="on_clicked_column" swapped="no"/>
2019-01-06 02:04:22 -03:00
<child>
<object class="GtkCellRendererText"/>
<attributes>
2019-01-13 19:53:13 -03:00
<attribute name="markup">5</attribute>
2019-01-06 02:04:22 -03:00
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">True</property>
2019-01-13 19:53:13 -03:00
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
2019-01-06 02:04:22 -03:00
<property name="hexpand">True</property>
2019-01-13 19:53:13 -03:00
<property name="column_spacing">25</property>
<property name="column_homogeneous">True</property>
2019-01-06 02:04:22 -03:00
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkButton" id="edit_tour">
<property name="label" translatable="yes">Edit</property>
2019-01-06 02:04:22 -03:00
<property name="visible">True</property>
2019-01-13 19:53:13 -03:00
<property name="sensitive">False</property>
2019-01-06 02:04:22 -03:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2019-01-13 19:53:13 -03:00
<property name="tooltip_text" translatable="yes">Edit selected tour.</property>
<signal name="clicked" handler="on_clicked_button" swapped="no"/>
2019-01-06 02:04:22 -03:00
</object>
<packing>
2019-01-13 19:53:13 -03:00
<property name="left_attach">1</property>
2019-01-06 02:04:22 -03:00
<property name="top_attach">0</property>
</packing>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkButton" id="new_tour">
<property name="label" translatable="yes">New</property>
2019-01-06 02:04:22 -03:00
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2019-01-13 19:53:13 -03:00
<property name="tooltip_text" translatable="yes">Create a new tour.</property>
<signal name="clicked" handler="on_clicked_button" swapped="no"/>
2019-01-06 02:04:22 -03:00
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
2019-01-13 19:53:13 -03:00
<object class="GtkButton" id="delete_tour">
<property name="label" translatable="yes">Delete</property>
<property name="visible">True</property>
2019-01-19 13:44:30 -03:00
<property name="sensitive">False</property>
2019-01-13 19:53:13 -03:00
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Delete selected tour.</property>
<signal name="clicked" handler="on_clicked_button" swapped="no"/>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="close_tour">
<property name="label" translatable="yes">Close</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2019-01-19 13:44:30 -03:00
<property name="tooltip_text" translatable="yes">Close this window.</property>
2019-01-13 19:53:13 -03:00
<signal name="clicked" handler="on_clicked_button" swapped="no"/>
</object>
<packing>
<property name="left_attach">3</property>
<property name="top_attach">0</property>
</packing>
2019-01-06 02:04:22 -03:00
</child>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
</object>
</child>
2019-01-05 19:08:51 -03:00
</template>
</interface>