Gotcha !
Now you left with 3 more options.
1. Use QStyle and hide the sub control QStyle::SC_ScrollBarSlider.
2. Use StyleSheet and hide the handle, something like this:
3. Subclass QScrollBar and stop the painting of slider.QScrollBar::handle:horizontal {
width: 0px;
height: 0px;
}
StyleSheet option is easiest.![]()
Bookmarks