- in NCC Tool added area selection feature

This commit is contained in:
Marius Stanciu
2019-08-21 03:24:38 +03:00
committed by Marius
parent f338403130
commit 47cd3dd043
3 changed files with 129 additions and 28 deletions

View File

@@ -6469,12 +6469,14 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
# ## Reference
self.reference_radio = RadioSet([{'label': _('Itself'), 'value': 'itself'},
{'label': _('Box'), 'value': 'box'}])
{"label": _("Area"), "value": "area"},
{'label': _('Ref'), 'value': 'box'}])
reference_label = QtWidgets.QLabel('%s:' % _("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"
"Area Selection - left mouse click to start selection of the area to be painted.\n"
"Choosing the 'Ref' 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, 10, 0)