- 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

@@ -1267,7 +1267,7 @@ class FilmUI:
# #############################################################################################################
# Source Object Frame
# #############################################################################################################
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(
_("Excellon object for drilling/milling operation.")
)
@@ -1332,7 +1332,7 @@ class FilmUI:
# #############################################################################################################
# Adjustments Frame
# #############################################################################################################
self.film_adj_label = FCLabel('<span style="color:green;"><b>%s</b></span>' % _("Adjustments"))
self.film_adj_label = FCLabel('%s' % _("Adjustments"), color='green', bold=True)
self.film_adj_label.setToolTip(
_("Compensate print distortions.")
)
@@ -1529,7 +1529,7 @@ class FilmUI:
# #############################################################################################################
# Parameters Frame
# #############################################################################################################
self.film_param_label = FCLabel('<span style="color:blue;"><b>%s</b></span>' % _("Parameters"))
self.film_param_label = FCLabel('%s' % _("Parameters"), color='blue', bold=True)
self.tools_box.addWidget(self.film_param_label)
par_frame = FCFrame()
@@ -1669,7 +1669,7 @@ class FilmUI:
# #############################################################################################################
# Export Frame
# #############################################################################################################
self.export_label = FCLabel('<span style="color:red;"><b>%s</b></span>' % _('Export'))
self.export_label = FCLabel('%s' % _("Export"), color='red', bold=True)
self.tools_box.addWidget(self.export_label)
exp_frame = FCFrame()