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
I've also found
vsb->sliderRect().width();
which happens to be correct, but it looks bad in the code, as I have no interest in slider per se.
int w = qApp->style()->pixelMetric(QStyle::PM_ScrollBarExtent);