excellon advanced

This commit is contained in:
David Robertson
2020-05-11 00:06:08 +01:00
parent d464fa5878
commit 3340590f60
3 changed files with 86 additions and 158 deletions

View File

@@ -18,13 +18,9 @@ class ExcellonPreferencesUI(PreferencesSectionUI):
def __init__(self, decimals, **kwargs):
self.decimals = decimals
# FIXME: remove the need for external access to excellon_opt_group
self.excellon_opt_group = ExcellonOptPrefGroupUI(decimals=self.decimals)
self.excellon_adv_opt_group = ExcellonAdvOptPrefGroupUI(decimals=self.decimals)
self.excellon_editor_group = ExcellonEditorPrefGroupUI(decimals=self.decimals)
super().__init__(**kwargs)
self.init_sync_export()
@@ -33,7 +29,7 @@ class ExcellonPreferencesUI(PreferencesSectionUI):
ExcellonGenPrefGroupUI(decimals=self.decimals),
self.excellon_opt_group,
ExcellonExpPrefGroupUI(decimals=self.decimals),
self.excellon_adv_opt_group,
ExcellonAdvOptPrefGroupUI(decimals=self.decimals),
self.excellon_editor_group
]