|
|
@@ -1,5 +1,4 @@
|
|
|
from PyQt5 import QtWidgets
|
|
|
-from PyQt5.QtCore import QSettings
|
|
|
|
|
|
from flatcamGUI.GUIElements import FCCheckBox, RadioSet, FCDoubleSpinner, FCSpinner, OptionalInputSection
|
|
|
from flatcamGUI.preferences.OptionsGroupUI import OptionsGroupUI
|
|
|
@@ -12,16 +11,9 @@ fcTranslate.apply_language('strings')
|
|
|
if '_' not in builtins.__dict__:
|
|
|
_ = gettext.gettext
|
|
|
|
|
|
-settings = QSettings("Open Source", "FlatCAM")
|
|
|
-if settings.contains("machinist"):
|
|
|
- machinist_setting = settings.value('machinist', type=int)
|
|
|
-else:
|
|
|
- machinist_setting = 0
|
|
|
-
|
|
|
|
|
|
class GerberAdvOptPrefGroupUI(OptionsGroupUI):
|
|
|
def __init__(self, decimals=4, parent=None):
|
|
|
- # OptionsGroupUI.__init__(self, "Gerber Adv. Options Preferences", parent=parent)
|
|
|
super(GerberAdvOptPrefGroupUI, self).__init__(self, parent=parent)
|
|
|
|
|
|
self.setTitle(str(_("Gerber Adv. Options")))
|