I have a QVBoxLayout which contains content wide enough to require a horizontal scrollbar. I want to be able to set the viewable area (effectively the equivalent of scrolling via the scrollbar) with code.
Nothing within the documentation strikes me as able to do this - and I have not been able to easily find ways to retrieve the scrollbar and modify it directly, either.
How can I modify the viewed area of a QVBoxLayout with content larger than the size of the layout?