mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-21 22:55:04 +00:00
15924958d9
This moves a fiddly little bit of logic used by a few UI classes into a central location. Also means that the paths dialog learns to expand the first cell when it needs to (like the text variable panel).
337 lines
19 KiB
XML
337 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<wxFormBuilder_Project>
|
|
<FileVersion major="1" minor="17"/>
|
|
<object class="Project" expanded="true">
|
|
<property name="class_decoration"></property>
|
|
<property name="code_generation">C++</property>
|
|
<property name="disconnect_events">1</property>
|
|
<property name="disconnect_mode">source_name</property>
|
|
<property name="disconnect_php_events">0</property>
|
|
<property name="disconnect_python_events">0</property>
|
|
<property name="embedded_files_path">res</property>
|
|
<property name="encoding">UTF-8</property>
|
|
<property name="event_generation">connect</property>
|
|
<property name="file">panel_text_variables_base</property>
|
|
<property name="first_id">1000</property>
|
|
<property name="help_provider">none</property>
|
|
<property name="image_path_wrapper_function_name"></property>
|
|
<property name="indent_with_spaces"></property>
|
|
<property name="internationalize">1</property>
|
|
<property name="name">PanelTextVariables</property>
|
|
<property name="namespace"></property>
|
|
<property name="path">.</property>
|
|
<property name="precompiled_header"></property>
|
|
<property name="relative_path">1</property>
|
|
<property name="skip_lua_events">1</property>
|
|
<property name="skip_php_events">1</property>
|
|
<property name="skip_python_events">1</property>
|
|
<property name="ui_table">UI</property>
|
|
<property name="use_array_enum">0</property>
|
|
<property name="use_enum">1</property>
|
|
<property name="use_microsoft_bom">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"></property>
|
|
<property name="name">PANEL_TEXT_VARIABLES_BASE</property>
|
|
<property name="pos"></property>
|
|
<property name="size">-1,-1</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="OnUpdateUI">OnUpdateUI</event>
|
|
<object class="wxBoxSizer" expanded="true">
|
|
<property name="minimum_size"></property>
|
|
<property name="name">bPanelSizer</property>
|
|
<property name="orient">wxVERTICAL</property>
|
|
<property name="permission">none</property>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxEXPAND</property>
|
|
<property name="proportion">1</property>
|
|
<object class="wxBoxSizer" expanded="true">
|
|
<property name="minimum_size"></property>
|
|
<property name="name">bSizer3</property>
|
|
<property name="orient">wxVERTICAL</property>
|
|
<property name="permission">none</property>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT|wxTOP</property>
|
|
<property name="proportion">1</property>
|
|
<object class="wxGrid" 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"></property>
|
|
<property name="aui_name"></property>
|
|
<property name="aui_position"></property>
|
|
<property name="aui_row"></property>
|
|
<property name="autosize_cols">0</property>
|
|
<property name="autosize_rows">0</property>
|
|
<property name="best_size"></property>
|
|
<property name="bg"></property>
|
|
<property name="caption"></property>
|
|
<property name="caption_visible">1</property>
|
|
<property name="cell_bg"></property>
|
|
<property name="cell_font"></property>
|
|
<property name="cell_horiz_alignment">wxALIGN_LEFT</property>
|
|
<property name="cell_text"></property>
|
|
<property name="cell_vert_alignment">wxALIGN_CENTER</property>
|
|
<property name="center_pane">0</property>
|
|
<property name="close_button">1</property>
|
|
<property name="col_label_horiz_alignment">wxALIGN_CENTER</property>
|
|
<property name="col_label_size">wxGRID_AUTOSIZE</property>
|
|
<property name="col_label_values">"Variable Name" "Text Substitution"</property>
|
|
<property name="col_label_vert_alignment">wxALIGN_CENTER</property>
|
|
<property name="cols">2</property>
|
|
<property name="column_sizes">150,454</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="drag_col_move">0</property>
|
|
<property name="drag_col_size">1</property>
|
|
<property name="drag_grid_size">0</property>
|
|
<property name="drag_row_size">1</property>
|
|
<property name="editing">1</property>
|
|
<property name="enabled">1</property>
|
|
<property name="fg"></property>
|
|
<property name="floatable">1</property>
|
|
<property name="font"></property>
|
|
<property name="grid_line_color"></property>
|
|
<property name="grid_lines">1</property>
|
|
<property name="gripper">0</property>
|
|
<property name="hidden">0</property>
|
|
<property name="id">wxID_ANY</property>
|
|
<property name="label_bg"></property>
|
|
<property name="label_font"></property>
|
|
<property name="label_text"></property>
|
|
<property name="margin_height">0</property>
|
|
<property name="margin_width">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">604,170</property>
|
|
<property name="moveable">1</property>
|
|
<property name="name">m_TextVars</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="row_label_horiz_alignment">wxALIGN_CENTER</property>
|
|
<property name="row_label_size">0</property>
|
|
<property name="row_label_values"></property>
|
|
<property name="row_label_vert_alignment">wxALIGN_CENTER</property>
|
|
<property name="row_sizes"></property>
|
|
<property name="rows">1</property>
|
|
<property name="show">1</property>
|
|
<property name="size"></property>
|
|
<property name="subclass">WX_GRID; widgets/wx_grid.h; 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>
|
|
</object>
|
|
</object>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT|wxTOP</property>
|
|
<property name="proportion">0</property>
|
|
<object class="wxBoxSizer" expanded="true">
|
|
<property name="minimum_size"></property>
|
|
<property name="name">bSizerEnvVarBtns</property>
|
|
<property name="orient">wxHORIZONTAL</property>
|
|
<property name="permission">none</property>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag"></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"></property>
|
|
<property name="aui_name"></property>
|
|
<property name="aui_position"></property>
|
|
<property name="aui_row"></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">Add Text Variable</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">-1,-1</property>
|
|
<property name="moveable">1</property>
|
|
<property name="name">m_btnAddTextVar</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">STD_BITMAP_BUTTON; widgets/std_bitmap_button.h; 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>
|
|
<event name="OnButtonClick">OnAddTextVar</event>
|
|
</object>
|
|
</object>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxEXPAND</property>
|
|
<property name="proportion">0</property>
|
|
<object class="spacer" expanded="true">
|
|
<property name="height">0</property>
|
|
<property name="permission">protected</property>
|
|
<property name="width">20</property>
|
|
</object>
|
|
</object>
|
|
<object class="sizeritem" expanded="true">
|
|
<property name="border">5</property>
|
|
<property name="flag">wxRIGHT|wxLEFT</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"></property>
|
|
<property name="aui_name"></property>
|
|
<property name="aui_position"></property>
|
|
<property name="aui_row"></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">Delete Text Variable</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">-1,-1</property>
|
|
<property name="moveable">1</property>
|
|
<property name="name">m_btnDeleteTextVar</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">STD_BITMAP_BUTTON; widgets/std_bitmap_button.h; 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>
|
|
<event name="OnButtonClick">OnRemoveTextVar</event>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</wxFormBuilder_Project>
|