1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/keyboard_shortcuts.xml
2
3#ifndef GENERATED_KEYBOARD_SHORTCUTS_H_INCLUDED
4#define GENERATED_KEYBOARD_SHORTCUTS_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "app/ui/button_set.h"
10#include "app/ui/pref_widget.h"
11#include "app/ui/search_entry.h"
12#include "ui/box.h"
13#include "ui/button.h"
14#include "ui/listbox.h"
15#include "ui/slider.h"
16#include "ui/splitter.h"
17#include "ui/view.h"
18#include "ui/window.h"
19
20namespace app {
21namespace gen {
22
23 class KeyboardShortcuts : public ui::Window {
24 public:
25 KeyboardShortcuts() : ui::Window(ui::Window::WithTitleBar) {
26 app::load_widget("keyboard_shortcuts.xml", "keyboard_shortcuts", this);
27 app::finder(this)
28 >> "section_splitter" >> m_sectionSplitter
29 >> "search" >> m_search
30 >> "section" >> m_section
31 >> "import_button" >> m_importButton
32 >> "export_button" >> m_exportButton
33 >> "reset_button" >> m_resetButton
34 >> "lists_placeholder" >> m_listsPlaceholder
35 >> "search_view" >> m_searchView
36 >> "search_list" >> m_searchList
37 >> "menus_view" >> m_menusView
38 >> "menus" >> m_menus
39 >> "commands_view" >> m_commandsView
40 >> "commands" >> m_commands
41 >> "tools_view" >> m_toolsView
42 >> "tools" >> m_tools
43 >> "actions_view" >> m_actionsView
44 >> "actions" >> m_actions
45 >> "wheel_section" >> m_wheelSection
46 >> "wheel_behavior" >> m_wheelBehavior
47 >> "wheel_zoom" >> m_wheelZoom
48 >> "slide_zoom" >> m_slideZoom
49 >> "invert_brush_size_scroll" >> m_invertBrushSizeScroll
50 >> "wheel_actions" >> m_wheelActions
51 >> "drag_section" >> m_dragSection
52 >> "drag_actions" >> m_dragActions
53 >> "drag_angle" >> m_dragAngle
54 >> "drag_distance" >> m_dragDistance
55 >> "ok" >> m_ok
56 ;
57 }
58
59 ui::Splitter* sectionSplitter() const { return m_sectionSplitter; }
60 app::SearchEntry* search() const { return m_search; }
61 ui::ListBox* section() const { return m_section; }
62 ui::Button* importButton() const { return m_importButton; }
63 ui::Button* exportButton() const { return m_exportButton; }
64 ui::Button* resetButton() const { return m_resetButton; }
65 ui::VBox* listsPlaceholder() const { return m_listsPlaceholder; }
66 ui::View* searchView() const { return m_searchView; }
67 ui::ListBox* searchList() const { return m_searchList; }
68 ui::View* menusView() const { return m_menusView; }
69 ui::ListBox* menus() const { return m_menus; }
70 ui::View* commandsView() const { return m_commandsView; }
71 ui::ListBox* commands() const { return m_commands; }
72 ui::View* toolsView() const { return m_toolsView; }
73 ui::ListBox* tools() const { return m_tools; }
74 ui::View* actionsView() const { return m_actionsView; }
75 ui::ListBox* actions() const { return m_actions; }
76 ui::VBox* wheelSection() const { return m_wheelSection; }
77 app::ButtonSet* wheelBehavior() const { return m_wheelBehavior; }
78 BoolPrefWidget<ui::CheckBox>* wheelZoom() const { return m_wheelZoom; }
79 BoolPrefWidget<ui::CheckBox>* slideZoom() const { return m_slideZoom; }
80 BoolPrefWidget<ui::CheckBox>* invertBrushSizeScroll() const { return m_invertBrushSizeScroll; }
81 ui::ListBox* wheelActions() const { return m_wheelActions; }
82 ui::VBox* dragSection() const { return m_dragSection; }
83 ui::ListBox* dragActions() const { return m_dragActions; }
84 app::ButtonSet* dragAngle() const { return m_dragAngle; }
85 ui::Slider* dragDistance() const { return m_dragDistance; }
86 ui::Button* ok() const { return m_ok; }
87
88 private:
89 ui::Splitter* m_sectionSplitter;
90 app::SearchEntry* m_search;
91 ui::ListBox* m_section;
92 ui::Button* m_importButton;
93 ui::Button* m_exportButton;
94 ui::Button* m_resetButton;
95 ui::VBox* m_listsPlaceholder;
96 ui::View* m_searchView;
97 ui::ListBox* m_searchList;
98 ui::View* m_menusView;
99 ui::ListBox* m_menus;
100 ui::View* m_commandsView;
101 ui::ListBox* m_commands;
102 ui::View* m_toolsView;
103 ui::ListBox* m_tools;
104 ui::View* m_actionsView;
105 ui::ListBox* m_actions;
106 ui::VBox* m_wheelSection;
107 app::ButtonSet* m_wheelBehavior;
108 BoolPrefWidget<ui::CheckBox>* m_wheelZoom;
109 BoolPrefWidget<ui::CheckBox>* m_slideZoom;
110 BoolPrefWidget<ui::CheckBox>* m_invertBrushSizeScroll;
111 ui::ListBox* m_wheelActions;
112 ui::VBox* m_dragSection;
113 ui::ListBox* m_dragActions;
114 app::ButtonSet* m_dragAngle;
115 ui::Slider* m_dragDistance;
116 ui::Button* m_ok;
117 };
118
119} // namespace gen
120} // namespace app
121
122#endif
123