Skip to content

Commit

Permalink
FEM: Rename OutStr to more descriptive fem_console_message
Browse files Browse the repository at this point in the history
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF authored and wwmayer committed Apr 9, 2015
1 parent b149ba0 commit 1af11d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/MechanicalAnalysis.py
Expand Up @@ -231,7 +231,7 @@ def __init__(self,object):
self.Timer = QtCore.QTimer()
self.Timer.start(300)

self.OutStr = ''
self.fem_console_meaasge = ''

#Connect Signals and Slots
QtCore.QObject.connect(self.form.toolButton_chooseOutputDir, QtCore.SIGNAL("clicked()"), self.chooseOutputDir)
Expand All @@ -249,9 +249,9 @@ def __init__(self,object):
self.update()

def femConsoleMessage(self, message="", color="#000000"):
self.OutStr = self.OutStr + '<font color="#0000FF">{0:4.1f}:</font> <font color="{1}">{2}</font><br>'.\
self.fem_console_meaasge = self.fem_console_meaasge + '<font color="#0000FF">{0:4.1f}:</font> <font color="{1}">{2}</font><br>'.\
format(time.time() - self.Start, color, message)
self.form.textEdit_Output.setText(self.OutStr)
self.form.textEdit_Output.setText(self.fem_console_meaasge)

def printCalculiXstdout(self):
#There is probably no need to show user output from CalculiX. It should be
Expand Down

0 comments on commit 1af11d9

Please sign in to comment.