- added an icon in the infobar that will show more clearly the status of the grid snapping

This commit is contained in:
Marius Stanciu
2019-12-20 03:32:09 +02:00
committed by Marius
parent 28bf1c3b5a
commit 8ab91b7f4f
8 changed files with 20 additions and 0 deletions

View File

@@ -2149,6 +2149,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.fcinfo = FlatCAMInfoBar(app=self.app)
self.infobar.addWidget(self.fcinfo, stretch=1)
self.snap_infobar_label = QtWidgets.QLabel()
self.snap_infobar_label.setPixmap(QtGui.QPixmap(self.app.resource_location + '/snap_16.png'))
self.infobar.addWidget(self.snap_infobar_label)
self.rel_position_label = QtWidgets.QLabel(
"<b>Dx</b>: 0.0000&nbsp;&nbsp; <b>Dy</b>: 0.0000&nbsp;&nbsp;&nbsp;&nbsp;")
self.rel_position_label.setMinimumWidth(110)