Hi all !
I've added a QMenuBar inside a QToolBar and I want to set its size policy to constrain the menubar to have the necessary size to visualize all the QMenu without truncate any menu.
With the setSizePolicy I can control the horizontal and vertical policy but I don't know how to retrieve the minimum size (to set in the SizeHint method) that visualize all the items.
Any suggestions ?

Thanks,

Angelo