261 lines
11 KiB
XML
261 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.18.3 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.8"/>
|
|
<requires lib="vn" version="0.0"/>
|
|
<!-- 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>
|
|
<property name="border_width">6</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">5</property>
|
|
<child>
|
|
<object class="GtkBox" id="box2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">4</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>
|
|
<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" translatable="yes">Type or select a query</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="GtkButtonBox" id="buttonbox1">
|
|
<property name="visible">True</property>
|
|
<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>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">2</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="GtkPaned" id="paned1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="scrolledwindow-data">
|
|
<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="grid-selection">
|
|
<property name="mode">multiple</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">True</property>
|
|
<property name="shrink">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="scrolledwindow-log">
|
|
<property name="height_request">100</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</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-selection"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column-log">
|
|
<property name="sizing">fixed</property>
|
|
<property name="title" translatable="yes">Log</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">False</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>
|
|
<object class="GtkCheckButton" id="mode">
|
|
<property name="label" translatable="yes">Immediate changes</property>
|
|
<property name="visible">True</property>
|
|
<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"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<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>
|
|
<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>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<object class="GtkListStore" id="model">
|
|
<columns>
|
|
<!-- column-name col -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
</interface>
|