QSlider as QStyledItemDelegate: moving slider requires additional mouseclick
-
Hello,
I have a QTableView where I have set an QSilder as an delegate.
I Have also implemented the paint() event so the slider is always visible.Now when I want to start editing I can click into the slider-Cell and afterwards move the slider. However this feels unnatural, since normally you can just grab a slider and move it immediately without clicking on it first.
So is there a way the slider can be grabbed directly from the first click?
I've tried to use setSliderDown(true); in the showEvent, but that does not change anything) -
@gde23 said in QSlider as QStyledItemDelegate: moving slider requires additional mouseclick:
So is there a way the slider can be grabbed directly from the first click?
Currently not, no - the first click is the edit trigger.