- removed the Toolchange Macro feature (in the future it will be replaced by full preprocessor customization)
- modified GUI in Preferences
This commit is contained in:
@@ -3,6 +3,7 @@ from PyQt5 import QtWidgets
|
||||
from appGUI.preferences.cncjob.CNCJobAdvOptPrefGroupUI import CNCJobAdvOptPrefGroupUI
|
||||
from appGUI.preferences.cncjob.CNCJobOptPrefGroupUI import CNCJobOptPrefGroupUI
|
||||
from appGUI.preferences.cncjob.CNCJobGenPrefGroupUI import CNCJobGenPrefGroupUI
|
||||
from appGUI.preferences.cncjob.CNCJobEditorPrefGroupUI import CNCJobEditorPrefGroupUI
|
||||
|
||||
|
||||
class CNCJobPreferencesUI(QtWidgets.QWidget):
|
||||
@@ -15,13 +16,21 @@ class CNCJobPreferencesUI(QtWidgets.QWidget):
|
||||
|
||||
self.cncjob_gen_group = CNCJobGenPrefGroupUI(decimals=self.decimals)
|
||||
self.cncjob_gen_group.setMinimumWidth(260)
|
||||
|
||||
self.cncjob_opt_group = CNCJobOptPrefGroupUI(decimals=self.decimals)
|
||||
self.cncjob_opt_group.setMinimumWidth(260)
|
||||
self.cncjob_adv_opt_group = CNCJobAdvOptPrefGroupUI(decimals=self.decimals)
|
||||
self.cncjob_adv_opt_group.setMinimumWidth(260)
|
||||
|
||||
self.cncjob_editor_group = CNCJobEditorPrefGroupUI(decimals=self.decimals)
|
||||
self.cncjob_editor_group.setMinimumWidth(260)
|
||||
|
||||
vlay = QtWidgets.QVBoxLayout()
|
||||
vlay.addWidget(self.cncjob_opt_group)
|
||||
vlay.addWidget(self.cncjob_adv_opt_group)
|
||||
|
||||
self.layout.addWidget(self.cncjob_gen_group)
|
||||
self.layout.addWidget(self.cncjob_opt_group)
|
||||
self.layout.addWidget(self.cncjob_adv_opt_group)
|
||||
self.layout.addLayout(vlay)
|
||||
self.layout.addWidget(self.cncjob_editor_group)
|
||||
|
||||
self.layout.addStretch()
|
||||
|
||||
Reference in New Issue
Block a user