- modified the on_about() message

This commit is contained in:
Marius Stanciu
2019-09-07 20:10:09 +03:00
committed by Marius
parent 65ac58ae83
commit bdbe0f59f0
3 changed files with 10 additions and 5 deletions

View File

@@ -1816,6 +1816,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.activity_view = FlatCAMActivityView()
self.infobar.addWidget(self.activity_view)
# ###########################################################################
# ####### Set the APP ICON and the WINDOW TITLE and GEOMETRY ################
# ###########################################################################
self.app_icon = QtGui.QIcon()
self.app_icon.addFile('share/flatcam_icon16.png', QtCore.QSize(16, 16))
self.app_icon.addFile('share/flatcam_icon24.png', QtCore.QSize(24, 24))
@@ -1950,6 +1954,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
self.lock_action.triggered[bool].connect(self.lock_toolbar)
def eventFilter(self, obj, event):
# filter the ToolTips display based on a Preferences setting
if self.general_defaults_form.general_app_group.toggle_tooltips_cb.get_value() is False:
if event.type() == QtCore.QEvent.ToolTip:
return True