mbasaglia / Qt-Color-Widgets

Color wheel widget and dialog for Qt
147 stars 54 forks source link

Hue/gradient sliders change color on click #31

Closed caryoscelus closed 7 years ago

caryoscelus commented 7 years ago

Currently they use the default behaviour for slider, that is scroll in the direction of click, which is pretty counter-intuitive and inconvenient for color choosing. Better behaviour would be to immediately switch to position under mouse cursor (same as color wheel).

mbasaglia commented 7 years ago

I agree with this. Currently we are using the built-in QSlider input handling. If the override this, we'll need to make sure every case is handled correctly (eg: horizontal/vertical etc).