kicad/include/widgets
Jeff Young 74acb76e7f Switch UNIT_BINDER and DIALOG_SHIM to local units.
The general idea is to support user-units inheritance.  The
UNIT_BINDER allows wrapped controls to inherit units from their
parent dialog, while KEYWAY_HOLDER and DIALOG_SHIM allow child
KEYWAY_HOLDERs or DIALOG_SHIMs to inherit units from their
parent.

The GetUserUnits() method signature has to move to KEYWAY_HOLDER
rather than KEYWAY_PLAYER (where it makes more sense) as it’s the
only common ancestor of KEYWAY_PLAYER and DIALOG_SHIM.

As long as we'll be using the UNIT_BINDER more widely, it also
makes sense to move evaluation and validation into it.

This commit also provides eeschema’s DIALOG_LABEL_EDITOR and
pcbnew’s DIALOG_TRACK_VIA_PROPERTIES and DIALOG_SET_GRID as
models of how to use the new user-units inheritance, eval, and
validation.

Fixes: lp:593795
* https://bugs.launchpad.net/kicad/+bug/593795

(cherry picked from commit c8bc53e)
2018-07-17 15:09:53 +01:00
..
color_swatch.h Fix display issues in Layers list in Keepout Zone Properties. 2018-05-04 23:55:03 +01:00
footprint_choice.h Fix a few doxygen warnings 2017-06-25 11:26:04 +02:00
footprint_preview_widget.h Refactor FOOTPRINT_PREVIEW_PANEL 2017-03-10 23:26:45 -05:00
footprint_select_widget.h Remove background fp loading from Choose Symbol dlg. 2018-06-09 00:51:39 +01:00
gal_options_panel.h Move cursor shape flag into GAL settings 2017-03-22 10:24:48 +01:00
indicator_icon.h Add inc/dec current layer alpha to menus. 2018-02-22 17:48:14 +01:00
mathplot.h Spice Simulator: set correct scale for constant plots 2018-05-28 16:42:15 +02:00
progress_reporter.h Prevent reentrancy in footprint loading. 2018-04-16 23:19:08 +01:00
stepped_slider.h Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
text_ctrl_eval.h Fix SetValue() method in TEXT_CTRL_EVAL 2018-02-27 12:47:43 +01:00
two_column_tree_list.h Optimize TWO_COLUMN_TREE_LIST column sizing 2017-02-24 12:51:53 -05:00
unit_binder.h Switch UNIT_BINDER and DIALOG_SHIM to local units. 2018-07-17 15:09:53 +01:00
widget_hotkey_list.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
widget_net_selector.h WIDGET_NET_SELECTOR: speedup the net list creation. 2018-01-19 11:01:42 +01:00