- removed reference to postprocessors and replaced it with preprocessors
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
from PyQt5 import QtWidgets
|
||||
|
||||
from AppTool import FlatCAMTool
|
||||
from AppTool import AppTool
|
||||
from AppGUI.GUIElements import FCDoubleSpinner, FCCheckBox, OptionalInputSection, FCComboBox
|
||||
from copy import deepcopy
|
||||
|
||||
@@ -28,7 +28,7 @@ if '_' not in builtins.__dict__:
|
||||
log = logging.getLogger('base')
|
||||
|
||||
|
||||
class RulesCheck(FlatCAMTool):
|
||||
class RulesCheck(AppTool):
|
||||
|
||||
toolName = _("Check Rules")
|
||||
|
||||
@@ -37,7 +37,7 @@ class RulesCheck(FlatCAMTool):
|
||||
def __init__(self, app):
|
||||
self.decimals = app.decimals
|
||||
|
||||
FlatCAMTool.__init__(self, app)
|
||||
AppTool.__init__(self, app)
|
||||
|
||||
# ## Title
|
||||
title_label = QtWidgets.QLabel("%s" % self.toolName)
|
||||
@@ -610,13 +610,13 @@ class RulesCheck(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.app.ui.notebook.setTabText(2, _("Rules Tool"))
|
||||
|
||||
def install(self, icon=None, separator=None, **kwargs):
|
||||
FlatCAMTool.install(self, icon, separator, shortcut='Alt+R', **kwargs)
|
||||
AppTool.install(self, icon, separator, shortcut='Alt+R', **kwargs)
|
||||
|
||||
def set_tool_ui(self):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user