- removed reference to postprocessors and replaced it with preprocessors
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# ##########################################################
|
||||
|
||||
from PyQt5 import QtGui, QtCore, QtWidgets
|
||||
from AppTool import FlatCAMTool
|
||||
from AppTool import AppTool
|
||||
from AppGUI.GUIElements import FCTree
|
||||
|
||||
from shapely.geometry import MultiPolygon, Polygon
|
||||
@@ -27,13 +27,13 @@ if '_' not in builtins.__dict__:
|
||||
log = logging.getLogger('base')
|
||||
|
||||
|
||||
class Properties(FlatCAMTool):
|
||||
class Properties(AppTool):
|
||||
toolName = _("Properties")
|
||||
|
||||
calculations_finished = QtCore.pyqtSignal(float, float, float, float, float, object)
|
||||
|
||||
def __init__(self, app):
|
||||
FlatCAMTool.__init__(self, app)
|
||||
AppTool.__init__(self, app)
|
||||
|
||||
self.setSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Ignored)
|
||||
|
||||
@@ -97,13 +97,13 @@ class Properties(FlatCAMTool):
|
||||
if self.app.ui.splitter.sizes()[0] == 0:
|
||||
self.app.ui.splitter.setSizes([1, 1])
|
||||
|
||||
FlatCAMTool.run(self)
|
||||
AppTool.run(self)
|
||||
self.set_tool_ui()
|
||||
|
||||
self.properties()
|
||||
|
||||
def install(self, icon=None, separator=None, **kwargs):
|
||||
FlatCAMTool.install(self, icon, separator, shortcut='P', **kwargs)
|
||||
AppTool.install(self, icon, separator, shortcut='P', **kwargs)
|
||||
|
||||
def set_tool_ui(self):
|
||||
# this reset the TreeWidget
|
||||
|
||||
Reference in New Issue
Block a user