- 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:
@@ -25,7 +25,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# PARAMETERS Frame
|
||||
# #############################################################################################################
|
||||
self.mill_label = FCLabel('<span style="color:blue;"><b>%s</b></span>' % _("Parameters"))
|
||||
self.mill_label = FCLabel('%s' % _("Parameters"), color='blue', bold=True)
|
||||
self.mill_label.setToolTip(
|
||||
_("Create CNCJob with toolpaths for milling either Geometry or drill holes.")
|
||||
)
|
||||
@@ -289,7 +289,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Advanced Options Frame
|
||||
# #############################################################################################################
|
||||
self.adv_label = FCLabel('<span style="color:teal;"><b>%s</b></span>' % _('Advanced Options'))
|
||||
self.adv_label = FCLabel('%s' % _("Advanced Options"), color='teal', bold=True)
|
||||
self.adv_label.setToolTip(
|
||||
_("A list of advanced parameters.")
|
||||
)
|
||||
@@ -437,7 +437,7 @@ class ToolsMillPrefGroupUI(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.")
|
||||
)
|
||||
@@ -503,7 +503,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Area Polish Frame
|
||||
# #############################################################################################################
|
||||
self.pol_label = FCLabel('<span style="color:brown;"><b>%s</b></span>' % _('Add Polish'))
|
||||
self.pol_label = FCLabel('%s' % _("Add Polish"), color='brown', bold=True)
|
||||
self.pol_label.setToolTip(
|
||||
_("Will add a Paint section at the end of the GCode.\n"
|
||||
"A metallic brush will clean the material after milling.")
|
||||
@@ -562,7 +562,7 @@ class ToolsMillPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Excellon Milling Frame
|
||||
# #############################################################################################################
|
||||
self.mille_label = FCLabel('<span style="color:darkorange;"><b>%s</b></span>' % _('Excellon Milling'))
|
||||
self.mille_label = FCLabel('%s' % _("Excellon Milling"), color='darkorange', bold=True)
|
||||
self.mille_label.setToolTip(
|
||||
_("Will mill Excellon holes progressively from the center of the hole.")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user