- renamed classes to have shorter names and grouped
This commit is contained in:
15
AppGUI/preferences/__init__.py
Normal file
15
AppGUI/preferences/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from AppGUI.GUIElements import *
|
||||
import gettext
|
||||
import AppTranslation as fcTranslate
|
||||
import builtins
|
||||
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user