How to make resizeable menu bar like this?
i.e move some QMenu_s down, according the window size.
Is this possible?
I called QMenuBar::adjustSize() but without result.
adjustSize()has nothing to do here. There's no direct support for multiline menus in QMenuBar.
You would have to override the resize event and add/remove actions on the fly.
Another option is to create your own layout and add buttons (make them flat and give them menus) instead of actions. See the Flow Layout Example for more details.
To be honest both these options are awful.
Thank you for information