[FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements (#13684)

* [FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements

* [FEM] CCX Solver TP make time code more prominent

* [FEM] Gmsh mesh TP make time code more prominent
This commit is contained in:
Syres916
2024-04-29 17:29:00 +01:00
committed by GitHub
parent 22e157b78c
commit d1946bfebe
4 changed files with 64 additions and 19 deletions

View File

@@ -407,3 +407,13 @@ def expandParentObject():
continue
for item in items:
tree.expandItem(item)
def getOutputWinColor(type):
"""
type: 'Error', 'Warning', 'Logging', 'Text'
"""
col_int = FreeCAD.ParamGet(
"User parameter:BaseApp/Preferences/OutputWindow"
).GetUnsigned("color" + type)
return "#{:08X}".format(col_int)[:-2]