Skip to content

Commit

Permalink
FEM: rename TaskPanelJobControl to TaskPanelFemSolverCalculix
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach authored and yorikvanhavre committed Nov 28, 2015
1 parent 39c3662 commit 181262b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Fem/App/CMakeLists.txt
Expand Up @@ -87,7 +87,7 @@ SET(FemScripts_SRCS
_MechanicalMaterial.py
_TaskPanelFemBeamSection.py
_TaskPanelFemShellThickness.py
_TaskPanelJobControl.py
_TaskPanelFemSolverCalculix.py
_TaskPanelMechanicalMaterial.py
_TaskPanelResultControl.py
_ViewProviderFemAnalysis.py
Expand All @@ -114,7 +114,7 @@ SET(FemScripts_SRCS

TaskPanelFemBeamSection.ui
TaskPanelFemShellThickness.ui
TaskPanelMechanicalAnalysis.ui
TaskPanelFemSolverCalculix.ui
TaskPanelMechanicalMaterial.ui
TaskPanelShowDisplacement.ui
)
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Fem/CMakeLists.txt
Expand Up @@ -38,8 +38,8 @@ INSTALL(
_CommandNewMechanicalAnalysis.py

_CommandMechanicalJobControl.py
_TaskPanelJobControl.py
TaskPanelMechanicalAnalysis.ui
_TaskPanelFemSolverCalculix.py
TaskPanelFemSolverCalculix.ui

FemBeamSection.py
_FemBeamSection.py
Expand Down
1 change: 0 additions & 1 deletion src/Mod/Fem/Gui/CMakeLists.txt
Expand Up @@ -212,7 +212,6 @@ fc_target_copy_resource(FemGui
${CMAKE_BINARY_DIR}/Mod/Fem
InitGui.py
TaskPanelMechanicalMaterial.ui
TaskPanelMechanicalAnalysis.ui
)

SET(FemGuiIcon_SVG
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Mod/Fem/_CommandMechanicalJobControl.py
Expand Up @@ -44,8 +44,8 @@ def __init__(self):
self.is_active = 'with_analysis'

def Activated(self):
import _TaskPanelJobControl
taskd = _TaskPanelJobControl._TaskPanelJobControl(FemGui.getActiveAnalysis())
import _TaskPanelFemSolverCalculix
taskd = _TaskPanelFemSolverCalculix._TaskPanelFemSolverCalculix(FreeCADGui.Selection.getSelection()[0])
#taskd.obj = vobj.Object
taskd.update()
FreeCADGui.Control.showDialog(taskd)
Expand Down
Expand Up @@ -20,7 +20,7 @@
#* *
#***************************************************************************

__title__ = "Job Control Task Panel"
__title__ = "Calculix Job Control Task Panel"
__author__ = "Juergen Riegel"
__url__ = "http://www.freecadweb.org"

Expand All @@ -38,9 +38,9 @@
from PySide.QtGui import QApplication


class _TaskPanelJobControl:
class _TaskPanelFemSolverCalculix:
def __init__(self, solver_object):
self.form = FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/Fem/TaskPanelMechanicalAnalysis.ui")
self.form = FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/Fem/TaskPanelFemSolverCalculix.ui")
self.fem_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem")
ccx_binary = self.fem_prefs.GetString("ccxBinaryPath", "")
if ccx_binary:
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Fem/_ViewProviderFemSolverCalculix.py
Expand Up @@ -49,8 +49,8 @@ def onChanged(self, vobj, prop):
return

def setEdit(self, vobj, mode=0):
import _TaskPanelJobControl
taskd = _TaskPanelJobControl._TaskPanelJobControl(self.Object)
import _TaskPanelFemSolverCalculix
taskd = _TaskPanelFemSolverCalculix._TaskPanelFemSolverCalculix(self.Object)
FreeCADGui.Control.showDialog(taskd)
return True

Expand Down

0 comments on commit 181262b

Please sign in to comment.