2013-10-11 23:07:35 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-06-10 10:48:03 +00:00
|
|
|
<!-- Generated with glade 3.18.3 -->
|
2013-10-11 23:07:35 +00:00
|
|
|
<interface>
|
2014-07-14 08:25:57 +00:00
|
|
|
<requires lib="gtk+" version="3.8"/>
|
2014-05-20 15:45:13 +00:00
|
|
|
<requires lib="vn" version="0.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>
|
|
|
|
<object class="GtkBox" id="main">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="border_width">6</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="spacing">5</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<child>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkBox" id="box2">
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="spacing">4</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<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>
|
|
|
|
<child internal-child="entry">
|
|
|
|
<object class="GtkEntry" id="combo-entry">
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="activates_default">True</property>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="placeholder_text" translatable="yes">Type or select a query</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<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>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkButtonBox" id="buttonbox1">
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">4</property>
|
|
|
|
<property name="layout_style">start</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="button-send">
|
|
|
|
<property name="label" translatable="yes">Send</property>
|
|
|
|
<property name="use_action_appearance">True</property>
|
|
|
|
<property name="related_action">send</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="button-clean">
|
|
|
|
<property name="label" translatable="yes">Clean</property>
|
|
|
|
<property name="use_action_appearance">True</property>
|
|
|
|
<property name="related_action">clean</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
|
|
|
<property name="position">1</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">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2013-10-11 23:07:35 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">False</property>
|
2014-07-14 08:25:57 +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">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkPaned" id="paned1">
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<child>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow-data">
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="VnGrid" id="consulter">
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<child internal-child="selection">
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkTreeSelection" id="grid-selection">
|
|
|
|
<property name="mode">multiple</property>
|
|
|
|
</object>
|
2013-10-11 23:07:35 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="resize">True</property>
|
|
|
|
<property name="shrink">False</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow-log">
|
|
|
|
<property name="height_request">100</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
<child>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkTreeView" id="treeview">
|
2013-10-11 23:07:35 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
2014-07-14 08:25:57 +00:00
|
|
|
<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>
|
2013-10-11 23:07:35 +00:00
|
|
|
<child internal-child="selection">
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkTreeSelection" id="treeview-selection"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTreeViewColumn" id="column-log">
|
|
|
|
<property name="sizing">fixed</property>
|
|
|
|
<property name="title" translatable="yes">Log</property>
|
2014-05-29 08:37:06 +00:00
|
|
|
</object>
|
2013-10-11 23:07:35 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2014-07-14 08:25:57 +00:00
|
|
|
<property name="resize">False</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<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="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>
|
2014-07-14 08:25:57 +00:00
|
|
|
<object class="GtkListStore" id="model">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name col -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
2013-10-11 23:07:35 +00:00
|
|
|
</interface>
|