Added postprocessing GUI and Code

This commit is contained in:
Jakob Staudt
2018-05-24 11:52:02 +02:00
parent bb3b07455c
commit bdc2d8cc59
2 changed files with 16 additions and 3 deletions

View File

@@ -196,6 +196,17 @@ class CNCObjectUI(ObjectUI):
self.append_text = FCTextArea()
self.custom_box.addWidget(self.append_text)
processorlabel = QtGui.QLabel('Postprocessing-Script:')
processorlabel.setToolTip(
"Enter a Postprocessing Script here.\n"
"It gets applied to the G-Code after it\n"
"is generated."
)
self.custom_box.addWidget(processorlabel)
self.processing_script = FCTextArea()
self.custom_box.addWidget(self.processing_script)
# Dwell
grid1 = QtGui.QGridLayout()
self.custom_box.addLayout(grid1)
@@ -814,4 +825,4 @@ class GerberObjectUI(ObjectUI):
#
#
# if __name__ == '__main__':
# main()
# main()