kicad/eeschema/dialogs
Chris Pavlina f8415633bd Switch component chooser to wxDataViewCtrl, refactor
This refactors COMPONENT_TREE_SEARCH_CONTAINER into a Model-View-Adapter
architecture comprising:

- eeschema/cmp_tree_model.h
    - CMP_TREE_NODE: Base class representing a searchable library
        set with scoring and sorting

        - CMP_TREE_NODE_UNIT
        - CMP_TREE_NODE_ALIAS
        - CMP_TREE_NODE_LIB
        - CMP_TREE_NODE_ROOT

- eeschema/cmp_tree_model_adapter.h
    - CMP_TREE_MODEL_ADAPTER: mediator between wxDataViewCtrl (via
        wxDataViewModel) and CMP_TREE_NODE*

                   +---+                      +------------------+
 +---+  Generates  | A |                      |       VIEW       |
 | M |  from libs  | D |   wxDataViewModel    |------------------|
 | O | <---------- | A | <------------------> |  wxDataViewCtrl  |
 | D |             | P |                      |------------------|
 | E | <---------> | T | <------------------- |    wxTextCtrl    |
 | L | UpdateScore | E | UpdateSearchString() |------------------|
 +---+             | R |                      |                  |
                   +---+                      +------------------+

Representing the data with a proper model allows the wxDataViewCtrl to
be updated in bulk, which is significantly faster than the old method of
populating it one item at a time. This also adds flexibility if more
data is to be added in the future (which may come in handy with the
upcoming .sweet format, as that adds more ways components can be related
to each other).

