- fixed some possible issues due of changes in version 2.0 of Shapely

- removed the import * statement from most of the app
This commit is contained in:
Marius Stanciu
2023-03-06 16:40:49 +02:00
parent 33de5314b1
commit 3b3c87e953
230 changed files with 1253 additions and 15935 deletions

View File

@@ -1,3 +1,4 @@
from typing import Dict
from PyQt6 import QtWidgets

View File

@@ -1,8 +1,10 @@
import os
from PyQt6 import QtGui, QtCore, QtWidgets
from PyQt6.QtCore import QSettings
from defaults import AppDefaults
import os
from defaults import AppDefaults
from appGUI.GUIElements import FCMessageBox
import gettext

View File

@@ -2,6 +2,7 @@ from PyQt6 import QtGui
from appGUI.GUIElements import FCSpinner, FCColorEntry, FCLabel, GLay, FCFrame
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtGui
from appGUI.GUIElements import FCCheckBox, RadioSet, FCSpinner, FCDoubleSpinner, FCSliderWithSpinner, FCColorEntry, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,7 +1,9 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCLabel, GLay, FCFrame
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.cncjob.CNCJobAdvOptPrefGroupUI import CNCJobAdvOptPrefGroupUI

View File

@@ -1,7 +1,9 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCCheckBox, FCLabel, GLay, FCFrame
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins

View File

@@ -1,7 +1,9 @@
from PyQt6 import QtWidgets, QtCore
from appGUI.GUIElements import RadioSet, FCSpinner, FCLabel, GLay, FCFrame
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins

View File

@@ -1,3 +1,4 @@
import platform
from PyQt6 import QtWidgets, QtCore, QtGui
@@ -5,6 +6,7 @@ from PyQt6 import QtWidgets, QtCore, QtGui
from appGUI.GUIElements import FCCheckBox, FCSpinner, RadioSet, FCSliderWithSpinner, FCColorEntry, FCLabel, \
GLay, FCFrame, FCButton
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins

View File

@@ -1,7 +1,9 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCLabel, GLay, FCFrame
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.excellon.ExcellonEditorPrefGroupUI import ExcellonEditorPrefGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtCore, QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,3 +1,4 @@
import sys
from PyQt6.QtCore import QSettings

View File

@@ -1,11 +1,16 @@
from PyQt6 import QtCore
from PyQt6.QtCore import QSettings
from appGUI.GUIElements import OptionalInputSection
from appGUI.preferences.OptionUI import *
from appGUI.preferences.OptionUI import OptionUI, HeadingOptionUI, SeparatorOptionUI, DoubleSpinnerOptionUI, \
SpinnerOptionUI, CheckboxOptionUI, ComboboxOptionUI, RadioSetOptionUI, ColorOptionUI
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI2
import gettext
import appTranslation as fcTranslate
import builtins
fcTranslate.apply_language('strings')
if '_' not in builtins.__dict__:
_ = gettext.gettext

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtCore, QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.general.GeneralAppPrefGroupUI import GeneralAppPrefGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCSpinner, RadioSet, FCLabel, GLay, FCFrame

View File

@@ -3,6 +3,7 @@ from PyQt6 import QtWidgets, QtCore
from appGUI.GUIElements import FCLabel, FCComboBox, GLay, FCFrame, FCCheckBox
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtGui
from appGUI.GUIElements import FCCheckBox, FCSpinner, FCColorEntry, RadioSet, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from PyQt6.QtCore import Qt

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.geometry.GeometryEditorPrefGroupUI import GeometryEditorPrefGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCCheckBox, RadioSet, FCDoubleSpinner, FCLabel, OptionalInputSection, GLay, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCSpinner, FCDoubleSpinner, FCComboBox, FCLabel, RadioSet, NumericalEvalTupleEntry, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtCore
from appGUI.GUIElements import RadioSet, FCSpinner, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtCore, QtGui, QtWidgets
from appGUI.GUIElements import FCCheckBox, FCSpinner, RadioSet, FCButton, FCSliderWithSpinner, FCLabel, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCCheckBox, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.gerber.GerberEditorPrefGroupUI import GerberEditorPrefGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.tools.Tools2InvertPrefGroupUI import Tools2InvertPrefGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.tools.Tools2sidedPrefGroupUI import Tools2sidedPrefGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.preferences.tools.ToolsSubPrefGroupUI import ToolsSubPrefGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCSpinner, FCDoubleSpinner, RadioSet, FCLabel, FCCheckBox, GLay, FCFrame, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCCheckBox, RadioSet, FCDoubleSpinner, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, RadioSet, FCLabel, GLay, FCComboBox2, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, RadioSet, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCSpinner, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCCheckBox, RadioSet, FCDoubleSpinner, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtGui
from appGUI.GUIElements import FCSpinner, RadioSet, FCTextArea, FCLabel, FCColorEntry, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCCheckBox, FCDoubleSpinner, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, RadioSet, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCCheckBox, RadioSet, FCComboBox, FCLabel, OptionalInputSection, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtCore
from PyQt6.QtCore import Qt

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtGui
from appGUI.GUIElements import RadioSet, FCDoubleSpinner, FCCheckBox, FCComboBox, FCColorEntry, FCLabel, FCSpinner, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import RadioSet, FCDoubleSpinner, FCComboBox2, FCCheckBox, FCSpinner, NumericalEvalTupleEntry, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCSpinner, RadioSet, FCLabel, FCComboBox, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCLabel, RadioSet, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtCore
from PyQt6.QtCore import Qt

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import RadioSet, FCDoubleSpinner, FCCheckBox, NumericalEvalTupleEntry, FCComboBox2, FCLabel, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import RadioSet, FCDoubleSpinner, FCComboBox2, FCCheckBox, NumericalEvalTupleEntry, FCLabel, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
from appGUI.GUIElements import FCDoubleSpinner, FCSpinner, RadioSet, FCCheckBox, FCLabel, GLay, FCFrame

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtCore
from appGUI.GUIElements import FCDoubleSpinner, FCSpinner, FCComboBox, NumericalEvalTupleEntry, FCLabel, GLay, \

View File

@@ -1,3 +1,4 @@
from appGUI.GUIElements import FCCheckBox, FCLabel, FCFrame, GLay
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtGui
from appGUI.GUIElements import FCDoubleSpinner, FCCheckBox, NumericalEvalTupleEntry, FCComboBox, FCLabel, \

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets, QtGui
from PyQt6.QtCore import QSettings

View File

@@ -1,3 +1,4 @@
from PyQt6 import QtWidgets
import sys