I\'m trying to make a custom widget, which is basically a bunch of textedits with a single vertical scroll bar on the right. To keep widget size determined, I have to find a
int w = qApp->style()->pixelMetric(QStyle::PM_ScrollBarExtent);