I apologize for my English, since this first message in English.

There's a certain analog of the playlist in a videowidget.
Qt Code:
  1. scrollArea = new QScrollArea();
  2. scrollAreaWidgetContents = new QWidget();
  3. scrollArea->setWidget(scrollAreaWidgetContents);
To copy to clipboard, switch view to plain text mode 

After that I add in layout of scrollAreaWidgetContents (QVBoxLayout) many widgets.
How to do so that QScrollArea it was scrolled to necessary to me widget?

While I do so:
Qt Code:
  1. MyWidget *selectedWidget = findWidget(id);
  2. selectedWidget->mark();
  3. _ui->scrollArea->ensureWidgetVisible(selectedWidget , 0, 0);
To copy to clipboard, switch view to plain text mode 

After that necessary widget became selected (after mark()), but QScrollArea to it it was not scrolled.