I tried to use it but couldn't get it scrolling I dragged the scrollarea to mainwindow, resized it to fill almost the whole mainwindow and then cut + pasted my elements inside of it, but the damn area won't scroll even the elements goes below the scrollarea. I also tried to scretch the scrollarea to be longer than my mainwindow but still didn't scroll.
ui->yourScrollArea->setWidget(ui->yourWidget);