mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-22 00:15:01 +00:00
277b963fac
Includes zoom to selection, and pan to selection (which centres the result but doesn't change the zoom). I'm not sure this is the perfect solution to search pane settings, but it's near to the action, but not taking up too much space, doesn't need to open a modal to mess with it, and has room for more options in future. I haven't made toggling these options into full-blown TOOL_ACTIONs, but they could be if a hotkey to toggle these is desirable - it's an ACTION_MENU, so it should just slot in.. Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16192
283 lines
15 KiB
XML
283 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<wxFormBuilder_Project>
|
|
<FileVersion major="1" minor="18"/>
|
|
<object class="Project" expanded="true">
|
|
<property name="code_generation">C++</property>
|
|
<property name="cpp_class_decoration">; </property>
|
|
<property name="cpp_disconnect_events">1</property>
|
|
<property name="cpp_event_generation">connect</property>
|
|
<property name="cpp_help_provider">none</property>
|
|
<property name="cpp_namespace"></property>
|
|
<property name="cpp_precompiled_header"></property>
|
|
<property name="cpp_use_array_enum">0</property>
|
|
<property name="cpp_use_enum">0</property>
|
|
<property name="embedded_files_path">res</property>
|
|
<property name="encoding">UTF-8</property>
|
|
<property name="file">search_pane_base</property>
|
|
<property name="first_id">1000</property>
|
|
<property name="internationalize">1</property>
|
|
<property name="lua_skip_events">1</property>
|
|
<property name="lua_ui_table">UI</property>
|
|
<property name="name">SEARCH PANE</property>
|
|
<property name="path">.</property>
|
|
<property name="php_disconnect_events">0</property>
|
|
<property name="php_disconnect_mode">source_name</property>
|
|
<property name="php_skip_events">1</property>
|
|
<property name="python_disconnect_events">0</property>
|
|
<property name="python_disconnect_mode">source_name</property>
|
|
<property name="python_image_path_wrapper_function_name"></property>
|
|
<property name="python_indent_with_spaces"></property>
|
|
<property name="python_skip_events">1</property>
|
|
<property name="relative_path">1</property>
|
|
<property name="use_microsoft_bom">0</property>
|
|
<property name="use_native_eol">0</property>
|
|
<object class="Panel" expanded="true">
|
|
<property name="aui_managed">0</property>
|
|
<property name="aui_manager_style">wxAUI_MGR_DEFAULT</property>
|
|
<property name="bg"></property>
|
|
<property name="context_help"></property>
|
|
<property name="context_menu">1</property>
|
|
<property name="drag_accept_files">0</property>
|
|
<property name="enabled">1</property>
|
|
<property name="event_handler">impl_virtual</property>
|
|
<property name="fg"></property>
|
|
<property name="font"></property>
|
|
<property name="hidden">0</property>
|
|
<property name="id">wxID_ANY</property>
|
|
<property name="maximum_size"></property>
|
|
<property name="minimum_size">-1,-1</property>
|
|
<property name="name">SEARCH_PANE_BASE</property>
|
|
<property name="pos"></property>
|
|
<property name="size">284,110</property>
|
|
<property name="subclass">; ; forward_declare</property>
|
|
<property name="tooltip"></property>
|
|
<property name="two_step_creation">0</property>
|
|
<property name="window_extra_style"></property>
|
|
<property name="window_name"></property>
|
|
<property name="window_style">wxTAB_TRAVERSAL</property>
|
|
<event name="OnSetFocus">OnSetFocus</event>
|
|
<event name="OnSize">OnSize</event>
|
|
<object class="wxBoxSizer" expanded="true">
|
|
<property name="minimum_size"></property>
|
|
<property name="name">m_sizerOuter</property>
|
|
<property name="orient">wxVERTICAL</property>
|
|
<property name="permission">protected</property>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxEXPAND</property>
|
|
<property name="proportion">0</property>
|
|
<object class="wxBoxSizer" expanded="true">
|
|
<property name="minimum_size"></property>
|
|
<property name="name">bSizer2</property>
|
|
<property name="orient">wxHORIZONTAL</property>
|
|
<property name="permission">none</property>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxALL</property>
|
|
<property name="proportion">0</property>
|
|
<object class="wxBitmapButton" expanded="true">
|
|
<property name="BottomDockable">1</property>
|
|
<property name="LeftDockable">1</property>
|
|
<property name="RightDockable">1</property>
|
|
<property name="TopDockable">1</property>
|
|
<property name="aui_layer">0</property>
|
|
<property name="aui_name"></property>
|
|
<property name="aui_position">0</property>
|
|
<property name="aui_row">0</property>
|
|
<property name="auth_needed">0</property>
|
|
<property name="best_size"></property>
|
|
<property name="bg"></property>
|
|
<property name="bitmap"></property>
|
|
<property name="caption"></property>
|
|
<property name="caption_visible">1</property>
|
|
<property name="center_pane">0</property>
|
|
<property name="close_button">1</property>
|
|
<property name="context_help"></property>
|
|
<property name="context_menu">1</property>
|
|
<property name="current"></property>
|
|
<property name="default">0</property>
|
|
<property name="default_pane">0</property>
|
|
<property name="disabled"></property>
|
|
<property name="dock">Dock</property>
|
|
<property name="dock_fixed">0</property>
|
|
<property name="docking">Left</property>
|
|
<property name="drag_accept_files">0</property>
|
|
<property name="enabled">1</property>
|
|
<property name="fg"></property>
|
|
<property name="floatable">1</property>
|
|
<property name="focus"></property>
|
|
<property name="font"></property>
|
|
<property name="gripper">0</property>
|
|
<property name="hidden">0</property>
|
|
<property name="id">wxID_ANY</property>
|
|
<property name="label">MyButton</property>
|
|
<property name="margins"></property>
|
|
<property name="markup">0</property>
|
|
<property name="max_size"></property>
|
|
<property name="maximize_button">0</property>
|
|
<property name="maximum_size"></property>
|
|
<property name="min_size"></property>
|
|
<property name="minimize_button">0</property>
|
|
<property name="minimum_size"></property>
|
|
<property name="moveable">1</property>
|
|
<property name="name">m_menuButton</property>
|
|
<property name="pane_border">1</property>
|
|
<property name="pane_position"></property>
|
|
<property name="pane_size"></property>
|
|
<property name="permission">protected</property>
|
|
<property name="pin_button">1</property>
|
|
<property name="pos"></property>
|
|
<property name="position"></property>
|
|
<property name="pressed"></property>
|
|
<property name="resize">Resizable</property>
|
|
<property name="show">1</property>
|
|
<property name="size"></property>
|
|
<property name="style"></property>
|
|
<property name="subclass">; ; forward_declare</property>
|
|
<property name="toolbar_pane">0</property>
|
|
<property name="tooltip"></property>
|
|
<property name="validator_data_type"></property>
|
|
<property name="validator_style">wxFILTER_NONE</property>
|
|
<property name="validator_type">wxDefaultValidator</property>
|
|
<property name="validator_variable"></property>
|
|
<property name="window_extra_style"></property>
|
|
<property name="window_name"></property>
|
|
<property name="window_style"></property>
|
|
</object>
|
|
</object>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxALL</property>
|
|
<property name="proportion">1</property>
|
|
<object class="wxSearchCtrl" expanded="true">
|
|
<property name="BottomDockable">1</property>
|
|
<property name="LeftDockable">1</property>
|
|
<property name="RightDockable">1</property>
|
|
<property name="TopDockable">1</property>
|
|
<property name="aui_layer">0</property>
|
|
<property name="aui_name"></property>
|
|
<property name="aui_position">0</property>
|
|
<property name="aui_row">0</property>
|
|
<property name="best_size"></property>
|
|
<property name="bg"></property>
|
|
<property name="cancel_button">0</property>
|
|
<property name="caption"></property>
|
|
<property name="caption_visible">1</property>
|
|
<property name="center_pane">0</property>
|
|
<property name="close_button">1</property>
|
|
<property name="context_help"></property>
|
|
<property name="context_menu">1</property>
|
|
<property name="default_pane">0</property>
|
|
<property name="dock">Dock</property>
|
|
<property name="dock_fixed">0</property>
|
|
<property name="docking">Left</property>
|
|
<property name="drag_accept_files">0</property>
|
|
<property name="enabled">1</property>
|
|
<property name="fg"></property>
|
|
<property name="floatable">1</property>
|
|
<property name="font"></property>
|
|
<property name="gripper">0</property>
|
|
<property name="hidden">0</property>
|
|
<property name="id">wxID_ANY</property>
|
|
<property name="max_size"></property>
|
|
<property name="maximize_button">0</property>
|
|
<property name="maximum_size"></property>
|
|
<property name="min_size"></property>
|
|
<property name="minimize_button">0</property>
|
|
<property name="minimum_size"></property>
|
|
<property name="moveable">1</property>
|
|
<property name="name">m_searchCtrl1</property>
|
|
<property name="pane_border">1</property>
|
|
<property name="pane_position"></property>
|
|
<property name="pane_size"></property>
|
|
<property name="permission">protected</property>
|
|
<property name="pin_button">1</property>
|
|
<property name="pos"></property>
|
|
<property name="resize">Resizable</property>
|
|
<property name="search_button">1</property>
|
|
<property name="show">1</property>
|
|
<property name="size"></property>
|
|
<property name="style"></property>
|
|
<property name="subclass">; ; forward_declare</property>
|
|
<property name="toolbar_pane">0</property>
|
|
<property name="tooltip"></property>
|
|
<property name="validator_data_type"></property>
|
|
<property name="validator_style">wxFILTER_NONE</property>
|
|
<property name="validator_type">wxDefaultValidator</property>
|
|
<property name="validator_variable"></property>
|
|
<property name="value"></property>
|
|
<property name="window_extra_style"></property>
|
|
<property name="window_name"></property>
|
|
<property name="window_style"></property>
|
|
<event name="OnText">OnSearchTextEntry</event>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">4</property>
|
|
<property name="flag">wxEXPAND|wxBOTTOM</property>
|
|
<property name="proportion">1</property>
|
|
<object class="wxNotebook" expanded="true">
|
|
<property name="BottomDockable">1</property>
|
|
<property name="LeftDockable">1</property>
|
|
<property name="RightDockable">1</property>
|
|
<property name="TopDockable">1</property>
|
|
<property name="aui_layer">0</property>
|
|
<property name="aui_name"></property>
|
|
<property name="aui_position">0</property>
|
|
<property name="aui_row">0</property>
|
|
<property name="best_size"></property>
|
|
<property name="bg"></property>
|
|
<property name="bitmapsize"></property>
|
|
<property name="caption"></property>
|
|
<property name="caption_visible">1</property>
|
|
<property name="center_pane">0</property>
|
|
<property name="close_button">1</property>
|
|
<property name="context_help"></property>
|
|
<property name="context_menu">1</property>
|
|
<property name="default_pane">0</property>
|
|
<property name="dock">Dock</property>
|
|
<property name="dock_fixed">0</property>
|
|
<property name="docking">Left</property>
|
|
<property name="drag_accept_files">0</property>
|
|
<property name="enabled">1</property>
|
|
<property name="fg"></property>
|
|
<property name="floatable">1</property>
|
|
<property name="font"></property>
|
|
<property name="gripper">0</property>
|
|
<property name="hidden">0</property>
|
|
<property name="id">wxID_ANY</property>
|
|
<property name="max_size"></property>
|
|
<property name="maximize_button">0</property>
|
|
<property name="maximum_size"></property>
|
|
<property name="min_size"></property>
|
|
<property name="minimize_button">0</property>
|
|
<property name="minimum_size"></property>
|
|
<property name="moveable">1</property>
|
|
<property name="name">m_notebook</property>
|
|
<property name="pane_border">1</property>
|
|
<property name="pane_position"></property>
|
|
<property name="pane_size"></property>
|
|
<property name="permission">protected</property>
|
|
<property name="pin_button">1</property>
|
|
<property name="pos"></property>
|
|
<property name="resize">Resizable</property>
|
|
<property name="show">1</property>
|
|
<property name="size"></property>
|
|
<property name="style"></property>
|
|
<property name="subclass">; ; forward_declare</property>
|
|
<property name="toolbar_pane">0</property>
|
|
<property name="tooltip"></property>
|
|
<property name="window_extra_style"></property>
|
|
<property name="window_name"></property>
|
|
<property name="window_style"></property>
|
|
<event name="OnNotebookPageChanged">OnNotebookPageChanged</event>
|
|
<event name="OnSetFocus">OnSetFocus</event>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</wxFormBuilder_Project>
|