- added new feature in NCC Tool: now another object can be used as reference for the area extent to be cleared of copper

This commit is contained in:
Marius Stanciu
2019-08-10 14:59:29 +03:00
parent 89717642ed
commit eea66c0311
6 changed files with 120 additions and 7 deletions

View File

@@ -5875,6 +5875,19 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
self.ncc_rest_cb = FCCheckBox()
grid0.addWidget(self.ncc_rest_cb, 6, 1)
# ## Reference
self.reference_radio = RadioSet([{'label': _('Itself'), 'value': 'itself'},
{'label': _('Box'), 'value': 'box'}])
reference_label = QtWidgets.QLabel(_("Reference:"))
reference_label.setToolTip(
_("When choosing the 'Itself' option the non copper clearing extent\n"
"is based on the object that is copper cleared.\n "
"Choosing the 'Box' option will do non copper clearing within the box\n"
"specified by another object different than the one that is copper cleared.")
)
grid0.addWidget(reference_label, 7, 0)
grid0.addWidget(self.reference_radio, 7, 1)
self.layout.addStretch()