diff --git a/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui b/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui
index 9e8d977f0..708550139 100644
--- a/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui
+++ b/src/Mod/Fem/Gui/DlgSettingsFemCcx.ui
@@ -7,7 +7,7 @@
0
0
555
- 628
+ 652
@@ -39,8 +39,40 @@
-
-
-
-
+
-
+
+
+ false
+
+
+ ExternalEditorPath
+
+
+ Mod/Fem/Ccx
+
+
+
+ -
+
+
+ false
+
+
+
+ 100
+ 0
+
+
+
+ ccx binary path:
+
+
+
+ -
+
+
+ false
+
0
@@ -76,23 +108,7 @@
- -
-
-
- false
-
-
-
- 100
- 0
-
-
-
- External editor:
-
-
-
- -
+
-
Use internal editor for .inp files
@@ -108,28 +124,18 @@
- -
+
-
Editor
- -
-
+
-
+
false
-
- ExternalEditorPath
-
-
- Mod/Fem/Ccx
-
-
-
- -
-
100
@@ -137,7 +143,30 @@
- ccx binary
+ External editor:
+
+
+
+ -
+
+
+ Use standard ccx binary path
+
+
+ true
+
+
+ UseStandardCcxLocation
+
+
+ Mod/Fem/Ccx
+
+
+
+ -
+
+
+ CalculiX binary
@@ -704,5 +733,69 @@
+
+ cb_ccx_binary_std
+ toggled(bool)
+ l_ccx_binary_path
+ setEnabled(bool)
+
+
+ 406
+ 45
+
+
+ 148
+ 68
+
+
+
+
+ cb_ccx_binary_std
+ toggled(bool)
+ fc_ccx_binary_path
+ setEnabled(bool)
+
+
+ 406
+ 45
+
+
+ 406
+ 68
+
+
+
+
+ cb_ccx_binary_std
+ toggled(bool)
+ l_ccx_binary_path
+ setDisabled(bool)
+
+
+ 406
+ 45
+
+
+ 148
+ 68
+
+
+
+
+ cb_ccx_binary_std
+ toggled(bool)
+ fc_ccx_binary_path
+ setDisabled(bool)
+
+
+ 406
+ 45
+
+
+ 406
+ 68
+
+
+
diff --git a/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp b/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp
index 0940cbf2a..0bf52e32e 100644
--- a/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp
+++ b/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.cpp
@@ -1,7 +1,8 @@
/***************************************************************************
* Copyright (c) 2015 FreeCAD Developers *
* Author: Przemo Firszt *
- * Based on src/Mod/Raytracing/Gui/DlgSettingsRayImp.cpp *
+ * Author: Bernd Hahnebach *
+ * Based on src/Mod/Fem/Gui/DlgSettingsFemGeneralImp.cpp *
* *
* This file is part of the FreeCAD CAx development system. *
* *
@@ -66,7 +67,8 @@ void DlgSettingsFemCcxImp::saveSettings()
cb_int_editor->onSave();
fc_ext_editor->onSave();
- fc_ccx_binary->onSave();
+ cb_ccx_binary_std->onSave();
+ fc_ccx_binary_path->onSave();
}
void DlgSettingsFemCcxImp::loadSettings()
@@ -88,7 +90,8 @@ void DlgSettingsFemCcxImp::loadSettings()
cb_int_editor->onRestore();
fc_ext_editor->onRestore();
- fc_ccx_binary->onRestore();
+ cb_ccx_binary_std->onRestore();
+ fc_ccx_binary_path->onRestore();
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/Mod/Fem/Ccx");
diff --git a/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.h b/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.h
index 71d1680fb..245c74e96 100644
--- a/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.h
+++ b/src/Mod/Fem/Gui/DlgSettingsFemCcxImp.h
@@ -1,7 +1,8 @@
/**************************************************************************
* Copyright (c) 2015 FreeCAD Developers *
* Author: Przemo Firszt *
- * Based on src/Mod/Raytracing/Gui/DlgSettingsRayImp.h *
+ * Author: Bernd Hahnebach *
+ * Based on src/Mod/Fem/Gui/DlgSettingsFemGeneralImp.h *
* *
* This file is part of the FreeCAD CAx development system. *
* *