- in Copper Thieving Tool added a new parameter to filter areas too small to be desired in the copper thieving; added it to Preferences too
- Copper Thieving Tool added a new parameter to select what extra geometry to include in the Pattern Plating Mask; added it to the Preferences - made a wide change on the spinners GUI ranges: from 9999.9999 all values to 10000.0000 - fixed some late issues in Corner Markers Tool new feature (messages) - upgraded Calculator Tool and added the new parameter is the Preferences - updated translation strings
This commit is contained in:
@@ -3773,7 +3773,7 @@ class AppExcEditorUI:
|
||||
hlay = QtWidgets.QHBoxLayout()
|
||||
self.addtool_entry = FCDoubleSpinner()
|
||||
self.addtool_entry.set_precision(self.decimals)
|
||||
self.addtool_entry.set_range(0.0000, 9999.9999)
|
||||
self.addtool_entry.set_range(0.0000, 10000.0000)
|
||||
|
||||
hlay.addWidget(self.addtool_entry)
|
||||
|
||||
@@ -3831,7 +3831,7 @@ class AppExcEditorUI:
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
|
||||
self.resdrill_entry.setSizePolicy(sizePolicy)
|
||||
self.resdrill_entry.set_precision(self.decimals)
|
||||
self.resdrill_entry.set_range(0.0000, 9999.9999)
|
||||
self.resdrill_entry.set_range(0.0000, 10000.0000)
|
||||
|
||||
hlay2.addWidget(self.resdrill_entry)
|
||||
|
||||
@@ -3924,7 +3924,7 @@ class AppExcEditorUI:
|
||||
|
||||
self.drill_pitch_entry = FCDoubleSpinner()
|
||||
self.drill_pitch_entry.set_precision(self.decimals)
|
||||
self.drill_pitch_entry.set_range(0.0000, 9999.9999)
|
||||
self.drill_pitch_entry.set_range(0.0000, 10000.0000)
|
||||
|
||||
self.linear_form.addRow(self.drill_pitch_label, self.drill_pitch_entry)
|
||||
|
||||
@@ -4018,7 +4018,7 @@ class AppExcEditorUI:
|
||||
self.slot_length_entry = FCDoubleSpinner()
|
||||
self.slot_length_entry.set_precision(self.decimals)
|
||||
self.slot_length_entry.setSingleStep(0.1)
|
||||
self.slot_length_entry.setRange(0.0000, 9999.9999)
|
||||
self.slot_length_entry.setRange(0.0000, 10000.0000)
|
||||
|
||||
self.slot_form.addRow(self.slot_length_label, self.slot_length_entry)
|
||||
|
||||
@@ -4140,7 +4140,7 @@ class AppExcEditorUI:
|
||||
self.slot_array_pitch_entry = FCDoubleSpinner()
|
||||
self.slot_array_pitch_entry.set_precision(self.decimals)
|
||||
self.slot_array_pitch_entry.setSingleStep(0.1)
|
||||
self.slot_array_pitch_entry.setRange(0.0000, 9999.9999)
|
||||
self.slot_array_pitch_entry.setRange(0.0000, 10000.0000)
|
||||
|
||||
self.slot_array_linear_form.addRow(self.slot_array_pitch_label, self.slot_array_pitch_entry)
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ class BufferSelectionTool(AppTool):
|
||||
# Buffer distance
|
||||
self.buffer_distance_entry = FCDoubleSpinner()
|
||||
self.buffer_distance_entry.set_precision(self.decimals)
|
||||
self.buffer_distance_entry.set_range(0.0000, 999999.9999)
|
||||
self.buffer_distance_entry.set_range(0.0000, 9910000.0000)
|
||||
form_layout.addRow(_("Buffer distance:"), self.buffer_distance_entry)
|
||||
self.buffer_corner_lbl = FCLabel(_("Buffer corner:"))
|
||||
self.buffer_corner_lbl.setToolTip(
|
||||
@@ -445,7 +445,7 @@ class PaintOptionsTool(AppTool):
|
||||
grid.addWidget(ptdlabel, 0, 0)
|
||||
|
||||
self.painttooldia_entry = FCDoubleSpinner()
|
||||
self.painttooldia_entry.set_range(-9999.9999, 9999.9999)
|
||||
self.painttooldia_entry.set_range(-10000.0000, 10000.0000)
|
||||
self.painttooldia_entry.set_precision(self.decimals)
|
||||
grid.addWidget(self.painttooldia_entry, 0, 1)
|
||||
|
||||
@@ -477,7 +477,7 @@ class PaintOptionsTool(AppTool):
|
||||
"be painted.")
|
||||
)
|
||||
self.paintmargin_entry = FCDoubleSpinner()
|
||||
self.paintmargin_entry.set_range(-9999.9999, 9999.9999)
|
||||
self.paintmargin_entry.set_range(-10000.0000, 10000.0000)
|
||||
self.paintmargin_entry.set_precision(self.decimals)
|
||||
|
||||
grid.addWidget(marginlabel, 2, 0)
|
||||
@@ -942,7 +942,7 @@ class TransformEditorTool(AppTool):
|
||||
self.buffer_entry.set_precision(self.decimals)
|
||||
self.buffer_entry.setSingleStep(0.1)
|
||||
self.buffer_entry.setWrapping(True)
|
||||
self.buffer_entry.set_range(-9999.9999, 9999.9999)
|
||||
self.buffer_entry.set_range(-10000.0000, 10000.0000)
|
||||
|
||||
self.buffer_button = FCButton(_("Buffer D"))
|
||||
self.buffer_button.setToolTip(
|
||||
@@ -1465,7 +1465,7 @@ class TransformEditorTool(AppTool):
|
||||
|
||||
val_box = FCInputDialog(title=_("Offset on X axis ..."),
|
||||
text='%s: (%s)' % (_('Enter a distance Value'), str(units)),
|
||||
min=-9999.9999, max=10000.0000, decimals=self.decimals,
|
||||
min=-10000.0000, max=10000.0000, decimals=self.decimals,
|
||||
init_val=float(self.app.defaults['tools_transform_offset_x']),
|
||||
parent=self.app.ui)
|
||||
val_box.setWindowIcon(QtGui.QIcon(self.app.resource_location + '/offsetx32.png'))
|
||||
@@ -1483,7 +1483,7 @@ class TransformEditorTool(AppTool):
|
||||
|
||||
val_box = FCInputDialog(title=_("Offset on Y axis ..."),
|
||||
text='%s: (%s)' % (_('Enter a distance Value'), str(units)),
|
||||
min=-9999.9999, max=10000.0000, decimals=self.decimals,
|
||||
min=-10000.0000, max=10000.0000, decimals=self.decimals,
|
||||
init_val=float(self.app.defaults['tools_transform_offset_y']),
|
||||
parent=self.app.ui)
|
||||
val_box.setWindowIcon(QtGui.QIcon(self.app.resource_location + '/offsety32.png'))
|
||||
|
||||
@@ -2620,7 +2620,7 @@ class AppGerberEditor(QtCore.QObject):
|
||||
# Buffer distance
|
||||
self.buffer_distance_entry = FCDoubleSpinner()
|
||||
self.buffer_distance_entry.set_precision(self.decimals)
|
||||
self.buffer_distance_entry.set_range(-9999.9999, 9999.9999)
|
||||
self.buffer_distance_entry.set_range(-10000.0000, 10000.0000)
|
||||
|
||||
buf_form_layout.addRow('%s:' % _("Buffer distance"), self.buffer_distance_entry)
|
||||
self.buffer_corner_lbl = QtWidgets.QLabel('%s:' % _("Buffer corner"))
|
||||
@@ -2672,7 +2672,7 @@ class AppGerberEditor(QtCore.QObject):
|
||||
)
|
||||
self.scale_factor_entry = FCDoubleSpinner()
|
||||
self.scale_factor_entry.set_precision(self.decimals)
|
||||
self.scale_factor_entry.set_range(0.0000, 9999.9999)
|
||||
self.scale_factor_entry.set_range(0.0000, 10000.0000)
|
||||
|
||||
scale_form_layout.addRow(self.scale_factor_lbl, self.scale_factor_entry)
|
||||
|
||||
@@ -2708,7 +2708,7 @@ class AppGerberEditor(QtCore.QObject):
|
||||
self.ma_upper_threshold_lbl = QtWidgets.QLabel('%s:' % _("Area UPPER threshold"))
|
||||
self.ma_upper_threshold_lbl.setToolTip(
|
||||
_("The threshold value, all areas less than this are marked.\n"
|
||||
"Can have a value between 0.0000 and 9999.9999")
|
||||
"Can have a value between 0.0000 and 10000.0000")
|
||||
)
|
||||
self.ma_upper_threshold_entry = FCDoubleSpinner()
|
||||
self.ma_upper_threshold_entry.set_precision(self.decimals)
|
||||
@@ -2717,7 +2717,7 @@ class AppGerberEditor(QtCore.QObject):
|
||||
self.ma_lower_threshold_lbl = QtWidgets.QLabel('%s:' % _("Area LOWER threshold"))
|
||||
self.ma_lower_threshold_lbl.setToolTip(
|
||||
_("The threshold value, all areas more than this are marked.\n"
|
||||
"Can have a value between 0.0000 and 9999.9999")
|
||||
"Can have a value between 0.0000 and 10000.0000")
|
||||
)
|
||||
self.ma_lower_threshold_entry = FCDoubleSpinner()
|
||||
self.ma_lower_threshold_entry.set_precision(self.decimals)
|
||||
@@ -2827,7 +2827,7 @@ class AppGerberEditor(QtCore.QObject):
|
||||
|
||||
self.pad_pitch_entry = FCDoubleSpinner()
|
||||
self.pad_pitch_entry.set_precision(self.decimals)
|
||||
self.pad_pitch_entry.set_range(0.0000, 9999.9999)
|
||||
self.pad_pitch_entry.set_range(0.0000, 10000.0000)
|
||||
self.pad_pitch_entry.setSingleStep(0.1)
|
||||
|
||||
self.linear_form.addRow(self.pad_pitch_label, self.pad_pitch_entry)
|
||||
@@ -5623,7 +5623,7 @@ class TransformEditorTool(AppTool):
|
||||
self.buffer_entry.set_precision(self.decimals)
|
||||
self.buffer_entry.setSingleStep(0.1)
|
||||
self.buffer_entry.setWrapping(True)
|
||||
self.buffer_entry.set_range(-9999.9999, 9999.9999)
|
||||
self.buffer_entry.set_range(-10000.0000, 10000.0000)
|
||||
|
||||
self.buffer_button = FCButton(_("Buffer D"))
|
||||
self.buffer_button.setToolTip(
|
||||
@@ -6198,7 +6198,7 @@ class TransformEditorTool(AppTool):
|
||||
|
||||
val_box = FCInputDialog(title=_("Offset on X axis ..."),
|
||||
text='%s: (%s)' % (_('Enter a distance Value'), str(units)),
|
||||
min=-9999.9999, max=10000.0000, decimals=self.decimals,
|
||||
min=-10000.0000, max=10000.0000, decimals=self.decimals,
|
||||
init_val=float(self.app.defaults['tools_transform_offset_x']),
|
||||
parent=self.app.ui)
|
||||
val_box.setWindowIcon(QtGui.QIcon(self.app.resource_location + '/offsetx32.png'))
|
||||
@@ -6216,7 +6216,7 @@ class TransformEditorTool(AppTool):
|
||||
|
||||
val_box = FCInputDialog(title=_("Offset on Y axis ..."),
|
||||
text='%s: (%s)' % (_('Enter a distance Value'), str(units)),
|
||||
min=-9999.9999, max=10000.0000, decimals=self.decimals,
|
||||
min=-10000.0000, max=10000.0000, decimals=self.decimals,
|
||||
init_val=float(self.app.defaults['tools_transform_offset_y']),
|
||||
parent=self.app.ui)
|
||||
val_box.setWindowIcon(QtGui.QIcon(self.app.resource_location + '/offsety32.png'))
|
||||
|
||||
Reference in New Issue
Block a user