Quote Originally Posted by tuli View Post
Ah I understand now. Thank you. Is this a common pattern or is it better to allocate one at runtime with "new QScrollBar()" ?
Child widgets are usually allocated on the heap.
Keeps the headers clean from includes that are internals to the parent widget.

Cheers,
_