- 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

@@ -25,7 +25,7 @@ class ToolsDrillPrefGroupUI(OptionsGroupUI):
# #############################################################################################################
# PARAMETERS Frame
# #############################################################################################################
self.drill_label = FCLabel('<span style="color:blue;"><b>%s</b></span>' % _("Parameters"))
self.drill_label = FCLabel('%s' % _("Parameters"), color='blue', bold=True)
self.drill_label.setToolTip(
_("Create CNCJob with toolpaths for drilling or milling holes.")
)
@@ -226,7 +226,7 @@ class ToolsDrillPrefGroupUI(OptionsGroupUI):
# #############################################################################################################
# Drill Slots Frame
# #############################################################################################################
self.dslots_label = FCLabel('<span style="color:brown;"><b>%s</b></span>' % _('Drilling Slots'))
self.dslots_label = FCLabel('%s' % _("Drilling Slots"), color='brown', bold=True)
self.layout.addWidget(self.dslots_label)
ds_frame = FCFrame()
@@ -272,7 +272,7 @@ class ToolsDrillPrefGroupUI(OptionsGroupUI):
# #############################################################################################################
# Advanced Options Frame
# #############################################################################################################
self.exc_label = FCLabel('<span style="color:teal;"><b>%s</b></span>' % _('Advanced Options'))
self.exc_label = FCLabel('%s' % _("Advanced Options"), color='teal', bold=True)
self.exc_label.setToolTip(
_("A list of advanced parameters.")
)
@@ -417,7 +417,7 @@ class ToolsDrillPrefGroupUI(OptionsGroupUI):
# #############################################################################################################
# Area Exclusion Frame
# #############################################################################################################
self.area_exc_label = FCLabel('<span style="color:magenta;"><b>%s</b></span>' % _('Area Exclusion'))
self.area_exc_label = FCLabel('%s' % _("Area Exclusion"), color='magenta', bold=True)
self.area_exc_label.setToolTip(
_("Area exclusion parameters.")
)