How can one hide the scrollbars in a QScrollArea? Currently I use the hide() method on the scrollbars returned by QScrollArea::horizontalScro
QScrollArea
hide()
QScrollArea::horizontalScro
From Qt documents for scrollContentsBy():
scrollContentsBy()
Calling this function in order to scroll programmatically is an error, use the scroll bars instead (e.g. by calling QScrollBar::setValue() directly).