Quote Originally Posted by kalos80 View Post
I do not know how to compute the size of the unknown elements
The elements are drawn according to the style. You can query the active style for the size. It's possible that you can query for the complete size you need. Just take a look at what QStyle offers.