From 54d305a88a21775863d942129a0e9e772674d1b4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 21 Sep 2016 13:25:05 +0200 Subject: filter/accela: make most slider limits larger Reported-by: @Emton who later deleted his message Issue: #454 --- filter-accela/accela-settings.hpp | 12 +++--- filter-accela/ftnoir_accela_filtercontrols.ui | 62 +++++++++++++++------------ 2 files changed, 40 insertions(+), 34 deletions(-) diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp index 9f0af413..27089199 100644 --- a/filter-accela/accela-settings.hpp +++ b/filter-accela/accela-settings.hpp @@ -50,11 +50,11 @@ struct settings_accela : opts value rot_nonlinearity; settings_accela() : opts("accela-sliders"), - rot_sensitivity(b, "rotation-sensitivity", slider_value(1.8, .05, 3)), - trans_sensitivity(b, "translation-sensitivity", slider_value(1.8, .05, 3)), - rot_deadzone(b, "rotation-deadzone", slider_value(0, 0, .5)), - trans_deadzone(b, "translation-deadzone", slider_value(0, 0, .5)), - ewma(b, "ewma", slider_value(0, 0, 15)), - rot_nonlinearity(b, "rotation-nonlinearity", slider_value(1, 1, 1.75)) + rot_sensitivity(b, "rotation-sensitivity", slider_value(1.8, .05, 5)), + trans_sensitivity(b, "translation-sensitivity", slider_value(1.8, .05, 4)), + rot_deadzone(b, "rotation-deadzone", slider_value(0, 0, 2)), + trans_deadzone(b, "translation-deadzone", slider_value(0, 0, 1)), + ewma(b, "ewma", slider_value(0, 0, 30)), + rot_nonlinearity(b, "rotation-nonlinearity", slider_value(1, 1, 2)) {} }; diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui index 246a9ba0..42ff24d9 100644 --- a/filter-accela/ftnoir_accela_filtercontrols.ui +++ b/filter-accela/ftnoir_accela_filtercontrols.ui @@ -10,7 +10,7 @@ 0 0 550 - 408 + 412 @@ -126,7 +126,7 @@ 0 - 30 + 60 3 @@ -138,7 +138,7 @@ QSlider::TicksAbove - 25 + 5 @@ -195,7 +195,7 @@ 0 - 295 + 495 15 @@ -207,7 +207,7 @@ QSlider::TicksAbove - 25 + 50 @@ -237,7 +237,7 @@ 0 - 50 + 200 5 @@ -294,33 +294,20 @@ - - + + 0 - 295 + 100 - 15 + 5 Qt::Horizontal - - QSlider::TicksAbove - - - 25 - - - - - - - Deadzone - @@ -336,20 +323,33 @@ - - + + + + Deadzone + + + + + 0 - 50 + 395 - 5 + 15 Qt::Horizontal + + QSlider::TicksAbove + + + 40 + @@ -373,7 +373,7 @@ 0 - 15 + 20 2 @@ -384,6 +384,12 @@ Qt::Horizontal + + QSlider::TicksAbove + + + 3 + -- cgit v1.2.3