2021-11-20 12:53:04 +00:00
|
|
|
@GUI::Frame {
|
|
|
|
fill_with_background_color: true
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
2022-07-05 17:06:42 +02:00
|
|
|
margins: [8]
|
2021-11-20 12:53:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::GroupBox {
|
|
|
|
title: "Mapping"
|
2022-01-19 18:20:42 +03:00
|
|
|
fixed_height: 150
|
2021-11-20 16:32:03 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
2021-11-20 12:53:04 +00:00
|
|
|
margins: [16, 8, 8]
|
2021-11-20 16:32:03 +00:00
|
|
|
spacing: 16
|
2021-11-20 12:53:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
2021-11-20 16:32:03 +00:00
|
|
|
fixed_width: 32
|
2022-02-12 19:17:01 +02:00
|
|
|
layout: @GUI::VerticalBoxLayout {}
|
2021-11-20 12:53:04 +00:00
|
|
|
|
|
|
|
@GUI::Label {
|
2021-11-20 16:32:03 +00:00
|
|
|
fixed_width: 32
|
|
|
|
fixed_height: 32
|
2022-01-28 23:11:38 -08:00
|
|
|
icon: "/res/icons/32x32/app-keyboard-mapper.png"
|
2021-11-20 12:53:04 +00:00
|
|
|
}
|
|
|
|
}
|
2021-11-20 15:49:18 +00:00
|
|
|
|
|
|
|
@GUI::Widget {
|
2021-11-20 16:32:03 +00:00
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
|
|
spacing: 2
|
2021-11-20 15:49:18 +00:00
|
|
|
}
|
|
|
|
|
2022-01-19 18:20:42 +03:00
|
|
|
@GUI::ListView {
|
|
|
|
name: "selected_keymaps"
|
|
|
|
}
|
|
|
|
|
2021-11-20 16:32:03 +00:00
|
|
|
@GUI::Widget {
|
2022-01-19 18:20:42 +03:00
|
|
|
fixed_height: 24
|
2021-11-20 16:32:03 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
2022-01-19 18:20:42 +03:00
|
|
|
spacing: 4
|
2021-11-20 16:32:03 +00:00
|
|
|
}
|
|
|
|
|
2022-02-24 22:17:44 -05:00
|
|
|
@GUI::Button {
|
|
|
|
name: "activate_keymap_button"
|
|
|
|
text: "Activate keymap"
|
|
|
|
enabled: false
|
|
|
|
}
|
|
|
|
|
2022-01-19 18:20:42 +03:00
|
|
|
@GUI::Button {
|
|
|
|
name: "add_keymap_button"
|
|
|
|
text: "Add keymap"
|
2021-11-20 16:32:03 +00:00
|
|
|
}
|
|
|
|
|
2022-01-19 18:20:42 +03:00
|
|
|
@GUI::Button {
|
|
|
|
name: "remove_keymap_button"
|
|
|
|
text: "Remove keymap"
|
|
|
|
enabled: false
|
2021-11-20 16:32:03 +00:00
|
|
|
}
|
2021-11-20 15:49:18 +00:00
|
|
|
}
|
2022-01-19 18:20:42 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::GroupBox {
|
2022-10-04 13:07:18 -04:00
|
|
|
title: "Test Input"
|
2022-01-19 18:20:42 +03:00
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
|
|
margins: [16, 8, 8]
|
|
|
|
spacing: 16
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
fixed_width: 32
|
2022-02-12 19:17:01 +02:00
|
|
|
layout: @GUI::VerticalBoxLayout {}
|
2022-01-19 18:20:42 +03:00
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
fixed_width: 32
|
|
|
|
fixed_height: 32
|
|
|
|
icon: "/res/icons/32x32/app-keyboard-settings.png"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
|
|
spacing: 2
|
|
|
|
}
|
2021-11-20 16:32:03 +00:00
|
|
|
|
|
|
|
@GUI::Widget {
|
2022-01-19 18:20:42 +03:00
|
|
|
fixed_height: 24
|
2021-11-20 16:32:03 +00:00
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
|
|
spacing: 16
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
text: "Test your current keymap below"
|
|
|
|
text_alignment: "CenterLeft"
|
|
|
|
}
|
2022-01-28 23:11:38 -08:00
|
|
|
|
2021-11-20 16:32:03 +00:00
|
|
|
@GUI::Button {
|
|
|
|
text: "Clear"
|
|
|
|
name: "button_clear_test_typing_area"
|
|
|
|
fixed_width: 48
|
|
|
|
}
|
2021-11-20 15:49:18 +00:00
|
|
|
}
|
|
|
|
|
2021-11-20 16:32:03 +00:00
|
|
|
@GUI::TextEditor {
|
|
|
|
name: "test_typing_area"
|
|
|
|
}
|
2021-11-20 15:49:18 +00:00
|
|
|
}
|
2021-11-20 12:53:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::GroupBox {
|
|
|
|
title: "Num Lock"
|
|
|
|
fixed_height: 60
|
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
|
|
margins: [16, 8, 8]
|
2021-11-20 16:32:03 +00:00
|
|
|
spacing: 16
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
fixed_width: 32
|
|
|
|
fixed_height: 32
|
2022-01-28 23:11:38 -08:00
|
|
|
icon: "/res/icons/32x32/app-calculator.png"
|
2021-11-20 12:53:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::CheckBox {
|
|
|
|
text: "Enable Num Lock on login"
|
|
|
|
name: "num_lock_checkbox"
|
|
|
|
}
|
|
|
|
}
|
2022-12-12 13:35:55 -06:00
|
|
|
|
|
|
|
@GUI::GroupBox {
|
|
|
|
title: "Caps Lock"
|
|
|
|
fixed_height: 60
|
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
|
|
margins: [16, 8, 8]
|
|
|
|
spacing: 16
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::CheckBox {
|
|
|
|
text: "Use Caps Lock as an additional Ctrl"
|
|
|
|
name: "caps_lock_remapped_to_ctrl_checkbox"
|
|
|
|
}
|
|
|
|
}
|
2021-11-20 12:53:04 +00:00
|
|
|
}
|