There is a QScrollArea . In it you need to shove the n-th number of widgets so that everything is scrolled when in need. I tried to shove the layout using setLayout() . Widgets are thrust into it, but not scrolled. As far as I understand, a widget should be placed there, inside which you can already insert the same layout . Is it that way or can it be made more elegantly?
My suggestion:
QScrollArea scroll = new QScrollArea; QWidget* widget = new QWidget; QVBoxLayout* inside = new QVBoxLayout; widget->setLayout(inside); scroll->setWidget(widget);