diff options
Diffstat (limited to 'rcm-client.ui')
-rw-r--r-- | rcm-client.ui | 377 |
1 files changed, 370 insertions, 7 deletions
diff --git a/rcm-client.ui b/rcm-client.ui index 0e3fae1..4edd537 100644 --- a/rcm-client.ui +++ b/rcm-client.ui @@ -2,6 +2,31 @@ <!-- Generated with glade 3.19.0 --> <interface> <requires lib="gtk+" version="3.16"/> + <object class="GtkImage" id="advanced_keymap_add_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">list-add</property> + </object> + <object class="GtkListStore" id="advanced_keymap_liststore"> + <columns> + <!-- column-name protocol --> + <column type="gchararray"/> + <!-- column-name scancode --> + <column type="guint64"/> + <!-- column-name keycode --> + <column type="gchararray"/> + </columns> + </object> + <object class="GtkImage" id="advanced_keymap_refresh_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">view-refresh</property> + </object> + <object class="GtkImage" id="advanced_keymap_remove_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">list-remove</property> + </object> <object class="GtkWindow" id="advanced"> <property name="can_focus">False</property> <child> @@ -157,20 +182,19 @@ a keytable</property> </packing> </child> <child> - <object class="GtkButton" id="advanced_main_keytable"> + <object class="GtkButton" id="advanced_main_keymap"> <property name="visible">True</property> - <property name="sensitive">False</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="hexpand">True</property> <property name="relief">none</property> <child> - <object class="GtkBox" id="advanced_main_keytable_box"> + <object class="GtkBox" id="advanced_main_keymap_box"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">12</property> <child> - <object class="GtkImage" id="advanced_main_keytable_icon"> + <object class="GtkImage" id="advanced_main_keymap_icon"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> @@ -185,12 +209,12 @@ a keytable</property> </packing> </child> <child> - <object class="GtkLabel" id="advanced_main_keytable_label"> + <object class="GtkLabel" id="advanced_main_keymap_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b><big>Edit Kernel Keytable</big></b> + <property name="label" translatable="yes"><b><big>Edit Kernel Keymap</big></b> Edit the in-kernel protocol/scancode -to keycode table</property> +to keycode mappings</property> <property name="use_markup">True</property> </object> <packing> @@ -324,6 +348,179 @@ Based on protocol and scancode</property> <property name="position">1</property> </packing> </child> + <child> + <object class="GtkGrid" id="advanced_keymap_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">12</property> + <property name="column_spacing">6</property> + <child> + <object class="GtkImage" id="advanced_keymap_icon"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="valign">start</property> + <property name="xalign">0</property> + <property name="yalign">0</property> + <property name="icon_name">accessories-calculator</property> + <property name="icon_size">6</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="advanced_keymap_title_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes"><b><big>Edit Kernel Keymap</big></b> +Edit the in-kernel protocol/scancode +to keycode mappings +<i>Note: changes are not persistent</i></property> + <property name="use_markup">True</property> + <property name="xalign">0</property> + <property name="yalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="advanced_keymap_swin"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkTreeView" id="advanced_keymap_treeview"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">advanced_keymap_liststore</property> + <property name="rules_hint">True</property> + <property name="search_column">2</property> + <property name="enable_grid_lines">horizontal</property> + <property name="activate_on_single_click">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="advanced_keymap_treeselection"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="advanced_keymap_treecol_protocol"> + <property name="title" translatable="yes">Protocol</property> + <property name="expand">True</property> + <child> + <object class="GtkCellRendererText" id="advanced_keymap_treecell_protocol"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="advanced_keymap_treecol_scancode"> + <property name="title" translatable="yes">Scancode</property> + <property name="expand">True</property> + <child> + <object class="GtkCellRendererText" id="advanced_keymap_treecell_scancode"> + <property name="family">monospace</property> + </object> + <attributes> + <attribute name="text">1</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="advanced_keymap_treecol_keycode"> + <property name="title" translatable="yes">Keycode</property> + <property name="expand">True</property> + <child> + <object class="GtkCellRendererText" id="advanced_keymap_treecell_keycode1"/> + <attributes> + <attribute name="text">2</attribute> + </attributes> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkBox" id="advanced_keymap_bbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="spacing">6</property> + <child> + <object class="GtkButton" id="advanced_keymap_add"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Add entry</property> + <property name="halign">center</property> + <property name="image">advanced_keymap_add_image</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="advanced_keymap_remove"> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Remove entry</property> + <property name="halign">center</property> + <property name="image">advanced_keymap_remove_image</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="advanced_keymap_refresh"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes">Fetch keymap from kernel again</property> + <property name="image">advanced_keymap_refresh_image</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">2</property> + </packing> + </child> + </object> + <packing> + <property name="name">advanced_keymap_page</property> + <property name="title" translatable="yes">advanced_keymap_page</property> + <property name="position">2</property> + </packing> + </child> </object> </child> <child type="titlebar"> @@ -339,6 +536,172 @@ Based on protocol and scancode</property> </object> </child> </object> + <object class="GtkDialog" id="advanced_add"> + <property name="can_focus">False</property> + <property name="title" translatable="yes">Add Mapping</property> + <property name="modal">True</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="transient_for">advanced</property> + <child internal-child="vbox"> + <object class="GtkBox" id="advanced_add_vbox"> + <property name="can_focus">False</property> + <property name="margin_left">18</property> + <property name="margin_right">18</property> + <property name="margin_top">18</property> + <property name="margin_bottom">18</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="advanced_add_action_area"> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="advanced_add_ok"> + <property name="label" translatable="yes">OK</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="advanced_add_cancel"> + <property name="label" translatable="yes">Cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="advanced_add_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_bottom">18</property> + <property name="row_spacing">12</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkImage" id="advanced_add_icon"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="yalign">0</property> + <property name="icon_name">preferences-desktop-keyboard</property> + <property name="icon_size">6</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="height">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="advacned_add_protocol_label"> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Protocol</property> + <property name="xalign">1</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="advanced_add_scancode_label"> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Scancode</property> + <property name="xalign">1</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="advanced_add_keycode_label"> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Keycode</property> + <property name="xalign">1</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="advanced_add_protocol"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="active">0</property> + <items> + <item translatable="yes">NEC</item> + </items> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="advanced_add_scancode"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="advanced_add_keycode"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <items> + <item translatable="yes">KEY_OK</item> + <item translatable="yes">KEY_VIDEO</item> + </items> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + <action-widgets> + <action-widget response="1">advanced_add_ok</action-widget> + <action-widget response="0">advanced_add_cancel</action-widget> + </action-widgets> + </object> <object class="GtkAdjustment" id="keymap_properties_height_adjustment"> <property name="lower">1</property> <property name="upper">100</property> |