- added the circle approximation parameter for Excellon geometry in Preferences

- updated the language strings
This commit is contained in:
Marius Stanciu
2021-10-04 20:57:42 +03:00
committed by Marius
parent ab704e2a60
commit 1b6b432f7c
32 changed files with 10218 additions and 9878 deletions

View File

@@ -57,6 +57,18 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
)
plot_grid.addWidget(self.multicolored_cb, 0, 2)
# Number of circle steps for circular aperture linear approximation
self.circle_steps_label = FCLabel('%s:' % _("Circle Steps"))
self.circle_steps_label.setToolTip(
_("The number of circle steps for \n"
"linear approximation of circles.")
)
self.circle_steps_entry = FCSpinner()
self.circle_steps_entry.set_range(0, 9999)
plot_grid.addWidget(self.circle_steps_label, 2, 0)
plot_grid.addWidget(self.circle_steps_entry, 2, 1, 1, 2)
# separator_line = QtWidgets.QFrame()
# separator_line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
# separator_line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)