cleanup
This commit is contained in:
parent
73757a66cd
commit
13296aea1d
|
@ -1,5 +1,3 @@
|
||||||
from PyQt5 import QtWidgets
|
|
||||||
|
|
||||||
from flatcamGUI.preferences.OptionsGroupUI import OptionsGroupUI
|
from flatcamGUI.preferences.OptionsGroupUI import OptionsGroupUI
|
||||||
from flatcamGUI.preferences.PreferencesSectionUI import PreferencesSectionUI
|
from flatcamGUI.preferences.PreferencesSectionUI import PreferencesSectionUI
|
||||||
from flatcamGUI.preferences.cncjob.CNCJobAdvOptPrefGroupUI import CNCJobAdvOptPrefGroupUI
|
from flatcamGUI.preferences.cncjob.CNCJobAdvOptPrefGroupUI import CNCJobAdvOptPrefGroupUI
|
||||||
|
@ -18,14 +16,13 @@ class CNCJobPreferencesUI(PreferencesSectionUI):
|
||||||
|
|
||||||
def __init__(self, decimals, **kwargs):
|
def __init__(self, decimals, **kwargs):
|
||||||
self.decimals = decimals
|
self.decimals = decimals
|
||||||
self.cncjob_adv_opt_group = CNCJobAdvOptPrefGroupUI(decimals=self.decimals)
|
|
||||||
super().__init__(**kwargs)
|
super().__init__(**kwargs)
|
||||||
|
|
||||||
def build_groups(self) -> [OptionsGroupUI]:
|
def build_groups(self) -> [OptionsGroupUI]:
|
||||||
return [
|
return [
|
||||||
CNCJobGenPrefGroupUI(decimals=self.decimals),
|
CNCJobGenPrefGroupUI(decimals=self.decimals),
|
||||||
CNCJobOptPrefGroupUI(decimals=self.decimals),
|
CNCJobOptPrefGroupUI(decimals=self.decimals),
|
||||||
self.cncjob_adv_opt_group
|
CNCJobAdvOptPrefGroupUI(decimals=self.decimals)
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_tab_id(self):
|
def get_tab_id(self):
|
||||||
|
|
Loading…
Reference in New Issue