From ab2f1c5d1d19a1708d97334174c07f2bb508df67 Mon Sep 17 00:00:00 2001 From: Przemo Firszt Date: Sat, 4 Apr 2015 12:43:52 +0100 Subject: [PATCH] FEM: Enable displacement related elements on "Show" only Displacement related elements (factor, slider max and the slider itself) are now only active when "Show" is selected. Previously they were active even when "Show" wasn't checked and it was potentially confusing for the user as nothing was changing when chacnging slider settings. Signed-off-by: Przemo Firszt --- src/Mod/Fem/ShowDisplacement.ui | 102 +++++++++++++++++++++++++++++++- 1 file changed, 99 insertions(+), 3 deletions(-) diff --git a/src/Mod/Fem/ShowDisplacement.ui b/src/Mod/Fem/ShowDisplacement.ui index e843f394b..3226713e0 100644 --- a/src/Mod/Fem/ShowDisplacement.ui +++ b/src/Mod/Fem/ShowDisplacement.ui @@ -6,8 +6,8 @@ 0 0 - 186 - 371 + 203 + 379 @@ -109,6 +109,9 @@ + + false + Factor: @@ -116,6 +119,9 @@ + + false + false @@ -136,6 +142,9 @@ + + false + Slider max: @@ -143,6 +152,9 @@ + + false + false @@ -161,6 +173,9 @@ + + false + Qt::Horizontal @@ -194,5 +209,86 @@ - + + + checkBox_ShowDisplacement + toggled(bool) + label_3 + setEnabled(bool) + + + 90 + 232 + + + 68 + 269 + + + + + checkBox_ShowDisplacement + toggled(bool) + spinBox_DisplacementFactor + setEnabled(bool) + + + 112 + 240 + + + 124 + 269 + + + + + checkBox_ShowDisplacement + toggled(bool) + label_7 + setEnabled(bool) + + + 95 + 238 + + + 86 + 309 + + + + + checkBox_ShowDisplacement + toggled(bool) + spinBox_SliderFactor + setEnabled(bool) + + + 161 + 237 + + + 159 + 302 + + + + + checkBox_ShowDisplacement + toggled(bool) + horizontalScrollBar_Factor + setEnabled(bool) + + + 48 + 241 + + + 36 + 345 + + + +