Replacing the wxTreeListCtrl with a wxDataViewCtrl also significantly
reduces the general GUI quirkiness, as wxDataViewCtrl is much more well
behaved.
2017-03-06 09:50:48 -05:00
..
dialog_annotate.cpp Move bitmaps.h out of base_struct.h 2017-02-21 09:50:15 -05:00
dialog_annotate_base.cpp Fix a few shadowed local variables and deprecated warnings in dialogs (using a very recent wxformbuilder version). 2016-05-10 08:56:03 +02:00
dialog_annotate_base.fbp Eeschema: improve netlist generation useability. 2015-06-23 09:55:16 -04:00
dialog_annotate_base.h Fix a few shadowed local variables and deprecated warnings in dialogs (using a very recent wxformbuilder version). 2016-05-10 08:56:03 +02:00
dialog_bom.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_bom_base.cpp Eeschema: enhancement on Windows: adds a show console option for BOM plugin execution (needed for instance by python plugins which are run with pythonw) 2016-03-31 08:28:16 +02:00
dialog_bom_base.fbp Eeschema: enhancement on Windows: adds a show console option for BOM plugin execution (needed for instance by python plugins which are run with pythonw) 2016-03-31 08:28:16 +02:00
dialog_bom_base.h Eeschema: enhancement on Windows: adds a show console option for BOM plugin execution (needed for instance by python plugins which are run with pythonw) 2016-03-31 08:28:16 +02:00
dialog_bom_cfg.keywords Eeschema: add dialog and utilities to create BOMs from generic netlist 2013-06-14 16:59:52 +02:00
dialog_bom_help.html Eeschema: enhancement on Windows: adds a show console option for BOM plugin execution (needed for instance by python plugins which are run with pythonw) 2016-03-31 08:28:16 +02:00
dialog_choose_component.cpp Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
dialog_choose_component.h Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
dialog_choose_component_base.cpp Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
dialog_choose_component_base.fbp Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
dialog_choose_component_base.h Switch component chooser to wxDataViewCtrl, refactor 2017-03-06 09:50:48 -05:00
dialog_edit_component_in_lib.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_edit_component_in_lib.h Gray out "Units are not interchangeable" if 1 unit 2016-11-18 11:42:42 +01:00
dialog_edit_component_in_lib_base.cpp Gray out "Units are not interchangeable" if 1 unit 2016-11-18 11:42:42 +01:00
dialog_edit_component_in_lib_base.fbp Gray out "Units are not interchangeable" if 1 unit 2016-11-18 11:42:42 +01:00
dialog_edit_component_in_lib_base.h Gray out "Units are not interchangeable" if 1 unit 2016-11-18 11:42:42 +01:00
dialog_edit_component_in_schematic.cpp Eeschema: fix schematic I/O plugin symbol name issue. 2017-02-11 13:44:17 -05:00
dialog_edit_component_in_schematic_fbp.cpp Spice model editor dialog 2016-08-11 14:41:40 +02:00
dialog_edit_component_in_schematic_fbp.fbp Spice model editor dialog 2016-08-11 14:41:40 +02:00
dialog_edit_component_in_schematic_fbp.h Spice model editor dialog 2016-08-11 14:41:40 +02:00
dialog_edit_label.cpp When editing a label property it always goes to right orientation by itself 2017-02-02 16:50:49 +01:00
dialog_edit_label_base.cpp Eeschema: Fix issue in multiline text properties dialog editor: on wxWidgets 3.1, the enter key closes the dialog instead of inserting a new line in text. 2016-03-24 13:28:50 +01:00
dialog_edit_label_base.fbp Eeschema: Fix issue in multiline text properties dialog editor: on wxWidgets 3.1, the enter key closes the dialog instead of inserting a new line in text. 2016-03-24 13:28:50 +01:00
dialog_edit_label_base.h Eeschema: Fix issue in multiline text properties dialog editor: on wxWidgets 3.1, the enter key closes the dialog instead of inserting a new line in text. 2016-03-24 13:28:50 +01:00
dialog_edit_libentry_fields_in_lib.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_edit_libentry_fields_in_lib_base.cpp Fix a minor cosmetic issue in dialog edit libentry fields 2016-10-22 18:43:12 +02:00
dialog_edit_libentry_fields_in_lib_base.fbp Fix a minor cosmetic issue in dialog edit libentry fields 2016-10-22 18:43:12 +02:00
dialog_edit_libentry_fields_in_lib_base.h dialog edit libentry fields in lib: Add button to edit spice parameters, and therefore to add spice parameters in lib components. 2016-10-15 20:05:03 +02:00
dialog_edit_one_field.cpp Use library ID to store library symbol information in the schematic symbol. 2017-02-10 08:36:59 -05:00
dialog_edit_one_field.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
dialog_eeschema_config.cpp Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_eeschema_config_fbp.cpp Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_eeschema_config_fbp.fbp Eeschema: minor library configuration dialog improvments. 2015-09-12 16:20:16 -04:00
dialog_eeschema_config_fbp.h Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_eeschema_options.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_eeschema_options.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_eeschema_options_base.cpp Add tool tips to autosave widget in dialogs (pcbnew and eeschema) 2016-11-22 11:26:32 +01:00
dialog_eeschema_options_base.fbp Add tool tips to autosave widget in dialogs (pcbnew and eeschema) 2016-11-22 11:26:32 +01:00
dialog_eeschema_options_base.h Add tool tips to autosave widget in dialogs (pcbnew and eeschema) 2016-11-22 11:26:32 +01:00
dialog_erc.cpp Move bitmaps.h out of base_struct.h 2017-02-21 09:50:15 -05:00
dialog_erc.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_erc_base.cpp Eeschema: dlg size fixes and osx fixes 2016-07-16 12:54:55 +02:00
dialog_erc_base.fbp Eeschema: dlg size fixes and osx fixes 2016-07-16 12:54:55 +02:00
dialog_erc_base.h Eeschema: dlg size fixes and osx fixes 2016-07-16 12:54:55 +02:00
dialog_lib_edit_draw_item.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_lib_edit_draw_item.fbp Eeschema: dlg size fixes and osx fixes 2016-07-16 12:54:55 +02:00
dialog_lib_edit_draw_item.h More missing source license fixes. 2014-10-21 11:48:00 -04:00
dialog_lib_edit_draw_item_base.cpp Eeschema: dlg size fixes and osx fixes 2016-07-16 12:54:55 +02:00
dialog_lib_edit_draw_item_base.h Eeschema: dlg size fixes and osx fixes 2016-07-16 12:54:55 +02:00
dialog_lib_edit_pin.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
dialog_lib_edit_pin.h Eeschema: editors: show the pin position (when clicking on it) in message panel. 2016-10-18 18:59:26 +02:00
dialog_lib_edit_pin_base.cpp Eeschema: editors: show the pin position (when clicking on it) in message panel. 2016-10-18 18:59:26 +02:00
dialog_lib_edit_pin_base.fbp Eeschema: editors: show the pin position (when clicking on it) in message panel. 2016-10-18 18:59:26 +02:00
dialog_lib_edit_pin_base.h Eeschema: editors: show the pin position (when clicking on it) in message panel. 2016-10-18 18:59:26 +02:00
dialog_lib_edit_pin_table.cpp Add more "override" markers. 2016-09-25 13:59:41 -04:00
dialog_lib_edit_pin_table.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_lib_edit_pin_table_base.cpp Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_lib_edit_pin_table_base.fbp Add pin number summary 2016-01-13 14:17:54 -05:00
dialog_lib_edit_pin_table_base.h Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_lib_edit_text.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_lib_edit_text.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_lib_edit_text_base.cpp Fixed asserts in DIALOG_LIB_EDIT_TEXT_BASE. 2016-08-11 14:41:04 +02:00
dialog_lib_edit_text_base.fbp Fixed asserts in DIALOG_LIB_EDIT_TEXT_BASE. 2016-08-11 14:41:04 +02:00
dialog_lib_edit_text_base.h Fixed asserts in DIALOG_LIB_EDIT_TEXT_BASE. 2016-08-11 14:41:04 +02:00
dialog_lib_new_component.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_lib_new_component.fbp Fix a few deprecated compil warnings in dialogs generated by wxformbuilder 2016-05-11 10:51:07 +02:00
dialog_lib_new_component.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
dialog_lib_new_component_base.cpp Fix a few deprecated compil warnings in dialogs generated by wxformbuilder 2016-05-11 10:51:07 +02:00
dialog_lib_new_component_base.h Fix a few deprecated compil warnings in dialogs generated by wxformbuilder 2016-05-11 10:51:07 +02:00
dialog_libedit_options.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_libedit_options.h Component Editor and Component viewer: add option to show the electrical pin type. 2016-11-04 12:13:22 +01:00
dialog_libedit_options_base.cpp Component Editor and Component viewer: add option to show the electrical pin type. 2016-11-04 12:13:22 +01:00
dialog_libedit_options_base.fbp Component Editor and Component viewer: add option to show the electrical pin type. 2016-11-04 12:13:22 +01:00
dialog_libedit_options_base.h Component Editor and Component viewer: add option to show the electrical pin type. 2016-11-04 12:13:22 +01:00
dialog_netlist.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_netlist_base.cpp Spice simulator and netlist generation: use only netnames (outdated option "use net numbers as net names removed" removed) 2016-09-16 20:36:19 +02:00
dialog_netlist_base.fbp Fixed dialogs asserts. 2015-06-15 15:54:58 +02:00
dialog_netlist_base.h Spice simulator and netlist generation: use only netnames (outdated option "use net numbers as net names removed" removed) 2016-09-16 20:36:19 +02:00
dialog_plot_schematic.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_plot_schematic.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_plot_schematic_base.cpp Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_plot_schematic_base.fbp eeschema plot dialog: cosmetic enhancement: 2015-12-21 16:08:37 +01:00
dialog_plot_schematic_base.h Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_print_using_printer.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
dialog_print_using_printer_base.cpp Fix a few shadowed local variables and deprecated warnings in dialogs (using a very recent wxformbuilder version). 2016-05-10 08:56:03 +02:00
dialog_print_using_printer_base.fbp Fixed dialogs asserts. 2015-06-15 15:54:58 +02:00
dialog_print_using_printer_base.h Fix a few shadowed local variables and deprecated warnings in dialogs (using a very recent wxformbuilder version). 2016-05-10 08:56:03 +02:00
dialog_rescue_each.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
dialog_rescue_each_base.cpp Fix a few deprecated compil warnings in dialogs generated by wxformbuilder 2016-05-11 10:51:07 +02:00
dialog_rescue_each_base.fbp Eeschema: minor component library rescue helper fixes. 2015-06-26 11:17:23 -04:00
dialog_rescue_each_base.h Fix a few deprecated compil warnings in dialogs generated by wxformbuilder 2016-05-11 10:51:07 +02:00
dialog_sch_edit_sheet_pin.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_sch_edit_sheet_pin.h Rename enum TypeSheetLabel to PINSHEETLABEL_SHAPE (Better name, and in accordance with our coding style policy) 2016-02-28 19:16:59 +01:00
dialog_sch_edit_sheet_pin_base.cpp Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_sch_edit_sheet_pin_base.fbp Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_sch_edit_sheet_pin_base.h Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_sch_sheet_props.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_sch_sheet_props.fbp Fixed dialogs asserts. 2015-06-15 15:54:58 +02:00
dialog_sch_sheet_props.h More missing source license fixes. 2014-10-21 11:48:00 -04:00
dialog_sch_sheet_props_base.cpp Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_sch_sheet_props_base.h Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_schematic_find.cpp Eeschema: always enable Replace All when there is a search term 2016-01-12 10:57:17 -05:00
dialog_schematic_find.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_schematic_find_base.cpp Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_schematic_find_base.fbp Very minor fix: double shortcut key fix in dialog_schematic_find_base.cpp 2016-02-01 11:42:33 +01:00
dialog_schematic_find_base.h Eeschema: minor dialog fixes. 2016-02-19 18:25:03 -05:00
dialog_signal_list.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_signal_list.h Changed the simulator code license to GPLv3+ 2016-08-11 14:41:43 +02:00
dialog_signal_list_base.cpp Simulator dialogs: fix minimal sizes and best sizes. 2016-08-20 17:25:51 +02:00
dialog_signal_list_base.fbp Simulator dialogs: fix minimal sizes and best sizes. 2016-08-20 17:25:51 +02:00
dialog_signal_list_base.h Simulator dialogs: fix minimal sizes and best sizes. 2016-08-20 17:25:51 +02:00
dialog_sim_settings.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_sim_settings.h Simulator dialogs: Fix incorrect handling of Validate(), which was called for all widgets by the default wxID_OK button handler. It is now called only for the active page of these dialogs (as wanted in code), therefore only for used widgets. 2016-09-17 14:38:34 +02:00
dialog_sim_settings_base.cpp Simulator dialogs: fix minimal sizes and best sizes. 2016-08-20 17:25:51 +02:00
dialog_sim_settings_base.fbp Simulator dialogs: fix minimal sizes and best sizes. 2016-08-20 17:25:51 +02:00
dialog_sim_settings_base.h Simulator dialogs: fix minimal sizes and best sizes. 2016-08-20 17:25:51 +02:00
dialog_spice_model.cpp MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dialog_spice_model.h Simulator dialogs: Fix incorrect handling of Validate(), which was called for all widgets by the default wxID_OK button handler. It is now called only for the active page of these dialogs (as wanted in code), therefore only for used widgets. 2016-09-17 14:38:34 +02:00
dialog_spice_model_base.cpp DIALOG_SPICE_MODEL_BASE: cosmetic enhancements (mainly better look of spice units table in Passive notebook page) 2016-09-19 18:48:07 +02:00
dialog_spice_model_base.fbp DIALOG_SPICE_MODEL_BASE: cosmetic enhancements (mainly better look of spice units table in Passive notebook page) 2016-09-19 18:48:07 +02:00
dialog_spice_model_base.h DIALOG_SPICE_MODEL_BASE: cosmetic enhancements (mainly better look of spice units table in Passive notebook page) 2016-09-19 18:48:07 +02:00