- minor UI changes for Gerber UI

- after an object move, the apertures plotted shapes are deleted from canvas and the mark all button is deselected
- fixed offset, rotate, scale, skew for follow_geometry. Fixed the move tool also.
- fixed offset, rotate, scale, skew for 'solid_geometry' inside the self.apertures.
This commit is contained in:
Marius Stanciu
2019-03-03 16:35:15 +02:00
parent 9f60df850e
commit d79d6cf2bc
6 changed files with 71 additions and 13 deletions

View File

@@ -398,7 +398,7 @@ class GerberObjectUI(ObjectUI):
self.generate_iso_button.setFixedWidth(90)
hlay_1.addWidget(self.generate_iso_button)
hlay_1.addStretch()
# hlay_1.addStretch()
self.generate_ext_iso_button = QtWidgets.QPushButton('Ext Geo')
self.generate_ext_iso_button.setToolTip(
@@ -406,7 +406,7 @@ class GerberObjectUI(ObjectUI):
"for isolation routing containing\n"
"only the exteriors geometry."
)
# self.generate_ext_iso_button.setFixedWidth(60)
# self.generate_ext_iso_button.setFixedWidth(100)
hlay_1.addWidget(self.generate_ext_iso_button)
self.generate_int_iso_button = QtWidgets.QPushButton('Int Geo')
@@ -415,7 +415,7 @@ class GerberObjectUI(ObjectUI):
"for isolation routing containing\n"
"only the interiors geometry."
)
# self.generate_int_iso_button.setFixedWidth(60)
# self.generate_ext_iso_button.setFixedWidth(90)
hlay_1.addWidget(self.generate_int_iso_button)
# when the follow checkbox is checked then the exteriors and interiors isolation generation buttons