2013-10-11 23:07:35 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2013-10-23 08:58:06 +00:00
|
|
|
<!-- interface-requires vn 0.0 -->
|
2014-01-10 14:08:52 +00:00
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2013-10-11 23:07:35 +00:00
|
|
|
<!-- interface-local-resource-path ../image -->
|
|
|
|
<object class="GtkActionGroup" id="actions">
|
|
|
|
<child>
|
|
|
|
<object class="GtkAction" id="send">
|
|
|
|
<property name="label" translatable="yes">Send</property>
|
|
|
|
<property name="short_label" translatable="yes">Send</property>
|
|
|
|
<property name="tooltip" translatable="yes">Send the current query</property>
|
|
|
|
<property name="icon_name">system-run</property>
|
|
|
|
<signal name="activate" handler="vn_consulter_send" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<accelerator key="s" modifiers="GDK_CONTROL_MASK"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkAction" id="clean">
|
|
|
|
<property name="label" translatable="yes">Clean</property>
|
|
|
|
<property name="short_label" translatable="yes">Clean</property>
|
|
|
|
<property name="tooltip" translatable="yes">Clean the messages</property>
|
|
|
|
<property name="icon_name">edit-clear</property>
|
|
|
|
<signal name="activate" handler="vn_consulter_clean_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<accelerator key="f" modifiers="GDK_CONTROL_MASK"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkAction" id="menu">
|
|
|
|
<property name="label" translatable="yes">_Consulter</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2014-01-02 11:29:46 +00:00
|
|
|
<object class="GtkListStore" id="model">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name col -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
2013-10-11 23:07:35 +00:00
|
|
|
<object class="GtkBox" id="main">
|
|
|
|
<property name="height_request">300</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="border_width">8</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHBox" id="hbox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="xalign">1</property>
|
|
|
|
<property name="label" translatable="yes">Query:</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBoxText" id="query">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="has_entry">True</property>
|
|
|
|
<property name="entry_text_column">0</property>
|
|
|
|
<property name="id_column">1</property>
|
|
|
|
<child internal-child="entry">
|
|
|
|
<object class="GtkEntry" id="combo-entry">
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="activates_default">True</property>
|
|
|
|
<property name="placeholder_text">Set on the code</property>
|
|
|
|
<signal name="activate" handler="gtk_action_activate" object="send" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="button-send">
|
|
|
|
<property name="related_action">send</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="button-clean">
|
|
|
|
<property name="related_action">clean</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="stop">
|
|
|
|
<property name="label">gtk-stop</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="vn_consulter_on_stop_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkVPaned" id="paned">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="position">120</property>
|
|
|
|
<property name="position_set">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeView" id="treeview">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="model">model</property>
|
|
|
|
<property name="rules_hint">True</property>
|
|
|
|
<property name="search_column">0</property>
|
|
|
|
<property name="fixed_height_mode">True</property>
|
|
|
|
<property name="rubber_banding">True</property>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="treeview-selection1"/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="resize">False</property>
|
|
|
|
<property name="shrink">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
|
|
|
<object class="VnGrid" id="consulter">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="treeform-selection"/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="resize">True</property>
|
|
|
|
<property name="shrink">True</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box1">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
<child>
|
2014-01-02 11:29:46 +00:00
|
|
|
<object class="GtkCheckButton" id="mode">
|
|
|
|
<property name="label" translatable="yes">Immediate changes</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
2014-01-02 11:29:46 +00:00
|
|
|
<property name="sensitive">False</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
<property name="draw_indicator">True</property>
|
|
|
|
<signal name="toggled" handler="vn_consulter_mode_toggled" swapped="no"/>
|
2013-10-11 23:07:35 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2014-01-02 11:29:46 +00:00
|
|
|
<property name="expand">False</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="VnHandler" id="handler">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-01-10 14:08:52 +00:00
|
|
|
<property name="spacing">6</property>
|
2014-01-02 11:29:46 +00:00
|
|
|
<property name="layout_style">end</property>
|
2014-01-10 14:08:52 +00:00
|
|
|
<property name="show_flags">VN_HANDLER_SHOW_REFRESH | VN_HANDLER_SHOW_UNDO | VN_HANDLER_SHOW_SAVE | VN_HANDLER_SHOW_REMOVE | VN_HANDLER_SHOW_ADD | VN_HANDLER_SHOW_SCROLL</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2014-01-02 11:29:46 +00:00
|
|
|
<property name="expand">True</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="fill">True</property>
|
2014-01-10 14:08:52 +00:00
|
|
|
<property name="position">2</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|