kicad/common/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
..
color4Dpickerdlg.cpp Minor fix: Fix a incorrect min size of COLOR4D_PICKER_DLG on Linux+KDE 2017-10-04 16:35:57 +02:00
color4Dpickerdlg.h color4Dpickerdlg.cpp: avoid selecting accidentally a new color when the mouse cursor is inside a color map when opening the dialog 2017-08-12 07:52:15 +02:00
color4Dpickerdlg_base.cpp Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE 2017-08-28 17:40:26 +02:00
color4Dpickerdlg_base.fbp Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE 2017-08-28 17:40:26 +02:00
color4Dpickerdlg_base.h Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE 2017-08-28 17:40:26 +02:00
color_swatch.cpp Fix display issues in Layers list in Keepout Zone Properties. 2018-05-04 23:55:03 +01:00
footprint_choice.cpp Add footprint select dropdown to component chooser, serious refactoring 2017-03-24 09:20:27 -04:00
footprint_preview_widget.cpp Refactor FOOTPRINT_PREVIEW_PANEL 2017-03-10 23:26:45 -05:00
footprint_select_widget.cpp Remove background fp loading from Choose Symbol dlg. 2018-06-09 00:51:39 +01:00
gal_options_panel.cpp New menu structure for ModEdit. 2018-02-20 10:49:41 -05:00
indicator_icon.cpp Add inc/dec current layer alpha to menus. 2018-02-22 17:48:14 +01:00
mathplot.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
progress_reporter.cpp Async hardening 2018-06-04 15:08:40 -07:00
stepped_slider.cpp Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
text_ctrl_eval.cpp Fix SetValue() method in TEXT_CTRL_EVAL 2018-02-27 12:47:43 +01:00
two_column_tree_list.cpp Optimize TWO_COLUMN_TREE_LIST column sizing 2017-02-24 12:51:53 -05:00
unit_binder.cpp Switch UNIT_BINDER and DIALOG_SHIM to local units. 2018-07-17 15:09:53 +01:00
widget_hotkey_list.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
widget_net_selector.cpp fix code after renaming files 2018-01-30 15:34:09 +01:00