Split up PreferencesUI.py into individual files for each class, then fixed the imports everywhere that broke because of this.
This commit is contained in:
@@ -10,12 +10,26 @@
|
||||
# File Modified (major mod): Marius Adrian Stanciu #
|
||||
# Date: 3/10/2019 #
|
||||
# ##########################################################
|
||||
import platform
|
||||
|
||||
from flatcamGUI.preferences.PreferencesUI import *
|
||||
from PyQt5 import QtWidgets, QtCore, QtGui
|
||||
from PyQt5.QtCore import QSettings, Qt
|
||||
|
||||
from flatcamGUI.GUIElements import *
|
||||
from flatcamGUI.preferences import settings
|
||||
from flatcamGUI.preferences.CNCJobPreferencesUI import CNCJobPreferencesUI
|
||||
from flatcamGUI.preferences.ExcellonPreferencesUI import ExcellonPreferencesUI
|
||||
from flatcamGUI.preferences.GeneralPreferencesUI import GeneralPreferencesUI
|
||||
from flatcamGUI.preferences.GeometryPreferencesUI import GeometryPreferencesUI
|
||||
from flatcamGUI.preferences.GerberPreferencesUI import GerberPreferencesUI
|
||||
from flatcamEditors.FlatCAMGeoEditor import FCShapeTool
|
||||
from matplotlib.backend_bases import KeyEvent as mpl_key_event
|
||||
|
||||
import webbrowser
|
||||
|
||||
from flatcamGUI.preferences.Tools2PreferencesUI import Tools2PreferencesUI
|
||||
from flatcamGUI.preferences.ToolsPreferencesUI import ToolsPreferencesUI
|
||||
from flatcamGUI.preferences.UtilPreferencesUI import UtilPreferencesUI
|
||||
from flatcamObjects.ObjectCollection import KeySensitiveListView
|
||||
|
||||
import subprocess
|
||||
|
||||
Reference in New Issue
Block a user