Hi, I have developed an application with a main QWidget, which contains other controls. I have declared it like this:

myWindow = new QWidget(0, "mainWindow");
myWindow->show();
myWindow->setWindowTitle("Window Title");

The widget is resizable, and how'd like to have scrollbars appear when it's size is reduced. I tried to use QScrollArea without success (also Googled but couldn't find a simple example).

Could somebody please give me a hint? Thanks