2020-10-31 13:43:09 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.36.0 -->
<interface>
<requires lib="gtk+" version="3.22"/>
2020-11-08 19:16:45 +00:00
<object class="GtkDialog" id="error_dialog">
<property name="can_focus">False</property>
<property name="title" translatable="yes">Key Mapper</property>
<property name="modal">True</property>
<property name="window_position">center</property>
<property name="icon_name">mouse</property>
<property name="type_hint">dialog</property>
<property name="urgency_hint">True</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="close_error_dialog">
<property name="label">gtk-close</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkImage" id="error-image">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="yalign">0</property>
<property name="xpad">12</property>
<property name="ypad">12</property>
<property name="icon_name">mouse</property>
<property name="icon_size">6</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_end">10</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="primary_error_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ypad">6</property>
<property name="use_markup">True</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="secondary_error_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ypad">6</property>
<property name="use_markup">True</property>
<property name="xalign">0</property>
<property name="yalign">0</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">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget response="-7">close_error_dialog</action-widget>
</action-widgets>
<child type="titlebar">
<placeholder/>
</child>
</object>
2020-11-12 20:36:40 +00:00
<object class="GtkImage" id="gtk-delete-icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">gtk-delete</property>
</object>
<object class="GtkImage" id="gtk-redo-icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-redo</property>
</object>
<object class="GtkDialog" id="unsaved_changes">
<property name="can_focus">False</property>
<property name="title" translatable="yes">Key Mapper</property>
<property name="modal">True</property>
<property name="window_position">center</property>
<property name="icon_name">mouse</property>
<property name="type_hint">dialog</property>
<property name="urgency_hint">True</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="go_back">
<property name="label">Continue</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="image">gtk-delete-icon</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="go_ahead">
<property name="label" translatable="yes">Go Back</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="image">gtk-redo-icon</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">True</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkImage" id="error-image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="yalign">0</property>
<property name="xpad">12</property>
<property name="ypad">12</property>
<property name="icon_name">mouse</property>
<property name="icon_size">6</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="secondary_error_label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">10</property>
<property name="margin_end">10</property>
<property name="ypad">6</property>
<property name="label" translatable="yes">You have got unsaved changes!</property>
<property name="use_markup">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</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">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<action-widgets>
2020-11-14 23:27:45 +00:00
<action-widget response="-3">go_back</action-widget>
<action-widget response="-6">go_ahead</action-widget>
2020-11-12 20:36:40 +00:00
</action-widgets>
<child type="titlebar">
<placeholder/>
</child>
</object>
2020-11-14 19:35:57 +00:00
<object class="GtkImage" id="gtk-redo-icon-2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-redo</property>
</object>
2020-11-21 15:01:39 +00:00
<object class="GtkImage" id="new-icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">document-new</property>
</object>
<object class="GtkImage" id="save-icon">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">document-save</property>
</object>
2020-10-31 14:03:31 +00:00
<object class="GtkWindow" id="window">
2020-10-31 18:21:17 +00:00
<property name="width_request">450</property>
2020-10-31 13:43:09 +00:00
<property name="can_focus">False</property>
2020-10-31 16:43:21 +00:00
<property name="title" translatable="yes">Key Mapper</property>
2020-11-04 00:49:22 +00:00
<property name="icon_name">mouse</property>
2020-10-31 14:03:31 +00:00
<signal name="delete-event" handler="on_close" swapped="no"/>
2020-11-22 13:47:34 +00:00
<signal name="event" handler="on_window_event" swapped="no"/>
2020-10-31 13:43:09 +00:00
<child>
2020-11-15 19:45:41 +00:00
<object class="GtkBox" id="wrapper">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
2020-11-02 19:55:17 +00:00
<object class="GtkBox">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-11-02 19:55:17 +00:00
<property name="orientation">vertical</property>
2020-10-31 13:43:09 +00:00
<child>
2020-11-02 19:55:17 +00:00
<object class="GtkBox" id="devices">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-11-02 19:55:17 +00:00
<property name="border_width">10</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Device</property>
<property name="width_chars">13</property>
<property name="xalign">0</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="device_selection">
<property name="visible">True</property>
<property name="can_focus">False</property>
<signal name="changed" handler="on_select_device" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-10-31 13:43:09 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
2020-10-31 16:00:02 +00:00
<child>
2020-11-02 19:55:17 +00:00
<object class="GtkSeparator">
2020-10-31 16:00:02 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
2020-11-02 19:55:17 +00:00
<property name="expand">False</property>
2020-10-31 16:00:02 +00:00
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-10-31 13:43:09 +00:00
<child>
2020-11-02 19:55:17 +00:00
<object class="GtkBox" id="preset_settings">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-11-02 19:55:17 +00:00
<property name="border_width">10</property>
<property name="orientation">vertical</property>
2020-10-31 13:43:09 +00:00
<property name="spacing">10</property>
<child>
2020-11-02 19:55:17 +00:00
<object class="GtkBox" id="button_container">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-11-02 19:55:17 +00:00
<property name="can_focus">False</property>
<property name="spacing">10</property>
<child>
2020-11-02 20:57:28 +00:00
<object class="GtkButton" id="apply_preset">
2020-11-02 19:55:17 +00:00
<property name="label">gtk-apply</property>
<property name="width_request">80</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
2020-11-02 20:57:28 +00:00
<signal name="clicked" handler="on_apply_preset_clicked" swapped="no"/>
2020-11-02 19:55:17 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2020-11-02 22:52:58 +00:00
<object class="GtkButton" id="save_preset">
2020-11-21 15:01:39 +00:00
<property name="label">Save</property>
2020-11-02 19:55:17 +00:00
<property name="width_request">80</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2020-11-21 15:01:39 +00:00
<property name="image">save-icon</property>
2020-11-02 22:52:58 +00:00
<signal name="clicked" handler="on_save_preset_clicked" swapped="no"/>
2020-11-02 19:55:17 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="create_preset">
2020-11-21 15:01:39 +00:00
<property name="label">New</property>
2020-11-02 19:55:17 +00:00
<property name="width_request">80</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2020-11-21 15:01:39 +00:00
<property name="image">new-icon</property>
2020-11-02 19:55:17 +00:00
<signal name="clicked" handler="on_create_preset_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
2020-11-02 22:52:58 +00:00
<object class="GtkButton" id="delete_preset">
2020-11-02 19:55:17 +00:00
<property name="label">gtk-delete</property>
<property name="width_request">80</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
2020-11-02 22:52:58 +00:00
<signal name="clicked" handler="on_delete_preset_clicked" swapped="no"/>
2020-11-02 19:55:17 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
2020-10-31 13:43:09 +00:00
</object>
<packing>
2020-11-02 19:55:17 +00:00
<property name="expand">False</property>
2020-10-31 13:43:09 +00:00
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2020-11-02 19:55:17 +00:00
<object class="GtkBox" id="preset_dropdown_container">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
2020-11-02 19:55:17 +00:00
<property name="can_focus">False</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel">
<property name="width_request">50</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">preset</property>
<property name="width_chars">13</property>
<property name="xalign">0</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="preset_selection">
<property name="width_request">200</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<signal name="changed" handler="on_select_preset" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-10-31 13:43:09 +00:00
</object>
<packing>
2020-11-02 19:55:17 +00:00
<property name="expand">False</property>
2020-10-31 13:43:09 +00:00
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-10-31 16:00:02 +00:00
<child>
2020-11-02 19:55:17 +00:00
<object class="GtkBox" id="rename_container">
2020-10-31 16:00:02 +00:00
<property name="visible">True</property>
2020-11-02 19:55:17 +00:00
<property name="can_focus">False</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Rename</property>
<property name="width_chars">13</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2020-11-02 22:52:58 +00:00
<object class="GtkEntry" id="preset_name_input">
2020-11-02 19:55:17 +00:00
<property name="visible">True</property>
<property name="can_focus">True</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-10-31 16:00:02 +00:00
</object>
<packing>
2020-11-02 19:55:17 +00:00
<property name="expand">False</property>
2020-10-31 16:00:02 +00:00
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2020-10-31 13:43:09 +00:00
</object>
<packing>
2020-11-08 17:51:35 +00:00
<property name="expand">True</property>
2020-10-31 13:43:09 +00:00
<property name="fill">True</property>
2020-11-02 19:55:17 +00:00
<property name="position">2</property>
2020-10-31 13:43:09 +00:00
</packing>
</child>
2020-11-14 19:35:57 +00:00
<child>
2020-11-14 21:07:43 +00:00
<object class="GtkButton" id="apply_system_layout">
2020-11-14 19:35:57 +00:00
<property name="label" translatable="yes">Apply Defaults</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">To give your keys back their original mapping.</property>
<property name="halign">end</property>
<property name="margin_end">10</property>
<property name="margin_bottom">10</property>
<property name="border_width">0</property>
<property name="image">gtk-redo-icon-2</property>
2020-11-14 21:07:43 +00:00
<signal name="clicked" handler="on_apply_system_layout_clicked" swapped="no"/>
2020-11-14 19:35:57 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">3</property>
</packing>
</child>
2020-11-08 17:51:35 +00:00
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-11-14 19:35:57 +00:00
<property name="position">4</property>
2020-11-08 17:51:35 +00:00
</packing>
</child>
<child>
2020-11-15 19:45:41 +00:00
<object class="GtkBox">
2020-11-08 17:51:35 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-11-15 19:45:41 +00:00
<child>
<object class="GtkStatusbar" id="status_bar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">10</property>
<property name="margin_right">10</property>
<property name="margin_start">10</property>
<property name="margin_end">10</property>
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="keycode">
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-11-15 20:03:56 +00:00
<property name="tooltip_text" translatable="yes">This is the keycode you just pressed, and that you see in the mappings to the right.</property>
2020-11-15 19:45:41 +00:00
<property name="margin_start">10</property>
<property name="margin_end">10</property>
<property name="width_chars">4</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2020-11-08 17:51:35 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-11-14 19:35:57 +00:00
<property name="position">5</property>
2020-11-08 17:51:35 +00:00
</packing>
</child>
2020-11-02 19:55:17 +00:00
</object>
<packing>
2020-11-10 22:41:00 +00:00
<property name="expand">True</property>
2020-11-02 19:55:17 +00:00
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSeparator">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
2020-10-31 13:43:09 +00:00
<child>
2020-11-03 22:41:05 +00:00
<object class="GtkBox">
2020-10-31 13:43:09 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-11-03 22:41:05 +00:00
<property name="homogeneous">True</property>
2020-10-31 13:43:09 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-11-19 00:40:47 +00:00
<property name="tooltip_text" translatable="yes">Click on a cell below and hit a key on your device. If you have your preset active, the reported keycodes may be wrong.</property>
2020-11-03 22:41:05 +00:00
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="label" translatable="yes">Key</property>
<property name="width_chars">10</property>
2020-10-31 13:43:09 +00:00
</object>
<packing>
2020-11-03 22:41:05 +00:00
<property name="expand">False</property>
2020-10-31 13:43:09 +00:00
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
2020-11-03 22:41:05 +00:00
<object class="GtkLabel">
2020-10-31 16:00:02 +00:00
<property name="visible">True</property>
2020-11-03 22:41:05 +00:00
<property name="can_focus">False</property>
2020-11-08 17:51:35 +00:00
<property name="tooltip_text" translatable="yes">a-z, A-Z, 0-9
2020-11-16 15:54:52 +00:00
"KP_0" - "KP_9"
"Shift_L", "Shift_R"
"Alt_L", "Alt_R"
2020-11-19 10:50:03 +00:00
"Control_R"</property>
2020-11-03 22:41:05 +00:00
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="label" translatable="yes">Mapping</property>
<property name="width_chars">10</property>
2020-10-31 16:00:02 +00:00
</object>
<packing>
2020-11-02 19:55:17 +00:00
<property name="expand">False</property>
2020-10-31 16:00:02 +00:00
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-11-03 22:41:05 +00:00
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2020-10-31 18:21:17 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-11-02 19:55:17 +00:00
<property name="position">0</property>
2020-10-31 18:21:17 +00:00
</packing>
</child>
<child>
2020-11-03 22:41:05 +00:00
<object class="GtkSeparator">
2020-10-31 18:21:17 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2020-10-31 16:00:02 +00:00
</object>
<packing>
2020-11-03 22:41:05 +00:00
<property name="expand">False</property>
2020-10-31 16:00:02 +00:00
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
2020-11-03 22:41:05 +00:00
<child>
2020-11-10 22:14:28 +00:00
<object class="GtkScrolledWindow">
2020-11-03 22:41:05 +00:00
<property name="visible">True</property>
2020-11-10 22:14:28 +00:00
<property name="can_focus">True</property>
<child>
<object class="GtkViewport">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkListBox" id="key_list">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selection_mode">none</property>
</object>
</child>
</object>
</child>
2020-11-03 22:41:05 +00:00
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
2020-10-31 16:00:02 +00:00
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2020-11-02 19:55:17 +00:00
<property name="position">2</property>
2020-10-31 13:43:09 +00:00
</packing>
</child>
</object>
</child>
<child type="titlebar">
<placeholder/>
</child>
</object>
</interface>