[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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user