- replaced all the FCLabel widgets that have color HTML with the new FCLabel widget that uses parameters for 'color' and weight

This commit is contained in:
Marius Stanciu
2022-04-18 03:41:04 +03:00
committed by Marius
parent 04357843fe
commit d8a0be84a3
79 changed files with 263 additions and 264 deletions

View File

@@ -1759,7 +1759,7 @@ class LevelUI:
self.level.setCheckable(True)
self.title_box.addWidget(self.level)
self.obj_combo_label = FCLabel('<span style="color:darkorange;"><b>%s</b></span>' % _("Source Object"))
self.obj_combo_label = FCLabel('%s' % _("Source Object"), color='darkorange', bold=True)
self.obj_combo_label.setToolTip(
_("CNCJob source object to be levelled.")
)
@@ -1836,7 +1836,7 @@ class LevelUI:
# #############################################################################################################
# ############### Probe GCode Generation ######################################################################
# #############################################################################################################
self.probe_gc_label = FCLabel('<span style="color:blue;"><b>%s</b></span>' % _("Parameters"))
self.probe_gc_label = FCLabel('%s' % _("Parameters"), color='blue', bold=True)
self.probe_gc_label.setToolTip(
_("Will create a GCode which will be sent to the controller,\n"
"either through a file or directly, with the intent to get the height map\n"
@@ -1953,7 +1953,7 @@ class LevelUI:
# #############################################################################################################
# Controller Frame
# #############################################################################################################
self.al_controller_label = FCLabel('<span style="color:red;"><b>%s</b></span>' % _("Controller"))
self.al_controller_label = FCLabel('%s' % _("Controller"), color='red', bold=True)
self.al_controller_label.setToolTip(
_("The kind of controller for which to generate\n"
"height map gcode.")